picking_add_multiple.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="search_barcode_picking_view">
  5. <field name="name">search.barcode.picking.form</field>
  6. <field name="model">search.barcode.picking</field>
  7. <field name="arch" type="xml">
  8. <form string="Add Multiple">
  9. <group>
  10. <field name='product_code' />
  11. </group>
  12. <group>
  13. <field name="products_ids" nolabel='1'>
  14. <tree string="Product Variants">
  15. <field name="factory_reference"/>
  16. <field name="factory_barcode"/>
  17. <field name="product_tmpl_id"/>
  18. <field name="attribute_value_ids" widget="many2many_tags"/>
  19. </tree>
  20. </field>
  21. </group>
  22. <footer>
  23. <button name="add_multiple" type="object" class="oe_highlight" string="Aceptar"/>
  24. </footer>
  25. </form>
  26. </field>
  27. </record>
  28. <record model="ir.actions.act_window" id="action_purchase_add_multiple">
  29. <field name="name">Adicionar multiples productos</field>
  30. <field name="res_model">search.barcode.picking</field>
  31. <field name="view_type">form</field>
  32. <field name="view_mode">form</field>
  33. <field name="view_id" ref="search_barcode_picking_view"/>
  34. <field name="target">new</field>
  35. </record>
  36. </data>
  37. </openerp>