changeset 75896ad78d6f in modules/stock:6.0
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=75896ad78d6f
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 2ae8fe7d3e0f -r 75896ad78d6f move.py
--- a/move.py   Wed Sep 28 09:47:03 2022 +0200
+++ b/move.py   Thu Sep 29 18:20:08 2022 +0200
@@ -473,7 +473,7 @@
             return True
         if from_type in {'storage', 'drop'} and to_type == 'supplier':
             return True
-        if from_type == 'customer' and to_type == {'storage', 'drop'}:
+        if from_type == 'customer' and to_type in {'storage', 'drop'}:
             return True
         return False
 

Reply via email to