12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?xml version="1.0"?>
- <openerp>
- <data>
- <record id="res_partner_only_form_view" model="ir.ui.view">
- <field name="name">fields_security.form</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="base.view_partner_form"/>
- <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
- <field name="arch" type="xml">
- <field name="fax" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="ref" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="lang" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="date" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- </field>
- </record>
- <record id="res_partner_email_form_view" model="ir.ui.view">
- <field name="name">fields_security.email.form</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="email_template.res_partner_opt_out_form"/>
- <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
- <field name="arch" type="xml">
- <field name="opt_out" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- </field>
- </record>
- <record id="res_partner_notify_email_form_view" model="ir.ui.view">
- <field name="name">fields_security.notify.email.form</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="mail.view_emails_partner_info_form"/>
- <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
- <field name="arch" type="xml">
- <field name="notify_email" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="message_follower_ids" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- </field>
- </record>
- <record id="res_partner_account_form_view" model="ir.ui.view">
- <field name="name">fields_security.account.form</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="account.view_partner_property_form"/>
- <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
- <field name="arch" type="xml">
- <field name="property_account_position" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="property_account_receivable" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="credit_limit" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="bank_ids" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="last_reconciliation_date" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="property_account_payable" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|