From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/stock/views/product_strategy_views.xml | 100 +++ addons/stock/views/product_views.xml | 421 ++++++++++++ addons/stock/views/report_stock_traceability.xml | 137 ++++ addons/stock/views/res_config_settings_views.xml | 394 +++++++++++ addons/stock/views/res_partner_views.xml | 41 ++ addons/stock/views/stock_inventory_views.xml | 258 +++++++ addons/stock/views/stock_location_views.xml | 246 +++++++ addons/stock/views/stock_menu_views.xml | 44 ++ addons/stock/views/stock_move_line_views.xml | 143 ++++ addons/stock/views/stock_move_views.xml | 453 +++++++++++++ addons/stock/views/stock_orderpoint_views.xml | 245 +++++++ addons/stock/views/stock_package_level_views.xml | 82 +++ addons/stock/views/stock_picking_views.xml | 781 ++++++++++++++++++++++ addons/stock/views/stock_production_lot_views.xml | 99 +++ addons/stock/views/stock_quant_views.xml | 330 +++++++++ addons/stock/views/stock_rule_views.xml | 140 ++++ addons/stock/views/stock_scrap_views.xml | 195 ++++++ addons/stock/views/stock_template.xml | 151 +++++ addons/stock/views/stock_warehouse_views.xml | 110 +++ 19 files changed, 4370 insertions(+) create mode 100644 addons/stock/views/product_strategy_views.xml create mode 100644 addons/stock/views/product_views.xml create mode 100644 addons/stock/views/report_stock_traceability.xml create mode 100644 addons/stock/views/res_config_settings_views.xml create mode 100644 addons/stock/views/res_partner_views.xml create mode 100644 addons/stock/views/stock_inventory_views.xml create mode 100644 addons/stock/views/stock_location_views.xml create mode 100644 addons/stock/views/stock_menu_views.xml create mode 100644 addons/stock/views/stock_move_line_views.xml create mode 100644 addons/stock/views/stock_move_views.xml create mode 100644 addons/stock/views/stock_orderpoint_views.xml create mode 100644 addons/stock/views/stock_package_level_views.xml create mode 100644 addons/stock/views/stock_picking_views.xml create mode 100644 addons/stock/views/stock_production_lot_views.xml create mode 100644 addons/stock/views/stock_quant_views.xml create mode 100644 addons/stock/views/stock_rule_views.xml create mode 100644 addons/stock/views/stock_scrap_views.xml create mode 100644 addons/stock/views/stock_template.xml create mode 100644 addons/stock/views/stock_warehouse_views.xml (limited to 'addons/stock/views') diff --git a/addons/stock/views/product_strategy_views.xml b/addons/stock/views/product_strategy_views.xml new file mode 100644 index 00000000..02fa6d0a --- /dev/null +++ b/addons/stock/views/product_strategy_views.xml @@ -0,0 +1,100 @@ + + + + stock.putaway.rule.tree + stock.putaway.rule + + + + + + + + + + + + + + product.removal.form + product.removal + +
+ + + + +
+
+
+ + + Putaways Rules + stock.putaway.rule + ir.actions.act_window + tree + + +

+ No putaway rule found. Let's create one! +

+ Create new putaway rules to dispatch automatically specific products to their appropriate destination location upon receptions. +

+
+
+ + + stock.putaway.rule.search + stock.putaway.rule + + + + + + + + + + + + + + + + + + + + Putaway Rules + stock.putaway.rule + { + 'search_default_category_id': [active_id], + 'fixed_category': True, + } + + + Putaway Rules + stock.putaway.rule + {'fixed_location': True} + ['|', ('location_out_id', '=', active_id), ('location_in_id', '=', active_id)] + + + +
diff --git a/addons/stock/views/product_views.xml b/addons/stock/views/product_views.xml new file mode 100644 index 00000000..443fdeae --- /dev/null +++ b/addons/stock/views/product_views.xml @@ -0,0 +1,421 @@ + + + + + + product.category.form + product.category + + +
+
+ + + + + + + +
+
+ + + Routes + + + code + + action = model.action_open_routes_diagram() + + + + + product.stock.tree.inherit + product.product + + + + + + + + + + + product.template.stock.tree.inherit + product.template + + + + + + + + + + + + + + + + product.template.search.stock.form + product.template + primary + + + + + + + + + + + + + + + product.product.search.stock.form + product.product + primary + + + + + + + + + + + + + product.template.stock.property.form.inherit + product.template + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + stock.group_stock_user,product.group_stock_packaging + + + + + + Product Template Kanban Stock + product.template + + + + + + +
On hand:
+
+
+
+ + + + + product.search.stock.form + product.product + + + + + + + + + + + product.product.view.form.easy.inherit.stock + product.product + + + +
+
+
+
+
+
+
+ + + + product.product.procurement + product.product + + + + +
+
+
+ + + + +
+ + + {'default_product_id': id} + + +
+
+
+ + + + product.template_procurement + product.template + + + + +
+
+
+ + + + +
+ + + + {'invisible': [('type', 'not in', ['product', 'consu'])]} + + + + + +
+
+
+ + + Products + ir.actions.act_window + product.template + kanban,tree,form + + {"search_default_consumable": 1, 'default_type': 'product'} + +

+ No product found. Let's create one! +

+ Track your stock quantities by creating storable products. +

+
+
+ + + Product Variants + ir.actions.act_window + product.product + tree,form,kanban + + + + + + + + +
+
diff --git a/addons/stock/views/report_stock_traceability.xml b/addons/stock/views/report_stock_traceability.xml new file mode 100644 index 00000000..f6181bcf --- /dev/null +++ b/addons/stock/views/report_stock_traceability.xml @@ -0,0 +1,137 @@ + + + + + + + + + + + + + diff --git a/addons/stock/views/res_config_settings_views.xml b/addons/stock/views/res_config_settings_views.xml new file mode 100644 index 00000000..1fcfdf87 --- /dev/null +++ b/addons/stock/views/res_config_settings_views.xml @@ -0,0 +1,394 @@ + + + + + res.config.settings.view.form.inherit.stock + res.config.settings + + + + +
+

Operations

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Barcode

+
+
+
+ +
+
+
+
+

Shipping

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Shipping Connectors

+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+

Products

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Traceability

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Warehouse

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Advanced Scheduling

+
+
+
+
+
+ + + + + + Settings + ir.actions.act_window + res.config.settings + form + inline + {'module' : 'stock', 'bin_size': False} + + + + + + diff --git a/addons/stock/views/res_partner_views.xml b/addons/stock/views/res_partner_views.xml new file mode 100644 index 00000000..d8bb37eb --- /dev/null +++ b/addons/stock/views/res_partner_views.xml @@ -0,0 +1,41 @@ + + + + + + + res.partner.stock.property.form.inherit + res.partner + + + + + + + + + + + + + + + res.partner.stock.warning + res.partner + + + + + + + + + + + + + + diff --git a/addons/stock/views/stock_inventory_views.xml b/addons/stock/views/stock_inventory_views.xml new file mode 100644 index 00000000..f4d9eda9 --- /dev/null +++ b/addons/stock/views/stock_inventory_views.xml @@ -0,0 +1,258 @@ + + + + + stock.inventory.line.tree + stock.inventory.line + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + +
+ + + +
+ + + + + + Inventory Adjustments + ir.actions.act_window + stock.inventory + tree,kanban,form + + + +

+ Want to speed up your inventory counts? Try our Barcode app +

+ Barcode scanner can be activated via inventory settings. + Manual inventory adjustments can also be performed and pre-filled with + suggested counted quantity. +

+
+
+ + + Set counted quantities to 0 + + + code + +if records: + action = records.action_reset_product_qty() + + + + + Recompute On Hand Quantity + + + code + +if records: + action = records.action_refresh_quantity() + + + + + diff --git a/addons/stock/views/stock_location_views.xml b/addons/stock/views/stock_location_views.xml new file mode 100644 index 00000000..0c01cdb1 --- /dev/null +++ b/addons/stock/views/stock_location_views.xml @@ -0,0 +1,246 @@ + + + + Products + product.product + {'location': active_id, 'search_default_real_stock_available': 1, 'search_default_virtual_stock_available': 1, + 'search_default_virtual_stock_negative': 1, 'search_default_real_stock_negative': 1, 'create': False} + + form + + + + + stock.location.form + stock.location + +
+ +
+
+ +
+
+
+
+ + + stock.location.form.editable + stock.location + + + + + true + + + + + + stock.location.search + stock.location + + + + + + + + + + + + + + + + stock.location.tree + stock.location + + + + + + + + + + + + + stock.location.tree2.editable + stock.location + + + + + true + + + + + + Locations + stock.location + ir.actions.act_window + tree,form + + + {'search_default_in_location':1} + +

+ Add a new location +

+ Define your locations to reflect your warehouse structure and + organization. Odoo is able to manage physical locations + (warehouses, shelves, bin, etc), partner locations (customers, + vendors) and virtual locations which are the counterpart of + the stock operations like the manufacturing orders + consumptions, inventories, etc. +

+ Every stock operation in Odoo moves the products from one + location to another one. For instance, if you receive products + from a vendor, Odoo will move products from the Vendor + location to the Stock location. Each report can be performed on + physical, partner or virtual locations. +

+
+
+ + Locations + stock.location + ir.actions.act_window + tree,form + + + {'search_default_prod_inv_location': 1} + + + + + + + stock.location.route.tree + stock.location.route + + + + + + + + + + + + stock.location.route.form + stock.location.route + + +
+ + +
+
+ + + + + + + + +

Select the places where this route can be selected

+ + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + stock.location.route.search + stock.location.route + + + + + + + + + + Routes + stock.location.route + ir.actions.act_window + tree,form + + +

+ Add a new route +

+ You can define here the main routes that run through + your warehouses and that define the flows of your products. These + routes can be assigned to a product, a product category or be fixed + on procurement or sales order. +

+
+
+ + + +
diff --git a/addons/stock/views/stock_menu_views.xml b/addons/stock/views/stock_menu_views.xml new file mode 100644 index 00000000..6da09922 --- /dev/null +++ b/addons/stock/views/stock_menu_views.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/stock/views/stock_move_line_views.xml b/addons/stock/views/stock_move_line_views.xml new file mode 100644 index 00000000..83711593 --- /dev/null +++ b/addons/stock/views/stock_move_line_views.xml @@ -0,0 +1,143 @@ + + + + stock.move.line.tree + stock.move.line + + + + + + + + + + + + + + + + + stock.move.line.form + stock.move.line + +
+
+ +
+ + + + + + + + + + + + + + + + + +
+
+
+ + + stock.move.line.search + stock.move.line + + + + + + + + + + + + + + + + + + + + + + + + + + + stock.move.line.kanban + stock.move.line + + + + +
+ + +
+
+ + + + +
+
+ +
+
+
+
+
+
+
+
+ + + Product Moves + stock.move.line + ir.actions.act_window + tree,kanban,pivot,form + + {'search_default_done': 1, 'search_default_groupby_product_id': 1, 'create': 0} + +

+ There's no product move yet +

+ This menu gives you the full traceability of inventory operations on a specific product. + You can filter on the product to see all the past movements for the product. +

+
+
+ + +
diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml new file mode 100644 index 00000000..e85a6f37 --- /dev/null +++ b/addons/stock/views/stock_move_views.xml @@ -0,0 +1,453 @@ + + + + + stock.move.pivot + stock.move + + + + + + + + + + + stock.move.graph + stock.move + + + + + + + + + + + stock.move.tree + stock.move + + + + + + + + + + + + + + + + + + + + stock.picking.move.tree + stock.move + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + stock.move.kanban + stock.move + 10 + + + + + + + + + + + + + + + +
+
+
+ +
+
+
+
+ Initial Demand
+ Quantity Done +
+
+ Quantity Done / +
+
+
+
+
+
+
+
+ + + stock.move.operations.form + stock.move + 1000 + +
+ + + + + + + + + + + + + + + +
+
+
+
+ +
+
+ + + stock.move.operations.nosuggest.form + stock.move + 1000 + primary + + + + + + + + + + stock.move.line.operations.tree + stock.move.line + 1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + stock.move.line.operations.tree + stock.move.line + 1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + stock.move.form + stock.move + + +
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + stock.move.search + stock.move + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Stock Moves + stock.move + ir.actions.act_window + + + {'search_default_done': 1, 'search_default_groupby_location_id': 1} + +

+ No stock move found +

+ This menu gives you the full traceability of inventory + operations on a specific product. You can filter on the product + to see all the past or future movements for the product. +

+
+
+ + + + tree + + + + + + + form + + + + + + + pivot + + + + + + + graph + + + + + + + kanban + + + + + + + + stock.move.tree2 + stock.move + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/addons/stock/views/stock_orderpoint_views.xml b/addons/stock/views/stock_orderpoint_views.xml new file mode 100644 index 00000000..2e92d585 --- /dev/null +++ b/addons/stock/views/stock_orderpoint_views.xml @@ -0,0 +1,245 @@ + + + + stock.warehouse.orderpoint.kanban + stock.warehouse.orderpoint + + + + + + + + + +
+
+
+ +
+ Min qty : +
+
+
+ +
+
+ Max qty : +
+
+
+
+
+
+
+
+ + + stock.warehouse.orderpoint.tree.editable + stock.warehouse.orderpoint + + + + + + + + + + + + + + + + + + + + + +
+
+

+ + +

+
+ + +
+
+ + + + + +
+ + +
+ + + + + + +
+
+
+
+ + + +
+ +
+ + +
+
+
+
+
+ + + + + + + diff --git a/addons/stock/views/stock_production_lot_views.xml b/addons/stock/views/stock_production_lot_views.xml new file mode 100644 index 00000000..135132d2 --- /dev/null +++ b/addons/stock/views/stock_production_lot_views.xml @@ -0,0 +1,99 @@ + + + + stock.production.lot.form + stock.production.lot + 10 + +
+ + +
+
+
+
+ + + + + + + + + + + +
+
+ + + +
+
+
+
+ + + stock.production.lot.tree + stock.production.lot + + + + + + + + + + + + Production Lots Filter + stock.production.lot + + + + + + + + + + + + + Lots/Serial Numbers + ir.actions.act_window + stock.production.lot + + + {'search_default_group_by_product': 1, 'display_complete': True, 'default_company_id': allowed_company_ids[0]} + +

+ Add a lot/serial number +

+ Lots/Serial numbers help you tracking the path followed by your products. + From their traceability report you will see the full history of their use, as well as their composition. +

+
+
+ +
diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml new file mode 100644 index 00000000..45128f81 --- /dev/null +++ b/addons/stock/views/stock_quant_views.xml @@ -0,0 +1,330 @@ + + + + + stock.quant.search + stock.quant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + stock.quant.form.editable + stock.quant + + +
+ + + + + + + + + + + + + + + +
+
+
+ + + stock.quant.form + stock.quant + + +
+ +
+
+ + + + + + + + + + + +
+
+
+
+ + + stock.quant.tree.editable + stock.quant + + + + + + + + + + + + + + + + + + + + + stock.quant.tree + stock.quant + + + + + + + + + + + + + + + + + + stock.quant.pivot + stock.quant + + + + + + + + + + + stock.quant.graph + stock.quant + + + + + + + + + + Inventory + + code + + + action = model.with_context( + search_default_internal_loc=1, + search_default_productgroup=1, + search_default_locationgroup=1, + ).action_view_quants() + + + + + Stock On Hand + {'search_default_internal_loc': 1, 'search_default_productgroup':1, 'search_default_locationgroup':1} + stock.quant + + + {'search_default_productgroup': 1} + [('location_id', 'child_of', active_ids)] + Current Stock + stock.quant + + + + stock.quant.package.search + stock.quant.package + + + + + + + + + + + + + + + + stock.quant.package.form + stock.quant.package + + +
+
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + +
+
+
+
+ + + stock.quant.package.tree + stock.quant.package + + + + + + + + + + + + stock.quant.package.kanban + stock.quant.package + + + + + +
+
+ +
+
+
+
+
+
+
+ + + {} + Packages + stock.quant.package + kanban,tree,form + +

+ Create a new package +

+ Packages are usually created via transfers (during pack operation) and can contain different products. + Once created, the whole package can be moved at once, or products can be unpacked and moved as single units again. +

+
+
+ + + +
diff --git a/addons/stock/views/stock_rule_views.xml b/addons/stock/views/stock_rule_views.xml new file mode 100644 index 00000000..49191b1c --- /dev/null +++ b/addons/stock/views/stock_rule_views.xml @@ -0,0 +1,140 @@ + + + + + + + procurement.group.form + procurement.group + +
+ +
+
+ + + + +
+
+
+
+ + + + + stock.rule.select + stock.rule + + + + + + + + + + + + + + + stock.rule.tree + stock.rule + + + + + + + + + + + + + stock.rule.form + stock.rule + +
+ + +
+
+ + + + + + + + + + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + stock.rule.form + stock.rule + primary + + + + + base.group_multi_company,base.group_no_one + + + + + + Rules + stock.rule + ir.actions.act_window + tree,form + + + + +
+
diff --git a/addons/stock/views/stock_scrap_views.xml b/addons/stock/views/stock_scrap_views.xml new file mode 100644 index 00000000..514118d1 --- /dev/null +++ b/addons/stock/views/stock_scrap_views.xml @@ -0,0 +1,195 @@ + + + + + stock.scrap.search + stock.scrap + + + + + + + + + + + + + + + + + + stock.scrap.form + stock.scrap + +
+
+
+ +
+
+
+

+
+ + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+
+ + + stock.scrap.kanban + stock.scrap + + + + + + + + + +
+
+ + + + + + +
+ +
+
+ +
+
+ + + +
+
+
+
+
+
+
+
+ + + stock.scrap.tree + stock.scrap + + + + + + + + + + + + + + + + + Scrap Orders + ir.actions.act_window + stock.scrap + tree,form,kanban + +

+ Scrap products +

+ Scrapping a product will remove it from your stock. The product will + end up in a scrap location that can be used for reporting purpose. +

+
+
+ + + stock.scrap.form2 + stock.scrap + +
+ + + + + + + + + + + + + + + + +
+
+
+
+
+ + + +
diff --git a/addons/stock/views/stock_template.xml b/addons/stock/views/stock_template.xml new file mode 100644 index 00000000..58a4a56e --- /dev/null +++ b/addons/stock/views/stock_template.xml @@ -0,0 +1,151 @@ + + + + + +