changeset b0bc522220b8 in modules/stock:6.4
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=b0bc522220b8
description:
        Require unit price for return move from customer

        issue11733
        review429401003
        (grafted from 31463a48b01b262e2aa7dcb099ad3d9c245c1e3c)
diffstat:

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

diffs (12 lines):

diff -r 1a3a19d6a29f -r b0bc522220b8 move.py
--- a/move.py   Wed Sep 28 09:47:03 2022 +0200
+++ b/move.py   Thu Sep 29 18:20:08 2022 +0200
@@ -448,7 +448,7 @@
             return True
         if from_type in {'storage', 'drop', 'view'} and to_type == 'supplier':
             return True
-        if from_type == 'customer' and to_type == {'storage', 'drop', 'view'}:
+        if from_type == 'customer' and to_type in {'storage', 'drop', 'view'}:
             return True
         return False
 

Reply via email to