Problem Description
I am experiencing an issue with the default pricelist behavior in Odoo 16. Specifically, when a product is not found in the pricelist, Odoo is incorrectly adding the margin specified in the pricelist to the product's sales price (list price). According to my understanding, if a product is not found in the pricelist, Odoo should fetch the sales price without applying any additional margin.
Setup Details
- Odoo Version: 16
- Pricelists:
- NIV: Contains cost prices for products.
- Retail: Based on the NIV pricelist with an added margin. Conditions: Apply on: All products
Steps to Reproduce
- Create a product that is not listed in the NIV pricelist.
- Create a pricelist Retail based on the NIV pricelist with a margin.
- Create a repair order and select the Retail pricelist.
- Add the product to the repair order.
Expected Behavior
If the product is not found in the selected pricelist Retail, Odoo should fetch the product's sales price (list price) without adding any additional margin.
Actual Behavior
If the product is not found in the selected pricelist Retail, Odoo fetches the product's sales price (list price) and incorrectly adds the margin specified in the pricelist.
Additional Information
- The issue persists even after ensuring that the product is not listed in the NIV pricelist.
- The pricelists are correctly set up to be based on the NIV pricelist with a margin.
Questions
- Is this the expected behavior for Odoo 16 pricelists, or am I missing something in the configuration?
- How can I ensure that the sales price (list price) is used without adding the margin if the product is not found in the pricelist?
Any guidance or suggestions on resolving this issue would be greatly appreciated. Thank you!