diff --git a/line.py b/line.py index 5d34279..5ae3752 100644 --- a/line.py +++ b/line.py @@ -197,7 +197,7 @@ class Line(SecondCurrencyMixin, MemCacheIndexMx, Workflow, ModelSQL, ModelView): state = fields.Selection( string='State', required=True, readonly=True, - select=True, selection=sel_linetype) + select=True, selection=sel_linestate) state_string = state.translated('state') state_cashbook = fields.Function(fields.Selection( string='State of Cashbook',