2008-04-24 16:01:26 +02:00
|
|
|
<?xml version="1.0"?>
|
2009-03-18 19:23:53 +01:00
|
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
this repository contains the full copyright notices and license terms. -->
|
2008-04-24 16:01:26 +02:00
|
|
|
<tryton>
|
|
|
|
|
<data>
|
|
|
|
|
<record model="ir.ui.view" id="product_view_tree_qty">
|
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
|
<field name="type">tree</field>
|
2017-12-01 10:27:53 +01:00
|
|
|
<field name="priority" eval="20"/>
|
2013-03-13 13:25:00 +01:00
|
|
|
<field name="name">product_tree_qty</field>
|
2008-04-24 16:01:26 +02:00
|
|
|
</record>
|
2008-05-14 01:11:23 +02:00
|
|
|
|
2015-06-15 00:58:00 +02:00
|
|
|
<record model="ir.action.wizard" id="wizard_recompute_cost_price">
|
|
|
|
|
<field name="name">Recompute Cost Price</field>
|
|
|
|
|
<field name="wiz_name">product.recompute_cost_price</field>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.keyword"
|
|
|
|
|
id="wizard_recompute_cost_price_product_keyword1">
|
|
|
|
|
<field name="keyword">form_action</field>
|
|
|
|
|
<field name="model">product.product,-1</field>
|
|
|
|
|
<field name="action" ref="wizard_recompute_cost_price"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.keyword"
|
|
|
|
|
id="wizard_recompute_cost_price_template_keyword1">
|
|
|
|
|
<field name="keyword">form_action</field>
|
|
|
|
|
<field name="model">product.template,-1</field>
|
|
|
|
|
<field name="action" ref="wizard_recompute_cost_price"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action-res.group"
|
|
|
|
|
id="wizard_recompute_cost_price-group_product_admin">
|
|
|
|
|
<field name="action" ref="wizard_recompute_cost_price"/>
|
|
|
|
|
<field name="group" ref="product.group_product_admin"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
2008-05-14 01:11:23 +02:00
|
|
|
<record model="ir.ui.view" id="location_quantity_view_tree">
|
|
|
|
|
<field name="model">stock.location</field>
|
|
|
|
|
<field name="type">tree</field>
|
|
|
|
|
<field name="field_childs">childs</field>
|
2009-01-21 01:49:18 +01:00
|
|
|
<field name="priority" eval="20"/>
|
2013-03-13 13:25:00 +01:00
|
|
|
<field name="name">location_quantity_tree</field>
|
2008-05-14 01:11:23 +02:00
|
|
|
</record>
|
2011-04-03 15:08:58 +02:00
|
|
|
|
2018-03-09 19:17:58 +01:00
|
|
|
<record model="ir.ui.view" id="location_quantity_view_list">
|
|
|
|
|
<field name="model">stock.location</field>
|
|
|
|
|
<field name="type">tree</field>
|
|
|
|
|
<field name="priority" eval="20"/>
|
|
|
|
|
<field name="name">location_quantity_tree</field>
|
|
|
|
|
</record>
|
|
|
|
|
|
2008-05-14 01:11:23 +02:00
|
|
|
<record model="ir.action.act_window" id="act_location_quantity_tree">
|
2018-03-09 19:17:58 +01:00
|
|
|
<field name="name">Locations Tree Quantity</field>
|
2008-05-14 01:11:23 +02:00
|
|
|
<field name="res_model">stock.location</field>
|
2015-03-09 19:42:16 +01:00
|
|
|
<field name="domain" eval="[('parent', '=', None)]" pyson="1"/>
|
2018-02-11 14:38:33 +01:00
|
|
|
<field name="context" pyson="1"
|
|
|
|
|
eval="If(Eval('active_model') == 'product.template', {'product_template': Eval('active_id')}, {'product': Eval('active_id')})"/>
|
2016-06-15 10:45:54 +02:00
|
|
|
<field name="context_model">product.by_location.context</field>
|
2008-05-14 01:11:23 +02:00
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window.view" id="act_location_quantity_tree_view">
|
|
|
|
|
<field name="sequence" eval="10"/>
|
|
|
|
|
<field name="view" ref="location_quantity_view_tree"/>
|
|
|
|
|
<field name="act_window" ref="act_location_quantity_tree"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.keyword"
|
2018-03-09 19:17:58 +01:00
|
|
|
id="act_location_quantity_tree_keyword1">
|
2008-06-10 18:14:51 +02:00
|
|
|
<field name="keyword">form_relate</field>
|
2011-09-21 12:30:07 +02:00
|
|
|
<field name="model">product.product,-1</field>
|
2016-06-15 10:45:54 +02:00
|
|
|
<field name="action" ref="act_location_quantity_tree"/>
|
2008-06-05 01:00:26 +02:00
|
|
|
</record>
|
2018-02-11 14:38:33 +01:00
|
|
|
<record model="ir.action.keyword"
|
2018-03-09 19:17:58 +01:00
|
|
|
id="act_location_quantity_tree_keyword2">
|
2018-02-11 14:38:33 +01:00
|
|
|
<field name="keyword">form_relate</field>
|
|
|
|
|
<field name="model">product.template,-1</field>
|
|
|
|
|
<field name="action" ref="act_location_quantity_tree"/>
|
|
|
|
|
</record>
|
2011-09-30 17:11:16 +02:00
|
|
|
<record model="ir.action-res.group"
|
2016-06-15 10:45:54 +02:00
|
|
|
id="act_location-quantity_tree-group_stock">
|
|
|
|
|
<field name="action" ref="act_location_quantity_tree"/>
|
2011-09-30 17:11:16 +02:00
|
|
|
<field name="group" ref="group_stock"/>
|
|
|
|
|
</record>
|
2008-06-05 01:00:26 +02:00
|
|
|
|
2018-03-09 19:17:58 +01:00
|
|
|
<record model="ir.action.act_window" id="act_location_quantity_list">
|
|
|
|
|
<field name="name">Locations List Quantity</field>
|
|
|
|
|
<field name="res_model">stock.location</field>
|
2019-10-01 22:52:18 +02:00
|
|
|
<field name="search_value" eval="['OR', ('quantity', '!=', 0), ('forecast_quantity', '!=', 0)]" pyson="1"/>
|
2018-03-09 19:17:58 +01:00
|
|
|
<field name="context" pyson="1"
|
|
|
|
|
eval="If(Eval('active_model') == 'product.template', {'product_template': Eval('active_id'), 'with_childs': False}, {'product': Eval('active_id'), 'with_childs': False})"/>
|
|
|
|
|
<field name="context_model">product.by_location.context</field>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window.view" id="act_location_quantity_list_view">
|
|
|
|
|
<field name="sequence" eval="10"/>
|
|
|
|
|
<field name="view" ref="location_quantity_view_list"/>
|
|
|
|
|
<field name="act_window" ref="act_location_quantity_list"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.keyword"
|
|
|
|
|
id="act_location_quantity_list_keyword1">
|
|
|
|
|
<field name="keyword">form_relate</field>
|
|
|
|
|
<field name="model">product.product,-1</field>
|
|
|
|
|
<field name="action" ref="act_location_quantity_list"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.keyword"
|
|
|
|
|
id="act_location_quantity_list_keyword2">
|
|
|
|
|
<field name="keyword">form_relate</field>
|
|
|
|
|
<field name="model">product.template,-1</field>
|
|
|
|
|
<field name="action" ref="act_location_quantity_list"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action-res.group"
|
|
|
|
|
id="act_location-quantity_list-group_stock">
|
|
|
|
|
<field name="action" ref="act_location_quantity_list"/>
|
|
|
|
|
<field name="group" ref="group_stock"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
2016-06-15 10:45:54 +02:00
|
|
|
<record model="ir.ui.view" id="product_by_location_context_view_form">
|
|
|
|
|
<field name="model">product.by_location.context</field>
|
2008-06-05 01:00:26 +02:00
|
|
|
<field name="type">form</field>
|
2016-06-15 10:45:54 +02:00
|
|
|
<field name="name">product_by_location_context_form</field>
|
2008-05-14 01:11:23 +02:00
|
|
|
</record>
|
|
|
|
|
|
2012-07-25 20:36:58 +02:00
|
|
|
<record model="ir.ui.view" id="product_quantities_warehouse_view_graph">
|
|
|
|
|
<field name="model">stock.product_quantities_warehouse</field>
|
|
|
|
|
<field name="type">graph</field>
|
2013-03-13 13:25:00 +01:00
|
|
|
<field name="name">product_quantities_warehouse_graph</field>
|
2012-07-25 20:36:58 +02:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="product_quantities_warehouse_view_list">
|
|
|
|
|
<field name="model">stock.product_quantities_warehouse</field>
|
|
|
|
|
<field name="type">tree</field>
|
2013-03-13 13:25:00 +01:00
|
|
|
<field name="name">product_quantities_warehouse_list</field>
|
2012-07-25 20:36:58 +02:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="ir.action.act_window"
|
|
|
|
|
id="act_product_quantities_warehouse">
|
|
|
|
|
<field name="name">Product Quantities By Warehouse</field>
|
|
|
|
|
<field name="res_model">stock.product_quantities_warehouse</field>
|
2018-02-11 14:38:33 +01:00
|
|
|
<field name="context" pyson="1"
|
|
|
|
|
eval="If(Eval('active_model') == 'product.template', {'product_template': Eval('active_id')}, {'product': Eval('active_id')})"/>
|
2016-06-15 10:45:54 +02:00
|
|
|
<field name="search_value" eval="[('date', '>=', Date())]"
|
|
|
|
|
pyson="1"/>
|
|
|
|
|
<field name="context_model">stock.product_quantities_warehouse.context</field>
|
2012-07-25 20:36:58 +02:00
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window.view"
|
|
|
|
|
id="act_product_quantities_warehouse_graph_view">
|
|
|
|
|
<field name="sequence" eval="10"/>
|
|
|
|
|
<field name="view" ref="product_quantities_warehouse_view_graph"/>
|
|
|
|
|
<field name="act_window" ref="act_product_quantities_warehouse"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window.view"
|
|
|
|
|
id="act_product_quantities_warehouse_list_view">
|
|
|
|
|
<field name="sequence" eval="20"/>
|
|
|
|
|
<field name="view" ref="product_quantities_warehouse_view_list"/>
|
|
|
|
|
<field name="act_window" ref="act_product_quantities_warehouse"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
2016-06-15 10:45:54 +02:00
|
|
|
<record model="ir.ui.view" id="product_quantities_warehouse_context_view_form">
|
2012-07-25 20:36:58 +02:00
|
|
|
<field
|
2016-06-15 10:45:54 +02:00
|
|
|
name="model">stock.product_quantities_warehouse.context</field>
|
2012-07-25 20:36:58 +02:00
|
|
|
<field name="type">form</field>
|
2016-06-15 10:45:54 +02:00
|
|
|
<field name="name">product_quantities_warehouse_context_form</field>
|
2012-07-25 20:36:58 +02:00
|
|
|
</record>
|
|
|
|
|
|
2019-06-16 19:11:48 +02:00
|
|
|
<record model="ir.action.wizard" id="wizard_open_product_quantities_by_warehouse">
|
|
|
|
|
<field name="name">Stock Moves</field>
|
|
|
|
|
<field name="wiz_name">stock.product_quantities_warehouse.open</field>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.keyword" id="wizard_open_product_quantities_by_warehouse_keyword1">
|
|
|
|
|
<field name="keyword">tree_open</field>
|
|
|
|
|
<field name="model">stock.product_quantities_warehouse,-1</field>
|
|
|
|
|
<field name="action" ref="wizard_open_product_quantities_by_warehouse"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
2012-07-25 20:36:58 +02:00
|
|
|
<record model="ir.action.keyword"
|
|
|
|
|
id="act_product_quantities_warehouse_keyword1">
|
|
|
|
|
<field name="keyword">form_relate</field>
|
|
|
|
|
<field name="model">product.product,-1</field>
|
2016-06-15 10:45:54 +02:00
|
|
|
<field name="action" ref="act_product_quantities_warehouse"/>
|
2012-07-25 20:36:58 +02:00
|
|
|
</record>
|
2018-02-11 14:38:33 +01:00
|
|
|
<record model="ir.action.keyword"
|
|
|
|
|
id="act_product_quantities_warehouse_keyword2">
|
|
|
|
|
<field name="keyword">form_relate</field>
|
|
|
|
|
<field name="model">product.template,-1</field>
|
|
|
|
|
<field name="action" ref="act_product_quantities_warehouse"/>
|
|
|
|
|
</record>
|
2012-07-25 20:36:58 +02:00
|
|
|
<record model="ir.action-res.group"
|
2016-06-15 10:45:54 +02:00
|
|
|
id="act_product_quantities_warehouse-group_stock">
|
|
|
|
|
<field name="action" ref="act_product_quantities_warehouse"/>
|
2012-07-25 20:36:58 +02:00
|
|
|
<field name="group" ref="group_stock"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
2008-04-24 16:01:26 +02:00
|
|
|
</data>
|
|
|
|
|
</tryton>
|