Update domain filter when check shipments for modula, not take the shipemnts with module = true

This commit is contained in:
Bernat Brunet Torruella 2018-09-21 09:45:35 +02:00
parent 0d97f05a50
commit 60828dba27
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,7 @@ class ShipmentOut(metaclass=PoolMeta):
domain = [
('state', '=', 'assigned'),
('systemlogics_modula', '=', False),
]
if args:
domain.append(
@ -449,6 +450,7 @@ class ShipmentOutSystemlogicsModulaCheckStart(ModelView):
active_ids = Transaction().context.get('active_ids', [])
domain = [
('state', '=', 'assigned'),
('systemlogics_modula', '=', False),
]
if active_ids:
domain.append(