changeset 48e257979e4b in modules/product:default
details: https://hg.tryton.org/modules/product?cmd=changeset&node=48e257979e4b
description:
Support empty list price on product
issue10244
review350341002
diffstat:
CHANGELOG | 1 +
product.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 8757954b39be -r 48e257979e4b CHANGELOG
--- a/CHANGELOG Mon Sep 13 23:29:29 2021 +0200
+++ b/CHANGELOG Mon Sep 13 23:29:56 2021 +0200
@@ -1,3 +1,4 @@
+* Make list price not required on product
* Provide digits from unit of measure
* Allow only fixed cost price as method for service
diff -r 8757954b39be -r 48e257979e4b product.py
--- a/product.py Mon Sep 13 23:29:29 2021 +0200
+++ b/product.py Mon Sep 13 23:29:56 2021 +0200
@@ -74,7 +74,7 @@
help="Check to allow stock moves to be assigned "
"regardless of stock level.")
list_price = fields.MultiValue(fields.Numeric(
- "List Price", required=True, digits=price_digits,
+ "List Price", digits=price_digits,
help="The standard price the product is sold at."))
list_prices = fields.One2Many(
'product.list_price', 'template', "List Prices")