Make supplier fields are not visible for supplier to supplier moves
issue6436 review36321002
This commit is contained in:
1 parent
f510a6b963
commit
dc88413648
1 file changed
+2
@@ -273,6 +273,8 @@ class Move:
|
||||
def on_change_with_purchase_visible(self, name=None):
|
||||
if self.from_location:
|
||||
if self.from_location.type == 'supplier':
|
||||
if self.to_location and self.to_location == 'supplier':
|
||||
return False
|
||||
return True
|
||||
elif self.to_location:
|
||||
if self.to_location.type == 'supplier':
|
||||
|
||||
Reference in new issue
Block a user