From fb9cb785e85019a603574f062ffe7b47871b7a68 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Mon, 19 Feb 2018 11:39:07 +0100 Subject: [PATCH] Add depends on Button issue6919 review40811002 --- production.py | 1 + 1 file changed, 1 insertion(+) diff --git a/production.py b/production.py index b01e016801..8b3858ef74 100644 --- a/production.py +++ b/production.py @@ -20,6 +20,7 @@ class Production: 'split_wizard': { 'invisible': (~Eval('state').in_(['request', 'draft']) | ~Eval('bom') | ~Eval('quantity', 0)), + 'depends': ['state', 'bom', 'quantity'], }, })