Add entry translated state field

This commit is contained in:
Sebastián Marró 2019-01-29 18:08:36 -03:00
parent 3c29bd6aa8
commit a868b3e1fa
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ class Entry(Workflow, ModelSQL, ModelView):
('pending', 'Administration pending'),
('closed', 'Closed'),
], 'State', required=True, readonly=True)
state_string = state.translated('state')
ack_report_cache = fields.Binary('Acknowledgment report cache',
readonly=True,
file_id='ack_report_cache_id', store_prefix='ack_report')