1234567891011121314151617181920212223242526272829303132333435363738 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record model="ir.ui.view" id="view_sale_inherited">
- <field name="name">view.sale.inherited</field>
- <field name="model">sale.extended.wizard</field>
- <field name="type">form</field>
- <field name="arch" type="xml">
- <form string="Price Change">
- <field name="pricelist_id" />
- <group col="2" colspan="2">
- <!-- <button icon="gtk-cancel" special="cancel" string="Close"/> -->
- <button name="change_pricelist_products" string="Cambiar Lista de Precios" type="object" icon="gtk-ok"/>
- </group>
- </form>
- </field>
- </record>
- <record model="ir.actions.act_window" id="action_change_pricelist">
- <field name="name">Cambiar Precio</field>
- <field name="res_model">sale.extended.wizard</field>
- <field name="view_type">form</field>
- <field name="view_mode">form</field>
- <field name="view_id" ref="view_sale_inherited"/>
- <field name="target">new</field>
- </record>
- <act_window
- id="sale_pricelist_act_window"
- name="Change Pricelist"
- view_mode="form"
- view_type="form"
- res_model="sale.extended.wizard"
- src_model="sale.order"
- target="new"
- key2="client_action_multi" />
- </data>
- </openerp>
|