line: party nicht mehr required, form optimiert
This commit is contained in:
parent
a40106a734
commit
50c3ef04bc
2 changed files with 10 additions and 10 deletions
1
line.py
1
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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue