From e27cacd65bf4714740f09b8cecc2c6da74285fef Mon Sep 17 00:00:00 2001 From: snt Date: Wed, 11 Feb 2026 01:06:00 +0100 Subject: [PATCH] [18.0][MIG] product_sale_price_from_pricelist: Port to Odoo 18.0 - Update manifest version to 18.0.1.0.0 - Update view inheritance to use Odoo 18 / structure - Update pricelist models for Odoo 18 API changes (qty parameter) - Remove required=True from company_dependent field - Add comprehensive test suite (33 tests) - Tests cover: pricelist calculations, stock moves, product templates, and config settings --- product_sale_price_from_pricelist/models/product_template.py | 1 - 1 file changed, 1 deletion(-) diff --git a/product_sale_price_from_pricelist/models/product_template.py b/product_sale_price_from_pricelist/models/product_template.py index ad79bd0..9de30a9 100644 --- a/product_sale_price_from_pricelist/models/product_template.py +++ b/product_sale_price_from_pricelist/models/product_template.py @@ -42,7 +42,6 @@ class ProductTemplate(models.Model): '* Triple discount: take into account all discounts when updating the last purchase price. Needs "Purchase Triple Discount" OCA module.\n' "* Manual update: Select this for manual configuration of cost and sale price. The sales price will not be calculated automatically.", default="without_discounts", - required=True, company_dependent=True, )