odoo/odoo#161531
Created by Andrea Grazioso (agr)
Merged
at ca5bef61ad6d4811342f92f6cd800a78c3f21f23
- label
- odoo-dev:16.0-opw-3815770-fix-agr
- head
- 2c5d0664c64359beae47cc82f2eecbfd31558db7
- target
- 16.0
- merged
- 3 weeks ago by Accounting, Laurent Smet (las)
- forward-ports
- odoo/odoo#164255 targeting master
- odoo/odoo#164250 targeting saas-17.2
- odoo/odoo#164236 targeting saas-17.1
- odoo/odoo#163696 targeting 17.0
- odoo/odoo#163685 targeting saas-16.4
- odoo/odoo#163611 targeting saas-16.3
[FIX] point_of_sale: revert entry sign in tax report
With BE localization
Enable 'Use QR code on ticket' in Settings
Open POS Session
Add a Product with 21% Tax
Pay > Save QR link for later
Close Pos session
Access QR link, generate invoice
Check Accounting>Reporting>Tax Report
Issue: Line '03 - Operations subject to 21% VAT' will account twice
the product amount instead of canceling it
This occurs because when reverting the POS closing entry we create an
entry having amounts with inverted signs and same tax tags. We also need
to set the flag `tax_tag_invert` to ensure the amount correctly
accounted as reverse
opw-3815770
opw-3821017