Feat: Sale Fast Food Product by Pizza
This commit is contained in:
48
report.xml
Normal file
48
report.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="sale_fast_food_report_view_form">
|
||||
<field name="model">sale_fast_food.report.context</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">sale_fast_food_report_context_form</field>
|
||||
</record>
|
||||
|
||||
<!-- Family Members Per State -->
|
||||
<record model="ir.ui.view" id="report_sale_fast_food_product_pizza_view_list">
|
||||
<field name="model">sale_fast_food.reporting.product</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="name">pizzas_sold_by_product_list</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.act_window" id="act_report_sale_fast_food_product_pizza">
|
||||
<field name="name">Pizza Sold by Product</field>
|
||||
<field name="res_model">sale_fast_food.reporting.product</field>
|
||||
<field name="context_model">sale_fast_food.report.context</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.act_window.view" id="act_report_sale_fast_food_product_pizza_view1">
|
||||
<field name="sequence" eval="10"/>
|
||||
<field name="view" ref="report_sale_fast_food_product_pizza_view_list"/>
|
||||
<field name="act_window" ref="act_report_sale_fast_food_product_pizza"/>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
name="Reporting"
|
||||
parent="sale.menu_sale"
|
||||
sequence="999"
|
||||
id="menu_sale_fast_food_reporting"/>
|
||||
<menuitem
|
||||
name="Sale Fast Food Pizza"
|
||||
parent="menu_sale_fast_food_reporting"
|
||||
sequence="10"
|
||||
id="menu_sale_fast_food_pizza"
|
||||
icon="tryton-graph"/>
|
||||
<record model="ir.action.keyword" id="act_report_sale_fast_food_product_pizza_keyword1">
|
||||
<field name="keyword">tree_open</field>
|
||||
<field name="model" ref="menu_sale_fast_food_reporting"/>
|
||||
<field name="action" ref="act_report_sale_fast_food_product_pizza"/>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
Reference in New Issue
Block a user