Internal shipment from_location domain should be child_of
Since there is assignation on internal shipment the from_location could be any children of main location. issue3994 review13361002
This commit is contained in:
1 parent
c0545376c4
commit
1b654c08ce
1 file changed
+2
-1
+2
-1
@@ -1808,7 +1808,8 @@ class ShipmentInternal(Workflow, ModelSQL, ModelView):
|
||||
| ~Eval('from_location') | ~Eval('to_location')),
|
||||
},
|
||||
domain=[
|
||||
('from_location', '=', Eval('from_location')),
|
||||
('from_location', 'child_of', [Eval('from_location', -1)],
|
||||
'parent'),
|
||||
('to_location', '=', Eval('to_location')),
|
||||
('company', '=', Eval('company')),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user