|
@ -62,6 +62,12 @@ |
|
|
<field name="domain">[('recurring_template', '!=', False)]</field> |
|
|
<field name="domain">[('recurring_template', '!=', False)]</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record id="partnerdraft_action" model="ir.actions.act_window"> |
|
|
|
|
|
<field name="name">Partners draft</field> |
|
|
|
|
|
<field name="res_model">opendons.partnerdraft</field> |
|
|
|
|
|
<field name="view_mode">tree,form</field> |
|
|
|
|
|
<field name="context"></field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="view_partner_form" model="ir.ui.view"> |
|
|
<record id="view_partner_form" model="ir.ui.view"> |
|
|
<field name="name">opendons.res.partner.form</field> |
|
|
<field name="name">opendons.res.partner.form</field> |
|
@ -77,6 +83,7 @@ |
|
|
<field name="firstname" attrs="{'invisible':[('is_company','=',True)]}"/> |
|
|
<field name="firstname" attrs="{'invisible':[('is_company','=',True)]}"/> |
|
|
<field name="id"/> |
|
|
<field name="id"/> |
|
|
<field name="key"/> |
|
|
<field name="key"/> |
|
|
|
|
|
<field name="source"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<field name="parent_id" string="Company Name" |
|
|
<field name="parent_id" string="Company Name" |
|
@ -95,7 +102,7 @@ |
|
|
<xpath expr="/form/sheet/div/div" position="replace"> |
|
|
<xpath expr="/form/sheet/div/div" position="replace"> |
|
|
</xpath> |
|
|
</xpath> |
|
|
|
|
|
|
|
|
<xpath expr="//label[@for='phone']" position="replace"></xpath> |
|
|
|
|
|
|
|
|
<!-- <xpath expr="//label[@for='phone']" position="replace"></xpath> |
|
|
<xpath expr="//field[@name='phone']" position="attributes"> |
|
|
<xpath expr="//field[@name='phone']" position="attributes"> |
|
|
<attribute name="invisible">1</attribute> |
|
|
<attribute name="invisible">1</attribute> |
|
|
</xpath> |
|
|
</xpath> |
|
@ -106,7 +113,7 @@ |
|
|
<xpath expr="//label[@for='email']" position="replace"></xpath> |
|
|
<xpath expr="//label[@for='email']" position="replace"></xpath> |
|
|
<xpath expr="//field[@name='email']" position="attributes"> |
|
|
<xpath expr="//field[@name='email']" position="attributes"> |
|
|
<attribute name="invisible">1</attribute> |
|
|
<attribute name="invisible">1</attribute> |
|
|
</xpath> |
|
|
|
|
|
|
|
|
</xpath> --> |
|
|
|
|
|
|
|
|
<!-- <xpath expr="//page[@name='contact_addresses']" position="replace"> |
|
|
<!-- <xpath expr="//page[@name='contact_addresses']" position="replace"> |
|
|
</xpath> --> |
|
|
</xpath> --> |
|
@ -181,6 +188,9 @@ |
|
|
<menuitem id="opendons_relationship_title_menu" name ="Relationships" |
|
|
<menuitem id="opendons_relationship_title_menu" name ="Relationships" |
|
|
parent="contacts.menu_contacts" sequence="22"/> |
|
|
parent="contacts.menu_contacts" sequence="22"/> |
|
|
|
|
|
|
|
|
|
|
|
<menuitem id="opendons_partnerdraft_title_menu" action="partnerdraft_action" name ="Partners import" |
|
|
|
|
|
parent="contacts.menu_contacts" sequence="4"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</odoo> |
|
|
</odoo> |