diff --git a/invoice.py b/invoice.py index eb471cd13f..c7a595cda8 100644 --- a/invoice.py +++ b/invoice.py @@ -25,6 +25,7 @@ class Invoice: cls._buttons.update({ 'recall_deposit': { 'invisible': Eval('state') != 'draft', + 'depends': ['state'], }, })