update optical_equipment
This commit is contained in:
parent
e718afff36
commit
6d5a6f1d14
3
move.py
3
move.py
@ -69,8 +69,7 @@ class ShipmentOut(metaclass=PoolMeta):
|
|||||||
cls._buttons.update({
|
cls._buttons.update({
|
||||||
'maintenance_initial': {
|
'maintenance_initial': {
|
||||||
'invisible': ((Eval('service_maintenance_initial',True))
|
'invisible': ((Eval('service_maintenance_initial',True))
|
||||||
| (Eval('sale_type').in_(['maintenance', 'replaces']))
|
| (Eval('sale_type').in_(['maintenance', 'replaces'])))}
|
||||||
| (Eval('state') == 'done'))}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
def get_outgoing_moves(self, name):
|
def get_outgoing_moves(self, name):
|
||||||
|
Loading…
Reference in New Issue
Block a user