Thursday, October 28, 2021
4 changes · master
Resolved issues and error corrections
This fixes an inconsistency in how a setting for visual effects was interpreted, ensuring it is always handled as a simple on/off value. The change helps avoid unpredictable behavior in the user interface and setup configuration.
Product reports now show the correct price for each product template when different pricelists are used. This prevents customers or staff from seeing the same price repeated incorrectly across products, improving pricing accuracy in reports.
Original PR description
Description of the issue/feature this PR addresses: - Create a report to show price on each template --> Issue: The price is the same -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures sales, purchase, and accounting screens use the correct country-specific VAT when a company or transaction involves a foreign VAT fiscal position. It prevents incorrect tax options and wrong VAT details from appearing on orders and PDF documents, reducing invoicing and compliance errors.
Original PR description
[FIX] account: fiscal positions: filter tax country properly in view In case the address of the company is in a different country as its fiscal country, the taxes available as "source tax" on the fiscal position lines were not the right ones (the country of the address was used to fetch them). [FIX] purchase, sale: filter taxes properly when using a foreign VAT fiscal position Before, when a foreign VAT fiscal position was used on a purchase order or sale order, no filtering was applied on the available taxes. We now make their behavior consistent with the invoices'. [FIX] purchase, sale: display foreign VAT properly on pdf When printing a sale order or a purchase order using a foreign VAT fiscal position, the domestic VAT was always used on the pdf report instead of the foreign one.
This fixes the test setup for Peru electronic invoicing so it uses the correct VAT code. It helps ensure automated checks reflect valid local tax data and reduces the risk of false test failures.