123456789101112131415161718192021222324252627282930313233343536373839 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record id="sale_order_barcode_view_form" model="ir.ui.view">
- <field name="name">Sale Order Barcode Form</field>
- <field name="model">sale.order.barcode</field>
- <field name="arch" type="xml">
- <form string="Sale Order Barcode Wizard">
- <group name="product">
- <field name="product_barcode" string="Codigo de barras"/>
- <field name="product_id" options='{"no_open": True}' invisible="1" />
- <field name="product_name" options='{"no_open": True}' string="Producto" readonly="1"/>
- <label for="product_qty" string="Cantidad"/>
- <div>
- <field name="product_qty" class="oe_inline"/>
- <field name="product_uom_id" options='{"no_open": True}' class="oe_inline" invisible="1"/>
- </div>
- <field name="type" invisible="1"/>
- </group>
- <footer>
- <button name="save" type="object"
- class="oe_highlight" string="Guardar y Nuevo"/>
- <!-- or
- <button special="cancelar" string="Cancel" class="oe_link"/> -->
- </footer>
- </form>
- </field>
- </record>
- <record id="sale_order_barcode_action" model="ir.actions.act_window">
- <field name="name">Interfaz de Búsqueda</field>
- <field name="res_model">sale.order.barcode</field>
- <field name="view_mode">form</field>
- <field name="target">new</field>
- </record>
- </data>
- </openerp>
|