1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="stock_report_prodlots_tree" model="ir.ui.view">
6 <field name="name">stock.report.prodlots.view</field>
7 <field name="model">stock.report.prodlots</field>
8 <field name="type">tree</field>
9 <field name="arch" type="xml">
10 <tree string="Stock by Lots">
11 <field name="location_id"/>
12 <field name="product_id"/>
13 <field name="prodlot_id"/>
18 <record id="action_stock_report_prodlots_form" model="ir.actions.act_window">
19 <field name="name">Stock by Lots</field>
20 <field name="type">ir.actions.act_window</field>
21 <field name="res_model">stock.report.prodlots</field>
22 <field name="view_type">form</field>
23 <field name="view_mode">form,tree</field>
29 parent="stock.menu_stock_root"/>
37 action="action_stock_report_prodlots_form"
38 id="menu_stock_report_prodlots"
42 context="{'product_id': active_id}"
43 id="act_stock_product_location_open"
44 name="Stock by Location"
45 res_model="stock.location"
46 src_model="product.product"/>
49 domain="[('location_id', '=', active_id)]"
50 id="act_stock_location_2_stock_report_prodlots"
52 res_model="stock.report.prodlots"
53 src_model="stock.location"/>
56 domain="[('product_id','=',active_id)]"
57 id="act_product_product_2_stock_report_prodlots"
59 res_model="stock.report.prodlots"
60 src_model="product.product"/>
63 domain="[('prodlot_id', '=', active_id)]"
64 id="act_stock_production_lot_2_stock_report_prodlots"
65 name="Stock" res_model="stock.report.prodlots"
66 src_model="stock.production.lot"/>