123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record id="view_top_sales_form" model="ir.ui.view">
- <field name="name">product.detail.form</field>
- <field name="model">product.detail</field>
- <field name="arch" type="xml">
- <form string="Detalles del producto">
- <group>
- <group>
- <field name="start_date"/>
- </group>
- <group>
- <field name="end_date"/>
- </group>
- <group>
- <field name="top_products" widget="radio"/>
- </group>
- <group>
- <field name="no_of_products"/>
- </group>
- </group>
- <footer>
- <button string='Imprimir' name="check_report" type="object" default_focus="1" class="oe_highlight"/>
- <button string="Cancelar" class="btn-default" special="cancel"/>
- </footer>
- </form>
- </field>
- </record>
- <record id="open_top_sales_action" model="ir.actions.act_window">
- <field name="name">Productos más vendidos</field>
- <field name="res_model">product.detail</field>
- <field name="view_type">form</field>
- <field name="view_mode">form</field>
- <field name="target">new</field>
- <field name="view_id" ref="view_top_sales_form"/>
- </record>
- </data>
- </openerp>
|