traslate older_adult field and add in report

This commit is contained in:
Elvis 2023-11-27 14:48:31 -05:00
parent e8b31acd6c
commit a06b55adc7
3 changed files with 5 additions and 6 deletions

View File

@ -213,6 +213,7 @@ class CustomerService(metaclass=PoolMeta):
nursing_mother = fields.Selection(OPTION_SELECT, 'Nursing Mother', states={'required': False})
older_adult = fields.Selection(OPTION_SELECT, 'Older Adult',
states={'required': False})
older_adult_string = older_adult.translated('older_adult')
current_risk = fields.Function(fields.Char('Current Risk'), 'get_current_risk',
searcher='search_current_risk')

Binary file not shown.

View File

@ -322,6 +322,10 @@ msgctxt "field:party.party,affiliation_state:"
msgid "Affiliation State"
msgstr ""
msgctxt "field:party.party,bank_account_type_string:"
msgid "Bank Account Type String"
msgstr ""
msgctxt "field:party.party,city_attention:"
msgid "City Attention"
msgstr ""
@ -503,32 +507,26 @@ msgctxt "selection:crm.customer_service,media:"
msgid "Supersalud"
msgstr ""
#, fuzzy
msgctxt "selection:crm.customer_service,nursing_mother:"
msgid "N.A"
msgstr "N.A"
#, fuzzy
msgctxt "selection:crm.customer_service,nursing_mother:"
msgid "No"
msgstr "No"
#, fuzzy
msgctxt "selection:crm.customer_service,nursing_mother:"
msgid "Yes"
msgstr "Si"
#, fuzzy
msgctxt "selection:crm.customer_service,older_adult:"
msgid "N.A"
msgstr "N.A"
#, fuzzy
msgctxt "selection:crm.customer_service,older_adult:"
msgid "No"
msgstr "No"
#, fuzzy
msgctxt "selection:crm.customer_service,older_adult:"
msgid "Yes"
msgstr "Si"