mrp_production.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="mrp_production_ubicacion_form_view" model="ir.ui.view">
  5. <field name="name">MRP con Ubicación Extra</field>
  6. <field name="model">mrp.production</field>
  7. <field name="inherit_id" ref="mrp.mrp_production_form_view" />
  8. <field name="arch" type="xml">
  9. <field name="origin" position="after">
  10. <field name="mrp_ubicacion_id" string="Ubicación Extra"/>
  11. </field>
  12. </field>
  13. </record>
  14. <record id="mrp_production_ubicacion_tree_view" model="ir.ui.view">
  15. <field name="name">MRP con Ubicación Extra</field>
  16. <field name="model">mrp.production</field>
  17. <field name="inherit_id" ref="mrp.mrp_production_tree_view"/>
  18. <field name="arch" type="xml">
  19. <field name="date_planned" position="after">
  20. <field name="mrp_ubicacion_id" string="Ubicación Extra"/>
  21. </field>
  22. </field>
  23. </record>
  24. <record id="mrp_production_ubicacion_info_search_view" model="ir.ui.view">
  25. <field name="name">MRP Production con Ubicación Extra</field>
  26. <field name="model">mrp.production</field>
  27. <field name="inherit_id" ref="mrp.view_mrp_production_filter" />
  28. <field name="arch" type="xml">
  29. <field name="product_id" position="after">
  30. <field name="mrp_ubicacion_id" />
  31. </field>
  32. <group position="inside">
  33. <filter string="Ubicación Extra" icon="terp-accessories-archiver"
  34. domain="[]" context="{'group_by':'mrp_ubicacion_id'}" />
  35. </group>
  36. </field>
  37. </record>
  38. </data>
  39. </openerp>