res_partner.xml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="res_partner_only_form_view" model="ir.ui.view">
  5. <field name="name">fields_security.form</field>
  6. <field name="model">res.partner</field>
  7. <field name="inherit_id" ref="base.view_partner_form"/>
  8. <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
  9. <field name="arch" type="xml">
  10. <field name="fax" position="attributes">
  11. <attribute name="invisible">1</attribute>
  12. </field>
  13. <field name="ref" position="attributes">
  14. <attribute name="invisible">1</attribute>
  15. </field>
  16. <field name="lang" position="attributes">
  17. <attribute name="invisible">1</attribute>
  18. </field>
  19. <field name="date" position="attributes">
  20. <attribute name="invisible">1</attribute>
  21. </field>
  22. </field>
  23. </record>
  24. <record id="res_partner_email_form_view" model="ir.ui.view">
  25. <field name="name">fields_security.email.form</field>
  26. <field name="model">res.partner</field>
  27. <field name="inherit_id" ref="email_template.res_partner_opt_out_form"/>
  28. <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
  29. <field name="arch" type="xml">
  30. <field name="opt_out" position="attributes">
  31. <attribute name="invisible">1</attribute>
  32. </field>
  33. </field>
  34. </record>
  35. <record id="res_partner_notify_email_form_view" model="ir.ui.view">
  36. <field name="name">fields_security.notify.email.form</field>
  37. <field name="model">res.partner</field>
  38. <field name="inherit_id" ref="mail.view_emails_partner_info_form"/>
  39. <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
  40. <field name="arch" type="xml">
  41. <field name="notify_email" position="attributes">
  42. <attribute name="invisible">1</attribute>
  43. </field>
  44. <field name="message_follower_ids" position="attributes">
  45. <attribute name="invisible">1</attribute>
  46. </field>
  47. </field>
  48. </record>
  49. <record id="res_partner_account_form_view" model="ir.ui.view">
  50. <field name="name">fields_security.account.form</field>
  51. <field name="model">res.partner</field>
  52. <field name="inherit_id" ref="account.view_partner_property_form"/>
  53. <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
  54. <field name="arch" type="xml">
  55. <field name="property_account_position" position="attributes">
  56. <attribute name="invisible">1</attribute>
  57. </field>
  58. <field name="property_account_receivable" position="attributes">
  59. <attribute name="invisible">1</attribute>
  60. </field>
  61. <field name="credit_limit" position="attributes">
  62. <attribute name="invisible">1</attribute>
  63. </field>
  64. <field name="bank_ids" position="attributes">
  65. <attribute name="invisible">1</attribute>
  66. </field>
  67. <field name="last_reconciliation_date" position="attributes">
  68. <attribute name="invisible">1</attribute>
  69. </field>
  70. <field name="property_account_payable" position="attributes">
  71. <attribute name="invisible">1</attribute>
  72. </field>
  73. </field>
  74. </record>
  75. </data>
  76. </openerp>