[IMP] base: contacts email and phone clickable
Purpose of this task is, Before this task, the customer was able to click on on the email of a contact from the res.partner view. But, he wasn't able to click on this same email when the modal of a contact was open. For the phone it's the opposite. You can't click on the phone from the res.partner view but well from the contact's modal. So, I made both the fields clickable in both (res.partner view and contact's modal) Task ID: 1965730 Closes: #32586 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -326,8 +326,8 @@
|
||||
<field t-if="record.state_id.raw_value" name="state_id"/>
|
||||
<field name="country_id"/>
|
||||
</div>
|
||||
<div t-if="record.phone.raw_value">Phone: <field name="phone"/></div>
|
||||
<div t-if="record.mobile.raw_value">Mobile: <field name="mobile"/></div>
|
||||
<div t-if="record.phone.raw_value">Phone: <field name="phone" widget="phone"/></div>
|
||||
<div t-if="record.mobile.raw_value">Mobile: <field name="mobile" widget="phone"/></div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
@@ -362,7 +362,7 @@
|
||||
<field name="comment" placeholder="Internal notes..."/>
|
||||
</group>
|
||||
<group colspan="5">
|
||||
<field name="email"/>
|
||||
<field name="email" widget="email"/>
|
||||
<field name="phone" widget="phone"/>
|
||||
<field name="mobile" widget="phone"/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user