supplier_info_views.xml 595 B

123456789101112131415
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="product_supplierinfo_subcontractor_tree_view" model="ir.ui.view">
  4. <field name="name">product.supplierinfo.subcontractor.tree.view</field>
  5. <field name="model">product.supplierinfo</field>
  6. <field name="inherit_id" ref="product.product_supplierinfo_tree_view"/>
  7. <field name="arch" type="xml">
  8. <xpath expr="//field[@name='partner_id']" position="after">
  9. <field name="is_subcontractor" readonly="1" optional="hide"/>
  10. </xpath>
  11. </field>
  12. </record>
  13. </odoo>