|
@@ -1,25 +1,16 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<openerp>
|
|
|
<data>
|
|
|
- <record id="partner_form_buttons" model="ir.ui.view">
|
|
|
- <field name="name">partner_form_buttons</field>
|
|
|
+ <record id="view_partner_form" model="ir.ui.view">
|
|
|
+ <field name="name">view_partner_form</field>
|
|
|
<field name="model">res.partner</field>
|
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
|
- <field name="priority" eval="50"/>
|
|
|
<field name="arch" type="xml">
|
|
|
- <xpath expr="//button[@name='schedule_meeting']" position="attributes">
|
|
|
- <attribute name="invisible">1</attribute>
|
|
|
- </xpath>
|
|
|
- <xpath expr="//button[@name='%(crm.crm_case_categ_phone_incoming0)d']" position="attributes">
|
|
|
- <attribute name="invisible">1</attribute>
|
|
|
- </xpath>
|
|
|
- <xpath expr="//button[@name='%(crm.crm_case_categ_phone_incoming0)d']" position="attributes">
|
|
|
- <attribute name="invisible">1</attribute>
|
|
|
- </xpath>
|
|
|
+
|
|
|
<xpath expr="//field[@name='fax']" position="attributes">
|
|
|
<attribute name="invisible">1</attribute>
|
|
|
</xpath>
|
|
|
- <notebook>
|
|
|
+ <xpath expr="//notebook[@colspan='4']" position="inside">
|
|
|
<page string="Historial Tareas de CRM">
|
|
|
<field name="task_ids" widget="many2one_clickable">
|
|
|
<tree editable="top" colors="red:expired_date == True and state == 'pending';gray:state == 'cancel';green:state == 'pending'">
|
|
@@ -28,7 +19,7 @@
|
|
|
<field name="user_id" required="True"/>
|
|
|
<field name="date_action_next"/>
|
|
|
<field name="state"/>
|
|
|
- <field name="expired_date" invisible='1'/>
|
|
|
+ <field name="expired_date" invisible="1"/>
|
|
|
<field name="description"/>
|
|
|
|
|
|
<button name="action_done" string="Realizado" type="object" icon="gtk-apply" attrs="{'invisible':[('state','=','done')]}"/>
|
|
@@ -38,11 +29,43 @@
|
|
|
</tree>
|
|
|
</field>
|
|
|
</page>
|
|
|
- </notebook>
|
|
|
- <group col="3" position="inside">
|
|
|
- <field name="instagram"/>
|
|
|
- <button name="goto_instagram" string="Ir" type="object"/>
|
|
|
- </group>
|
|
|
+
|
|
|
+ </xpath>
|
|
|
+
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <record id="view_partner_social_form1" model="ir.ui.view">
|
|
|
+ <field name="name">view_partner_social_form1</field>
|
|
|
+ <field name="model">res.partner</field>
|
|
|
+ <field name="inherit_id" ref="partner_social_fields.view_partner_social_form1"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <group col="3" position="inside">
|
|
|
+ <field name="instagram"/>
|
|
|
+ <button name="goto_instagram" string="Ir" type="object"/>
|
|
|
+ </group>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <record id="view_partners_form_crm1" model="ir.ui.view">
|
|
|
+ <field name="name">view_partners_form_crm1</field>
|
|
|
+ <field name="model">res.partner</field>
|
|
|
+ <field name="inherit_id" ref="crm.view_partners_form_crm1"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <xpath expr="//button[@name='schedule_meeting']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <record id="view_partners_form_crm_calls" model="ir.ui.view">
|
|
|
+ <field name="name">view_partners_form_crm_calls</field>
|
|
|
+ <field name="model">res.partner</field>
|
|
|
+ <field name="inherit_id" ref="crm.view_partners_form_crm_calls"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <xpath expr="//button[@name='%(crm.crm_case_categ_phone_incoming0)d']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
</field>
|
|
|
</record>
|
|
|
</data>
|