Files
odoo-usability/pos_sale_report/product_view.xml
Alexis de Lattre da2c22329c pos_sale_report: Now works well when you select multiple products in product tree view
Add Today and Yesterday filter, for easy analysis of recent sales
2015-10-30 23:17:37 +01:00

30 lines
769 B
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Add entry in the "More" drop down list in form view -->
<act_window id="product_product_pos_sale_report_action"
key2="client_action_multi"
name="Sales Statistics"
res_model="pos.sale.report"
src_model="product.product"
view_mode="graph"
domain="[('product_id', 'in', active_ids)]"
context="{'search_default_product_groupby': 1}"
/>
<act_window id="product_template_pos_sale_report_action"
key2="client_action_multi"
name="Sales Statistics"
res_model="pos.sale.report"
src_model="product.template"
view_mode="graph"
domain="[('product_tmpl_id', 'in', active_ids)]"
context="{'search_default_product_tmpl_groupby': 1}"
/>
</data>
</openerp>