[FIX] product: import pricelist
When importing a file to populate a pricelist applying to a product category, it is necessary to add a leading space to ` Product Category` name to match with `2_product_category`. We can simply remove it. opw-2271033 closes odoo/odoo#52722 X-original-commit: 11809ee1a12df6b967f03591adb6d11579e3e947 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -408,7 +408,7 @@ class PricelistItem(models.Model):
|
||||
"Expressed in the default unit of measure of the product.")
|
||||
applied_on = fields.Selection([
|
||||
('3_global', 'All Products'),
|
||||
('2_product_category', ' Product Category'),
|
||||
('2_product_category', 'Product Category'),
|
||||
('1_product', 'Product'),
|
||||
('0_product_variant', 'Product Variant')], "Apply On",
|
||||
default='3_global', required=True,
|
||||
|
||||
Reference in New Issue
Block a user