ir_asset_views.xml 1013 B

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="asset_view_form_inherit_website" model="ir.ui.view">
  4. <field name="name">ir.asset.form.inherit.website</field>
  5. <field name="model">ir.asset</field>
  6. <field name="inherit_id" ref="base.asset_view_form"/>
  7. <field name="arch" type="xml">
  8. <field name="directive" position="after">
  9. <field name="website_id" options="{'no_create': True}" groups="website.group_multi_website"/>
  10. </field>
  11. </field>
  12. </record>
  13. <record id="asset_view_tree_inherit_website" model="ir.ui.view">
  14. <field name="name">ir.asset.tree.inherit.website</field>
  15. <field name="model">ir.asset</field>
  16. <field name="inherit_id" ref="base.asset_view_tree"/>
  17. <field name="arch" type="xml">
  18. <field name="bundle" position="after">
  19. <field name="website_id" groups="website.group_multi_website"/>
  20. </field>
  21. </field>
  22. </record>
  23. </odoo>