mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-25 06:32:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="crm_lead_view_form" model="ir.ui.view">
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="inherit_id" ref="crm.crm_lead_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath
|
||||
expr="//group/group[@name='lead_partner']/field[@name='partner_id']"
|
||||
position="after"
|
||||
>
|
||||
<label for="vat" class="oe_inline" />
|
||||
<div class="o_row o_row_readonly">
|
||||
<field name="partner_vat_update" invisible="1" />
|
||||
<field name="vat" />
|
||||
<span
|
||||
class="fa fa-exclamation-triangle text-warning oe_edit_only"
|
||||
title="By saving this change, the customer vat number will also be updated."
|
||||
attrs="{'invisible': [('partner_vat_update', '=', False)]}"
|
||||
/>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="//group/group[@name='opportunity_partner']/field[@name='partner_id']"
|
||||
position="after"
|
||||
>
|
||||
<label for="vat" class="oe_inline" />
|
||||
<div class="o_row o_row_readonly">
|
||||
<field name="partner_vat_update" invisible="1" />
|
||||
<field name="vat" />
|
||||
<span
|
||||
class="fa fa-exclamation-triangle text-warning oe_edit_only"
|
||||
title="By saving this change, the customer vat number will also be updated."
|
||||
attrs="{'invisible': [('partner_vat_update', '=', False)]}"
|
||||
/>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue