Add depends on Button

issue6919
review40811002
This commit is contained in:
Sergi Almacellas Abellana committed 2018-02-19 11:39:07 +01:00
1 parent cf61c217c7
commit fb9cb785e8
1 file changed
+1
+1
View File
@@ -20,6 +20,7 @@ class Production:
'split_wizard': {
'invisible': (~Eval('state').in_(['request', 'draft'])
| ~Eval('bom') | ~Eval('quantity', 0)),
'depends': ['state', 'bom', 'quantity'],
},
})