[FIX] product_pricelist_total_margin: Change field string to avoid redundancy

- Change margin_type string from 'Margin Type' to 'Calculation Method'
- Fixes pylint warning W8113 (attribute-string-redundant)
This commit is contained in:
snt 2026-02-21 18:55:00 +01:00
parent 0f239601ce
commit 55406ca22d

View file

@ -28,7 +28,7 @@ class ProductPricelistItem(models.Model):
("markup", "Markup (on cost)"),
("margin", "Commercial Margin (on PVP)"),
],
string="Margin Type",
string="Calculation Method",
default="markup",
help="Type of margin calculation:\n"
"- Markup: PVP = Cost × (1 + markup%). Margin is calculated on cost.\n"