|
|
<?xml version="1.0" encoding="utf-8"?> <odoo>
<record id="view_partner_form_inherit_base" model="ir.ui.view"> <field name="name">res.partner.view.form.inherit</field> <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_partner_form" /> <field name="arch" type="xml"> <h1 position="after"> <field name="ffck_network" /> <label for="ffck_network" /> </h1> <xpath expr="//notebook/page[1]" position="after"> <page name="ffck" string="FFCK" attrs="{'invisible':[('ffck_network','!=',True)]}"> <group name="ffck_main"> <group name="ffck_common" class="o_label_nowrap"> <separator colspan="2" string="Licensee information" attrs="{'invisible':[('is_company','=',True)]}" /> <separator colspan="2" string="Structure information" attrs="{'invisible':[('is_company','=',False)]}" /> <label for="partner_code" string="License code" attrs="{'invisible': [('is_company','=',True)]}" /> <label for="partner_code" string="Structure code" attrs="{'invisible': [('is_company','=',False)]}" /> <field name="partner_code" nolabel="1" attrs="{'readonly':[('partner_code_editable','=',False)],'required':[('partner_code_editable','=',False)]}" /> <field name="partner_code_editable" invisible="1" /> <!-- <field name="partner_code" groups="base.group_no_one" /> --> <field name="partner_scale" attrs="{'invisible': [('is_company','=',False)]}" /> <field name="ffck_structure_type_id" widget="selection" attrs="{'invisible': [('is_company','=',False)]}" /> </group> <group name="ffck_network" string="Network" class="o_label_nowrap" attrs="{'invisible': [('partner_scale', '=', '5')]}"> <field name="ffck_partner_id" /> <field name="crck_partner_id" attrs="{'invisible': [('partner_scale', '=', ['1', '2'])]}" /> <field name="cdck_partner_id" attrs="{'invisible': [('partner_scale', 'not in', ['4', '5'])]}" /> <field name="local_partner_id" attrs="{'invisible': [('partner_scale', '!=', '5')]}" /> </group> </group> <group name="ffck_membership"> <group string="Structure dates"> <field name="first_membership_date" /> </group> </group> </page> </xpath> </field> </record>
<record id="view_res_partner_filter_inherit_base" model="ir.ui.view"> <field name="name">res.partner.view.search.inherit</field> <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_res_partner_filter" /> <field name="arch" type="xml"> <filter name="type_person" position="attributes"> <attribute name="string">Persons</attribute> </filter> <filter name="type_company" position="attributes"> <attribute name="string">Structures</attribute> </filter> <group name="group_by" position="inside"> <separator /> <filter name="partner_scale" string="Partner scale" domain="[]" context="{'group_by' : 'partner_scale'}" /> <filter name="ffck_structure_type" string="Structure type" context="{'group_by' : 'ffck_structure_type_id'}" /> </group> </field> </record>
<menuitem id="ffck_contacts_config_menu" name="FFCK params" parent="contacts.res_partner_menu_config" sequence="4" />
<record id="partner_multi_relation.menu_res_partner_relation" model="ir.ui.menu"> <field name="parent_id" ref="contacts.res_partner_menu_config" /> <field name="sequence">4</field> </record>
</odoo>
|