From b3c8287dc5b3f404252db5d1dc1ca08822263657 Mon Sep 17 00:00:00 2001
From: yhu-odoo
Date: Thu, 9 Jul 2020 12:29:50 +0000
Subject: [PATCH] [IMP] mrp,stock(_picking_batch): improve empty screen
1. Batch transfers: set demo data backgroud for Kanban & Tree
2. Packages: set demo data backgroud for Kanban & Tree, update the
helper message.
3. Lot/SN: improve helper message.
4. Stock inventory: use a scanner instead of the smilling face in the
helper.
5. Replenishment: Enable sample data and use new helper image.
6. mrp: Enable sample date and use new helper image for workorder.
Task 2253588
PR #54415
closes odoo/odoo#54741
X-original-commit: 7c75ec9951f6d55121d6dc8cb4942e96641b4a66
Related: odoo/enterprise#11957
Signed-off-by: Simon Lejeune (sle)
---
addons/mrp/views/mrp_workorder_views.xml | 11 +-
addons/stock/static/img/barcode_scanner.svg | 147 ++++++++++++++++++
addons/stock/static/img/replenishment.svg | 1 +
.../static/src/scss/stock_empty_screen.scss | 15 ++
addons/stock/views/stock_inventory_views.xml | 8 +-
addons/stock/views/stock_orderpoint_views.xml | 8 +-
.../views/stock_production_lot_views.xml | 4 +-
addons/stock/views/stock_quant_views.xml | 7 +-
addons/stock/views/stock_template.xml | 1 +
.../views/stock_picking_batch_views.xml | 4 +-
10 files changed, 188 insertions(+), 18 deletions(-)
create mode 100644 addons/stock/static/img/barcode_scanner.svg
create mode 100644 addons/stock/static/img/replenishment.svg
create mode 100644 addons/stock/static/src/scss/stock_empty_screen.scss
diff --git a/addons/mrp/views/mrp_workorder_views.xml b/addons/mrp/views/mrp_workorder_views.xml
index e64823e40c4..5a189258172 100644
--- a/addons/mrp/views/mrp_workorder_views.xml
+++ b/addons/mrp/views/mrp_workorder_views.xml
@@ -115,6 +115,7 @@
0
+ 1
@@ -368,7 +369,7 @@
mrp.production.work.order.kanbanmrp.workorder
-
+
@@ -476,11 +477,11 @@
{'search_default_ready': True, 'search_default_progress': True, 'search_default_pending': True}
- Create a Manufacturing Order
+ No work orders to do!
- Work orders correspond to the different operations, taking place at specific workcenters, which are performed to manufacture a product.
- Those can be defined on bills of materials or directly on manufacturing orders.
-
+ Work orders are operations to do as part of a manufacturing order.
+ Operations are defined in the bill of materials or added in the manufacturing order directly.
+
+ Want to speed up your inventory counts? Try our Barcode app
- This is used to correct the product quantities you have in stock.
+ Barcode scanner can be activated via inventory settings.
+ Manual inventory adjustments can also be performed and pre-filled with
+ suggested counted quantity.
- Define a minimum stock rule so that Odoo creates automatically requests for quotations or draft manufacturing orders to resupply your stock.
+ You'll find here smart replenishment propositions based on inventory forecasts.
+ Choose the quantity to buy or manufacture and launch orders in a click.
+ To save time in the future, set the rules as "automated".
- This is the list of all the production lots you recorded. When
- you select a lot, you can get the traceability of the products contained in lot.
+ 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.
- Packages are usually created by pack operations made on transfers and can contains several different products. You can then reuse a package to move its whole content somewhere else, or to pack it into another bigger package. A package can also be unpacked, allowing the disposal of its former content as single units again.
+ 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.