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

        issue11733
        review429401003
diffstat:

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

diffs (12 lines):

diff -r 4ad69cbbe49d -r 31463a48b01b move.py
--- a/move.py   Thu Sep 29 09:08:06 2022 +0200
+++ b/move.py   Thu Sep 29 18:20:08 2022 +0200
@@ -441,7 +441,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