sale_order_barcode_view.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="sale_order_barcode_view_form" model="ir.ui.view">
  5. <field name="name">Sale Order Barcode Form</field>
  6. <field name="model">sale.order.barcode</field>
  7. <field name="arch" type="xml">
  8. <form string="Sale Order Barcode Wizard">
  9. <group name="product">
  10. <field name="product_barcode" string="Codigo de barras"/>
  11. <field name="product_id" options='{"no_open": True}' invisible="1" />
  12. <field name="product_name" options='{"no_open": True}' string="Producto" readonly="1"/>
  13. <label for="product_qty" string="Cantidad"/>
  14. <div>
  15. <field name="product_qty" class="oe_inline"/>
  16. <field name="product_uom_id" options='{"no_open": True}' class="oe_inline" invisible="1"/>
  17. </div>
  18. <field name="type" invisible="1"/>
  19. </group>
  20. <footer>
  21. <button name="save" type="object"
  22. class="oe_highlight" string="Guardar y Nuevo"/>
  23. <!-- or
  24. <button special="cancelar" string="Cancel" class="oe_link"/> -->
  25. </footer>
  26. </form>
  27. </field>
  28. </record>
  29. <record id="sale_order_barcode_action" model="ir.actions.act_window">
  30. <field name="name">Interfaz de Búsqueda</field>
  31. <field name="res_model">sale.order.barcode</field>
  32. <field name="view_mode">form</field>
  33. <field name="target">new</field>
  34. </record>
  35. </data>
  36. </openerp>