changeset 02748eec4041 in modules/stock:6.4
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=02748eec4041
description:
        Allow to modify unit_price_updated on closed period

        issue11739
        review418141003
        (grafted from 449fb2bdb0c00f1302f94af1cbf079f71d182da0)
diffstat:

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

diffs (13 lines):

diff -r b0bc522220b8 -r 02748eec4041 move.py
--- a/move.py   Thu Sep 29 18:20:08 2022 +0200
+++ b/move.py   Thu Sep 29 23:42:06 2022 +0200
@@ -308,7 +308,8 @@
             'from_location', 'to_location', 'company', 'currency'])
         cls._deny_modify_done_cancel = (cls._deny_modify_assigned
             | set(['planned_date', 'effective_date', 'state']))
-        cls._allow_modify_closed_period = {'cost_price', 'unit_price'}
+        cls._allow_modify_closed_period = {
+            'cost_price', 'unit_price', 'unit_price_updated'}
 
         t = cls.__table__()
         cls._sql_constraints += [

Reply via email to