diff --git a/line.py b/line.py index 1cc86a3..59de07b 100644 --- a/line.py +++ b/line.py @@ -103,7 +103,6 @@ class Line(Workflow, ModelSQL, ModelView): states={ 'readonly': STATES['readonly'], 'invisible': ~Eval('bookingtype', '').in_(['in', 'out']), - 'required': Eval('bookingtype', '').in_(['in', 'out']), }, depends=DEPENDS+['bookingtype']) payee = fields.Function(fields.Reference(string='Payee', readonly=True, selection=sel_payee), 'on_change_with_payee', searcher='search_payee') diff --git a/view/line_form.xml b/view/line_form.xml index 79d5241..69b25a3 100644 --- a/view/line_form.xml +++ b/view/line_form.xml @@ -23,27 +23,28 @@ full copyright notices and license terms. -->