diff --git a/customer_service.py b/customer_service.py index e1dc500..124afc5 100644 --- a/customer_service.py +++ b/customer_service.py @@ -179,10 +179,18 @@ class CustomerService(metaclass=PoolMeta): ('pendiente', 'Pendiente') ], 'Soporte', states={'required': True} ) - pending = fields.Selection(PENDING, 'Pending', - states={'invisible': - (Eval('support') != 'ok') - }) + # pending = fields.Selection(PENDING, 'Pending', + # states={'invisible': + # (Eval('support') != 'ok') + # }) + pending = fields.MultiSelection(PENDING, 'Pending', + states={ + 'invisible': (Eval('support') != 'ok') + }) + other = fields.Text('Other') + # states={ + # 'invisible': ~Eval('invoice_types', []), + # }, translate=True, depends=['pending'],) detailed_especific_1 = fields.Many2One('list.specialty', 'Detailed Especific 1', states={'required': True}) detailed_especific_2 = fields.Many2One('list.specialty', 'Detailed Especific 2') diff --git a/fiduprevisora.ods b/fiduprevisora.ods index 70089a0..74205d3 100644 Binary files a/fiduprevisora.ods and b/fiduprevisora.ods differ diff --git a/locale/es.po b/locale/es.po index 2b1fb65..6410a44 100644 --- a/locale/es.po +++ b/locale/es.po @@ -122,6 +122,10 @@ msgctxt "field:crm.customer_service,older_adult:" msgid "Older Adult" msgstr "Adulto Mayor" +msgctxt "field:crm.customer_service,other:" +msgid "Other" +msgstr "Otro" + msgctxt "field:crm.customer_service,other_city:" msgid "Other City" msgstr "Otra Ciudad" diff --git a/view/customer_service_form.xml b/view/customer_service_form.xml index 4951538..189bc69 100644 --- a/view/customer_service_form.xml +++ b/view/customer_service_form.xml @@ -96,8 +96,15 @@ this repository contains the full copyright notices and license terms. -->