Limit assign to contextual company
issue11010 review376111002 (grafted from 1f608370cd326df578eb01295582f0004431ee2c) --HG-- branch : 6.0
This commit is contained in:
1 parent
020d90a10c
commit
aa2a969c85
1 file changed
+2
@@ -75,7 +75,9 @@ class ShipmentAssignMixin(ShipmentMixin):
|
||||
def _get_assign_domain(cls):
|
||||
pool = Pool()
|
||||
Date = pool.get('ir.date')
|
||||
context = Transaction().context
|
||||
return [
|
||||
('company', '=', context.get('company')),
|
||||
('state', '=', 'waiting'),
|
||||
('planned_date', '=', Date.today()),
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user