avoinsystems / l10n_fi_invoice

A Finnish invoice template for Odoo
2 stars 5 forks source link

[FEAT] Make Finnish invoice replace default Odoo invoice (#5) #9

Closed aisopuro closed 8 years ago

aisopuro commented 8 years ago

The Finnish invoice was originally designed to be used side-by-side with the original Odoo invoice. However this doesn't make much sense since there are very few if any situations where we want to use the base Odoo invoice instead of the new Finnish one. So we replace the base Odoo invoice template by extending it and overwriting its contents.

We also remove some unnecessary code, since we no longer need to print the Finnish invoice version separately. We undo the changes made in 37b176e56, since the Odoo core report wrapper uses 'o' instead of 'doc'.

Closes #5

Edit:

Fixed merge conflicts caused by merging #8. Used git merge -Xignore-space-change --no-commit 9.0 to merge on the command line, conveniently ignoring whitespace changes.