mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-23 08:12: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,48 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2016 Antiun Ingeniería S.L. - Jairo Llopis
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -->
|
||||
<odoo>
|
||||
<record id="crm_lead_view_form" model="ir.ui.view">
|
||||
<field name="name">Add firstname and lastname</field>
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="inherit_id" ref="crm.crm_lead_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//label[@for='contact_name']" position="attributes">
|
||||
<attribute name="string">Contact Name</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='contact_name']" position="attributes">
|
||||
<attribute name="placeholder">Firstname</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='contact_name']" position="after">
|
||||
<field name="contact_lastname" placeholder="Lastname" />
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="//page[@name='lead']//label[@for='contact_name_page_lead']"
|
||||
position="attributes"
|
||||
>
|
||||
<attribute name="string">Contact Name</attribute>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="//page[@name='lead']//field[@name='contact_name']"
|
||||
position="attributes"
|
||||
>
|
||||
<attribute name="placeholder">Firstname</attribute>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="//page[@name='lead']//field[@name='contact_name']"
|
||||
position="after"
|
||||
>
|
||||
<field name="contact_lastname" placeholder="Lastname" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="quick_create_opportunity_form" model="ir.ui.view">
|
||||
<field name="inherit_id" ref="crm.quick_create_opportunity_form" />
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='contact_name']" position="after">
|
||||
<field name="contact_lastname" invisible="1" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue