odoo/odoo#201181
Created by Ai Lin Zuccarello (aizu)
Closed
- label
- odoo-dev:master-included_taxes_fiscal_position-aizu
- head
- 1ea5ef39ea388647cc41e0f555b3de904bbddae9
odoo/odoo | odoo/enterprise | |
---|---|---|
master | #201181 | #81692 |
[IMP] account, *sale: sale_order/move line unit price computation
Before
Different behavior when:
1. Adding a product to an invoice/sale order -> adding a fiscal position and refreshing taxes: unit price (price_unit) stays the same while tax and price_subtotal adjust depending on other settings.
2. Adding a fiscal position -> adding a product: unit price (price_unit) changes and keeps the same un-taxed price which is based on the original sales price minus the tax set on the product.
Now
Scenario 2 behaves the same as 1, therefore keeping the same unit price when setting a fiscal position before adding a product to an invoice/sale order.
odoo/enterprise/pull/81692