[18.0][MIG] purchase_order_report_hide_tax: Migration to 18.0#95
Conversation
Currently translated at 100.0% (2 of 2 strings) Translation: purchase-reporting-16.0/purchase-reporting-16.0-purchase_order_report_hide_tax Translate-URL: https://translation.odoo-community.org/projects/purchase-reporting-16-0/purchase-reporting-16-0-purchase_order_report_hide_tax/it/
35cde0a to
c44cbe4
Compare
nobuQuartile
left a comment
There was a problem hiding this comment.
Code review and functional review: LGTM
Functional review
Create two tax groups (e.g. Tax 10% and Tax 15%).
Create two purchase taxes and assign each one to its corresponding tax group.
Create Purchase Orders and print them, then check the result:
Case A:
All order lines use Tax 10%
→ The Taxes column should not be displayed in the printed report.
Case B:
Line 1 uses Tax 10%, line 2 uses Tax 15%
→ The Taxes column should be displayed.
Case C:
Enable “Show Tax Column in Purchase Report” on the Tax 10% tax group,
then create a PO where all lines use Tax 10%
→ The Taxes column should be displayed, even though all lines use the same tax group.
yostashiro
left a comment
There was a problem hiding this comment.
Please update the readme (CONFIGURE.md and others) and make the business purpose of the additional feature clear (for our use case, we want to hide the tax column for import transactions only).
c44cbe4 to
aca728b
Compare
a3a624e to
a75e8a1
Compare
…e showing tax column
a75e8a1 to
b81061e
Compare
Gelojr
left a comment
There was a problem hiding this comment.
Great work! @AungKoKoLin1997
The following tests have been performed and validated:
- Test 1: Verified that when all purchase order lines share the same tax group, the tax column is correctly hidden in the report (OK).
- Test 2: Verified that when purchase order lines include taxes from different tax groups, the tax column is correctly displayed in the report (OK).
- Test 3: Verified that enabling “Show Tax Column in Purchase Report” on a tax group forces the tax column to be shown even when all lines share the same tax group (OK).
- Test 4: Verified that section or note lines do not affect the tax column visibility logic and are correctly ignored in the calculation (OK).
PR approved.
|
/ocabot migration purchase_order_report_hide_tax |
|
/ocabot merge patch |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at 44e5d62. Thanks a lot for contributing to OCA. ❤️ |


This PR includes
odoo-module-migrator@qrtl QT6349