1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record model="ir.ui.view" id="dikasa_partner_form">
- <field name="name">dikasa_partner_form</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="base.view_partner_form"/>
- <field name="arch" type="xml">
- <field name="website" position="before">
- <field name="zone_id"/>
- </field>
- <field name="website" position="after">
- <field name="supplier_type" attrs="{'invisible':[('supplier','!=',True)]}"/>
- </field>
- </field>
- </record>
- <record model="ir.ui.view" id="dikasa_partner_form2">
- <field name="name">dikasa_partner_form2</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="account.view_partner_property_form"/>
- <field name="arch" type="xml">
- <field name="credit_limit" position="after">
- <field name="check_limit" />
- <field name="morosidad" />
- <field name="customer_categ"/>
- </field>
- </field>
- </record>
- <!-- TREE VIEW -->
- <record model="ir.ui.view" id="dikasa_partner_tree">
- <field name="name">dikasa_partner_tree</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="base.view_partner_tree"/>
- <field name="arch" type="xml">
- <xpath expr="//tree[@string='Contacts']" position="replace" >
- <tree string="Contacts">
- <field name="display_name"/>
- <field name="ruc"/>
- <field name="function" invisible="1"/>
- <field name="phone"/>
- <field name="email"/>
- <field name="zone_id"/>
- <field name="customer_categ"/>
- <field name="state_id"/>
- <field name="user_id" invisible="1"/>
- <field name="is_company" invisible="1"/>
- <field name="country_id"/>
- <field name="parent_id" invisible="1"/>
- </tree>
- </xpath>
- </field>
- </record>
- </data>
- </openerp>
|