mirror of
https://bitbucket.org/presik/trytonpsk-crm_fiduprevisora.git
synced 2023-12-14 05:33:07 +01:00
add new fields in CustomerService
This commit is contained in:
parent
aa8d07ec79
commit
ecd69d8989
|
@ -179,10 +179,18 @@ class CustomerService(metaclass=PoolMeta):
|
||||||
('pendiente', 'Pendiente')
|
('pendiente', 'Pendiente')
|
||||||
], 'Soporte', states={'required': True}
|
], 'Soporte', states={'required': True}
|
||||||
)
|
)
|
||||||
pending = fields.Selection(PENDING, 'Pending',
|
# pending = fields.Selection(PENDING, 'Pending',
|
||||||
states={'invisible':
|
# states={'invisible':
|
||||||
(Eval('support') != 'ok')
|
# (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 = fields.Many2One('list.specialty',
|
||||||
'Detailed Especific 1', states={'required': True})
|
'Detailed Especific 1', states={'required': True})
|
||||||
detailed_especific_2 = fields.Many2One('list.specialty', 'Detailed Especific 2')
|
detailed_especific_2 = fields.Many2One('list.specialty', 'Detailed Especific 2')
|
||||||
|
|
Binary file not shown.
|
@ -122,6 +122,10 @@ msgctxt "field:crm.customer_service,older_adult:"
|
||||||
msgid "Older Adult"
|
msgid "Older Adult"
|
||||||
msgstr "Adulto Mayor"
|
msgstr "Adulto Mayor"
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,other:"
|
||||||
|
msgid "Other"
|
||||||
|
msgstr "Otro"
|
||||||
|
|
||||||
msgctxt "field:crm.customer_service,other_city:"
|
msgctxt "field:crm.customer_service,other_city:"
|
||||||
msgid "Other City"
|
msgid "Other City"
|
||||||
msgstr "Otra Ciudad"
|
msgstr "Otra Ciudad"
|
||||||
|
|
|
@ -96,8 +96,15 @@ this repository contains the full copyright notices and license terms. -->
|
||||||
<newline/>
|
<newline/>
|
||||||
<label name="support"/>
|
<label name="support"/>
|
||||||
<field name="support"/>
|
<field name="support"/>
|
||||||
|
<newline/>
|
||||||
|
<!-- <label name="pending_multi"/> -->
|
||||||
|
<!-- <field name="pending_multi"/> -->
|
||||||
<label name="pending"/>
|
<label name="pending"/>
|
||||||
<field name="pending"/>
|
<field name="pending"/>
|
||||||
|
<newline/>
|
||||||
|
<label name="other"/>
|
||||||
|
<newline/>
|
||||||
|
<field name="other" colspan="4"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="/form/notebook/page[@id='summary']/field[@name='diagnose']"
|
<xpath expr="/form/notebook/page[@id='summary']/field[@name='diagnose']"
|
||||||
position="replace">
|
position="replace">
|
||||||
|
|
Loading…
Reference in a new issue