mirror of
https://github.com/NaN-tic/trytond-systemlogics_modula.git
synced 2023-12-14 04:32:53 +01:00
Update domain filter when check shipments for modula, not take the shipemnts with module = true
This commit is contained in:
parent
0d97f05a50
commit
60828dba27
2
stock.py
2
stock.py
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue