partner_view.xml 1.3 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="view_partner_property_term_form" model="ir.ui.view">
  5. <field name="name">res.partner.account.property.form.inherit</field>
  6. <field name="model">res.partner</field>
  7. <field name="inherit_id" ref="account.view_partner_property_form"/>
  8. <field name="groups_id" eval="[(6, 0, [ref('group_restrict_prices')])]"/>
  9. <field name="arch" type="xml">
  10. <field name="property_payment_term" position="attributes">
  11. <attribute name="readonly">1</attribute>
  12. </field>
  13. </field>
  14. </record>
  15. <record id="view_partner_property_price_list_form" model="ir.ui.view">
  16. <field name="name">res.partner.product.property.form.inherit</field>
  17. <field name="model">res.partner</field>
  18. <field name="inherit_id" ref="product.view_partner_property_form"/>
  19. <field name="groups_id" eval="[(6, 0, [ref('group_restrict_prices')])]"/>
  20. <field name="arch" type="xml">
  21. <field name="property_product_pricelist" position="attributes">
  22. <attribute name="readonly">1</attribute>
  23. </field>
  24. </field>
  25. </record>
  26. </data>
  27. </openerp>