Add dev comment about readonly send date field

This commit is contained in:
Raimon Esteve 2017-06-23 11:07:03 +02:00
parent f2fdfb4053
commit 6f9d9e6d25
1 changed files with 2 additions and 0 deletions

View File

@ -298,6 +298,8 @@ class SIIReport(Workflow, ModelSQL, ModelView):
'Lines', states={
'readonly': Eval('state') != 'draft',
}, depends=['state'])
# TODO crash GTK client 4.x with widget date in XML view and attribute
# readonly = True. At the moment, use PYSON to readonly field in XML views.
send_date = fields.DateTime('Send date',
states={
'invisible': Eval('state') != 'sent',