Merge lp:~therp-nl/ocb-addons/6.1-lp941817-autocompute_taxes_on_proforma into lp:ocb-addons/6.1
Status: | Merged |
---|---|
Merged at revision: | 6733 |
Proposed branch: | lp:~therp-nl/ocb-addons/6.1-lp941817-autocompute_taxes_on_proforma |
Merge into: | lp:ocb-addons/6.1 |
Diff against target: |
52 lines (+19/-2) 3 files modified
account/account_invoice.py (+17/-0) account/account_invoice_view.xml (+1/-1) account/account_invoice_workflow.xml (+1/-1) |
To merge this branch: | bzr merge lp:~therp-nl/ocb-addons/6.1-lp941817-autocompute_taxes_on_proforma |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | code review, no test | Approve | |
Alexandre Fayolle - camptocamp | code review, no test | Approve | |
Review via email: mp+159168@code.launchpad.net |
Commit message
[FIX] lp:941817, taxes not computed automatically on proforma
Description of the change
In OpenERP 6.1 and 7.0, taxes are not computed automatically in the workflow when a draft invoice becomes a proforma. This can lead to invalid proformas without tax being sent out by the user. This branch triggers the tax calculation from the workflow. Additionally, this branch hides the tax computation button which does have a function anymore after the first change.
The suggested change in https:/
I think this is an important improvement.
Just wondering: why should the 'Compute Taxes' button be needed at all? Shouldn't taxes be automatically be updated whenever an invoice line changes?
Of course with keeping the possibility to add extra taxes, or modify tax lines when there have been rounding errors (as still happens all to frequently).