From b3733c5c7f31b79419167bc27f5be2f286277f61 Mon Sep 17 00:00:00 2001 From: Frederik Jaeckel Date: Wed, 6 Dec 2023 22:06:18 +0100 Subject: [PATCH] fix DEF_NONE --- line.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/line.py b/line.py index 9497e03..51d95cc 100644 --- a/line.py +++ b/line.py @@ -14,9 +14,10 @@ from trytond.i18n import gettext from trytond.report import Report from trytond.transaction import Transaction from trytond.modules.cashbook.line import STATES, DEPENDS -from trytond.modules.cashbook.const import DEF_NONE from .mixin import SecondUomMixin +DEF_NONE = None + STATESQ1 = { 'invisible': And( Eval('feature', '') != 'asset',