Merge lp://staging/~therp-nl/openobject-addons/7.0-lp827649-voucher_tax_inclusive into lp://staging/openobject-addons
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp://staging/~therp-nl/openobject-addons/7.0-lp827649-voucher_tax_inclusive | ||||
Merge into: | lp://staging/openobject-addons | ||||
Diff against target: |
186 lines (+55/-58) 1 file modified
account_voucher/account_voucher.py (+55/-58) |
||||
To merge this branch: | bzr merge lp://staging/~therp-nl/openobject-addons/7.0-lp827649-voucher_tax_inclusive | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+136534@code.staging.launchpad.net |
Description of the change
This branch adds support for using inclusive taxes on sales and purchase vouchers.
Tax is only computed using the account.tax model. As the workflow did not force this, the call to compute_tax() was added to action_
Using an inclusive tax can lead to small rounding differences that were not caught by the manual summing of voucher line amounts, and thus to unbalanced moves. This summing was therefore replaced with a call to account_
Unmerged revisions
- 8143. By Stefan Rijnhart (Opener)
-
[FIX] Indentation
[FIX] Remove domain on inclusive taxes from the voucher's tax - 8142. By Stefan Rijnhart (Opener)
-
[FIX] lp:827649, account_voucher: generate correct move lines using inclusive tax