changeset fcbe3233bc98 in modules/sale_point:default
details: 
https://hg.tryton.org/modules/sale_point?cmd=changeset&node=fcbe3233bc98
description:
        Do not make Gross Price readonly on inactive

        This is done automatically by the client.
diffstat:

 product.py |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r c16b07d666f8 -r fcbe3233bc98 product.py
--- a/product.py        Thu Oct 14 16:33:03 2021 +0200
+++ b/product.py        Sun Oct 17 10:44:08 2021 +0200
@@ -15,9 +15,8 @@
             "Gross Price", digits=price_digits,
             states={
                 'invisible': ~Eval('salable', False),
-                'readonly': ~Eval('active', True),
                 },
-            depends=['salable', 'active'],
+            depends=['salable'],
             help="The price with default tax included."))
     gross_prices = fields.One2Many(
         'product.gross_price', 'template', "Gross Prices")

Reply via email to