You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.3 KiB
28 lines
1.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_pos_sale_top_selling_wizard" model="ir.ui.view">
|
|
<field name="name">pos.sale.top.selling.wizard.form</field>
|
|
<field name="model">pos.sale.top.selling</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Top Selling Products/Categories/Customers">
|
|
<group>
|
|
<group>
|
|
<field name="start_date" required="1"/>
|
|
<field name="end_date" required="1"/>
|
|
</group>
|
|
<group>
|
|
<field name="top_selling" widget="radio"/>
|
|
<field name="no_of_products" attrs="{'invisible': [('top_selling','!=','products')]}"/>
|
|
<field name="no_of_categories" attrs="{'invisible': [('top_selling','!=','category')]}"/>
|
|
<field name="no_of_customers" attrs="{'invisible': [('top_selling','!=','customers')]}"/>
|
|
</group>
|
|
</group>
|
|
<footer>
|
|
<button name="generate_report" string="Print" type="object" class="btn-primary" data-hotkey="q"/>
|
|
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|
|
|