[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) <sle@openerp.com>
This commit is contained in:
yhu-odoo
2020-07-22 08:53:36 +00:00
parent d976eb072a
commit b3c8287dc5
10 changed files with 188 additions and 18 deletions
+6 -5
View File
@@ -115,6 +115,7 @@
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="create">0</attribute>
<attribute name="sample">1</attribute>
</xpath>
<field name="workcenter_id" position="after">
<field name="production_id"/>
@@ -368,7 +369,7 @@
<field name="name">mrp.production.work.order.kanban</field>
<field name="model">mrp.workorder</field>
<field name="arch" type="xml">
<kanban class="oe_background_grey o_kanban_dashboard o_mrp_workorder_kanban" create="0">
<kanban class="oe_background_grey o_kanban_dashboard o_mrp_workorder_kanban" create="0" sample="1">
<field name="name"/>
<field name="production_id"/>
<field name="state" readonly="1"/>
@@ -476,11 +477,11 @@
<field name="context">{'search_default_ready': True, 'search_default_progress': True, 'search_default_pending': True}</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a Manufacturing Order
No work orders to do!
</p><p>
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.
</p>
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.
</p>
</field>
</record>
+147
View File
@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 432.35657 322.22568" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<filter id="l">
<feGaussianBlur stdDeviation="2.6678"/>
</filter>
<filter id="k">
<feGaussianBlur stdDeviation="2.1943"/>
</filter>
<linearGradient id="b">
<stop stop-color="#60574e" offset="0"/>
<stop stop-color="#40423f" offset="1"/>
</linearGradient>
<linearGradient id="j" x1="903.86" x2="953.55" y1="520.38" y2="454.76" gradientUnits="userSpaceOnUse">
<stop stop-color="#787973" offset="0"/>
<stop stop-color="#787973" stop-opacity="0" offset="1"/>
</linearGradient>
<linearGradient id="i" x1="880.16" x2="903.36" y1="562.9" y2="516.04" gradientUnits="userSpaceOnUse">
<stop stop-color="#919a9a" offset="0"/>
<stop stop-color="#a3a49f" offset="1"/>
</linearGradient>
<linearGradient id="h" x1="1054.9" x2="907.68" y1="627.42" y2="541.41" gradientUnits="userSpaceOnUse">
<stop stop-color="#26383f" offset="0"/>
<stop stop-color="#485d60" offset="1"/>
</linearGradient>
<linearGradient id="g" x1="864.05" x2="1064.8" y1="547.58" y2="648.35" gradientUnits="userSpaceOnUse">
<stop stop-color="#2b3439" offset="0"/>
<stop stop-color="#2b3439" stop-opacity="0" offset="1"/>
</linearGradient>
<linearGradient id="f" x1="161.82" x2="210.24" y1="450.94" y2="354.1" gradientUnits="userSpaceOnUse">
<stop stop-color="#f00" offset="0"/>
<stop stop-color="#f00" stop-opacity="0" offset="1"/>
</linearGradient>
<radialGradient id="a" cx="505.71" cy="300.82" r="163.3" gradientTransform="matrix(.81681 0 0 .63065 545.64 276.05)" gradientUnits="userSpaceOnUse">
<stop stop-color="#55504a" offset="0"/>
<stop stop-color="#2f3b39" offset="1"/>
</radialGradient>
<radialGradient id="d" cx="1103.2" cy="548.19" r="31.89" gradientTransform="matrix(2.4989 3.3505e-6 -2.8228e-6 2.1054 -1653.6 -613.76)" gradientUnits="userSpaceOnUse">
<stop stop-color="#aeaaa7" offset="0"/>
<stop stop-color="#112325" offset=".2345"/>
<stop stop-color="#01040d" offset="1"/>
</radialGradient>
<radialGradient id="e" cx="1143" cy="469.41" r="49.737" gradientTransform="matrix(1.0769 -.28855 .20074 .74916 -182.09 453.41)" gradientUnits="userSpaceOnUse" xlink:href="#b"/>
<radialGradient id="c" cx="646.11" cy="241.22" r="163.3" gradientTransform="matrix(.81681 0 0 .63065 545.64 276.05)" gradientUnits="userSpaceOnUse" xlink:href="#b"/>
</defs>
<g transform="translate(-8.4559 -154.33)">
<g transform="matrix(-1.0913 -.58597 1.5339 -.15429 -323.55 594.23)">
<path d="m90.251 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m98.063 466.43h-0.97656v-35.156h0.97656v35.156"/>
<path d="m95.133 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m101.03 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m103.96 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m107.87 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m118.65 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m114.76 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m112.79 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m129.43 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m126.52 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m123.57 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m133.38 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m140.23 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m137.28 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m144.16 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m147.09 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m150.99 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m154.94 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m157.87 466.43h-0.97656v-35.156h0.97656v35.156"/>
<path d="m162.75 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m169.63 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m164.74 466.43h-0.97656v-35.156h0.97656v35.156"/>
<path d="m172.56 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m180.41 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m177.48 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m184.31 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m187.28 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m194.14 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m191.19 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m198.06 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m205.88 466.43h-0.97656v-35.156h0.97656v35.156"/>
<path d="m202.95 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m216.66 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m207.87 466.43h-0.97656v-35.156h0.97656v35.156"/>
<path d="m212.75 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m219.63 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m222.56 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m226.46 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m237.24 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m233.36 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m231.38 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m241.19 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m244.12 466.43h-0.97656v-35.156h0.97656v35.156"/>
<path d="m249 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m255.88 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m252.95 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m259.78 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m269.59 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m265.7 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m263.73 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m273.53 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m276.46 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m280.37 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m284.31 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m287.24 466.43h-0.97656v-35.156h0.97656v35.156"/>
<path d="m292.13 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m301.93 466.43h-1.9531v-35.156h1.9531v35.156"/>
<path d="m299.02 466.43h-0.99609v-35.156h0.99609v35.156"/>
<path d="m296.07 466.43h-2.9297v-35.156h2.9297v35.156"/>
<path d="m99.019 485.23-0.27817-0.10699c-0.8345 1.348-1.2411 1.4122-2.0328 1.4122h-5.114l3.5948-3.766c0.94149-1.0057 2.7389-2.9529 2.7389-5.221 0-2.3965-1.9258-3.8516-3.873-3.8516-1.883 0-3.8944 1.0271-4.5363 4.2581l0.44935 0.10699c0.47075-1.1555 1.1127-2.7817 3.0598-2.7817 2.5249 0 3.0598 1.9686 3.0598 3.0598 0 1.6048-0.9201 3.5306-2.7817 5.5206l-3.8088 4.0441v0.25677h8.345l1.1769-2.9315"/>
<path d="m102.83 481.1c1.4764-0.0428 2.0114 0.0642 2.7817 0.47075 1.3694 0.70611 1.6262 2.2895 1.6262 2.8245 0 1.6048-0.8773 3.2952-2.8673 3.2952-1.2624 0-2.0756-1.1983-3.0598-1.1983-0.34236 0-0.8345 0.14978-0.8345 0.74891 0 1.1127 1.8616 1.2197 2.3751 1.2197 3.3594 0 5.9271-1.883 5.9271-4.9214 0-2.8245-1.8188-3.5734-2.7175-3.9585 1.4122-0.9201 1.99-1.8402 1.99-2.9957 0-0.87729-0.57773-2.8887-3.338-2.8887-1.4336 0-3.338 0.66332-4.1939 3.4664l0.32097 0.0856c0.32096-0.59913 1.2197-2.2681 3.1668-2.2681 1.5834 0 2.3537 1.1341 2.3537 2.2253 0 1.9686-1.6048 2.9956-3.552 3.6162l0.0214 0.27817"/>
<path d="m114.79 481.49c2.4607 1.7546 3.3594 2.3965 3.3594 3.9799 0 1.4978-1.0057 2.3965-2.3537 2.3965-1.7332 0-2.7175-1.3908-2.7175-3.0384 0-1.9472 1.0271-2.7817 1.7118-3.338m-3.338 3.552c0 1.669 1.4122 3.4236 4.0655 3.4236 3.552 0 4.2581-2.3965 4.2581-3.5092 0-1.4336-0.44936-2.6747-3.3166-4.7288 1.1555-0.62053 2.8673-1.5192 2.8673-3.4878 0-1.6262-1.3266-3.0384-3.7446-3.0384-1.8402 0-4.0013 1.1555-4.0013 3.3166 0 1.7332 0.85591 2.4607 2.6533 4.0441-1.9044 1.455-2.7817 2.1184-2.7817 3.9799m1.7118-8.5804c0-1.0271 0.68472-2.1612 2.2895-2.1612 1.6476 0 2.3965 1.1555 2.3965 2.3323 0 1.883-1.1983 2.6747-2.0114 3.2096-0.77031-0.49215-2.6747-1.7118-2.6747-3.3808"/>
<path d="m122.21 488.63c5.435-0.34236 8.559-4.4079 8.559-8.9442 0-3.5734-2.0542-5.9913-4.686-5.9913-2.7817 0-4.4935 2.3109-4.4935 5.1568 0 1.7546 0.98428 4.2367 3.8516 4.2367 1.0699 0 2.204-0.38516 3.1454-1.1769l0.0428 0.0428c-0.12838 0.53494-1.3052 5.3922-6.4834 6.2481l0.0642 0.42795m6.4834-8.0669c0 0.38516-0.0642 0.64193-0.34236 0.8559-0.44934 0.36376-1.348 0.74892-2.0542 0.74892-2.2681 0-2.7389-2.5035-2.7389-4.1297 0-1.7546 0.49214-3.7446 2.2895-3.7446 2.8459 0 2.8459 4.1725 2.8459 5.435v0.8345"/>
<path d="m135.52 475.69h4.1939c0.23537 0 0.42795 0 0.49214-0.19258l0.81311-1.9044-0.19258-0.14978c-0.23537 0.32096-0.42795 0.55633-0.98429 0.55633h-4.4721l-2.3323 5.0712c-0.0642 0.14978 0 0.27816 0.12839 0.27816 2.3109 0.0856 6.0983 1.0913 6.0983 4.5149 0 2.6105-1.5834 3.8088-2.9743 3.8088-1.1555 0-1.7332-1.3266-3.1026-1.3266-0.8559 0-0.8559 0.62053-0.8559 0.83451 0 0.77031 1.0057 1.2838 2.6961 1.2838 3.3808 0 5.7345-2.2681 5.7345-5.114 0-1.9044-0.23538-2.5249-1.1555-3.6376-1.2624-1.5406-3.2738-1.9044-4.9856-2.2039l0.89869-1.8188"/>
<path d="m145.62 481.1c1.4764-0.0428 2.0114 0.0642 2.7817 0.47075 1.3694 0.70611 1.6262 2.2895 1.6262 2.8245 0 1.6048-0.8773 3.2952-2.8673 3.2952-1.2624 0-2.0756-1.1983-3.0598-1.1983-0.34236 0-0.8345 0.14978-0.8345 0.74891 0 1.1127 1.8616 1.2197 2.3751 1.2197 3.3594 0 5.9271-1.883 5.9271-4.9214 0-2.8245-1.8188-3.5734-2.7175-3.9585 1.4122-0.9201 1.99-1.8402 1.99-2.9957 0-0.87729-0.57774-2.8887-3.338-2.8887-1.4336 0-3.338 0.66332-4.1939 3.4664l0.32096 0.0856c0.32097-0.59913 1.2197-2.2681 3.1668-2.2681 1.5834 0 2.3537 1.1341 2.3537 2.2253 0 1.9686-1.6048 2.9956-3.552 3.6162l0.0214 0.27817"/>
<path d="m163.15 483.22h-2.1826v-9.5219h-0.94149l-6.7188 9.5219v1.3694h6.0127v3.5734h1.6476v-3.5734h2.1826v-1.3694m-3.8516 0h-5.1354l5.0926-7.2752h0.0428v7.2752"/>
<path d="m169.1 474.25c2.7389 0 2.7817 5.3708 2.7817 6.8258 0 1.6904-0.0428 6.8258-2.7817 6.8258s-2.7817-5.0926-2.7817-6.8258c0-1.455 0.0428-6.8258 2.7817-6.8258m0-0.55633c-3.9371 0-4.8358 4.8572-4.8358 7.3821 0 2.5891 0.8987 7.3822 4.8358 7.3822s4.8358-4.793 4.8358-7.3822c0-2.5249-0.8987-7.3821-4.8358-7.3821"/>
<path d="m184.05 474h-7.9171l-0.34236 0.94149-0.92009 2.204 0.36376 0.17118c0.70611-1.1127 1.0913-1.7332 2.4821-1.7332h4.6433l-4.2367 12.753h1.3908l4.5363-13.994v-0.34236"/>
<path d="m189.02 475.69h4.1939c0.23537 0 0.42795 0 0.49214-0.19258l0.81311-1.9044-0.19258-0.14978c-0.23538 0.32096-0.42795 0.55633-0.98429 0.55633h-4.4721l-2.3323 5.0712c-0.0642 0.14978 0 0.27816 0.12838 0.27816 2.3109 0.0856 6.0983 1.0913 6.0983 4.5149 0 2.6105-1.5834 3.8088-2.9743 3.8088-1.1555 0-1.7332-1.3266-3.1026-1.3266-0.8559 0-0.8559 0.62053-0.8559 0.83451 0 0.77031 1.0057 1.2838 2.6961 1.2838 3.3808 0 5.7345-2.2681 5.7345-5.114 0-1.9044-0.23537-2.5249-1.1555-3.6376-1.2624-1.5406-3.2738-1.9044-4.9856-2.2039l0.89869-1.8188"/>
<path d="m206.01 485.23-0.27816-0.10699c-0.83451 1.348-1.2411 1.4122-2.0328 1.4122h-5.114l3.5948-3.766c0.94149-1.0057 2.7389-2.9529 2.7389-5.221 0-2.3965-1.9258-3.8516-3.873-3.8516-1.883 0-3.8944 1.0271-4.5363 4.2581l0.44935 0.10699c0.47075-1.1555 1.1127-2.7817 3.0598-2.7817 2.5249 0 3.0598 1.9686 3.0598 3.0598 0 1.6048-0.92009 3.5306-2.7817 5.5206l-3.8088 4.0441v0.25677h8.345l1.1769-2.9315"/>
<path d="m209.07 488.16h5.9057v-0.32096c-1.6048 0-2.0328-0.23537-2.0328-1.2624v-12.839l-0.17118-0.0428-3.8516 1.9472v0.29957c1.1983-0.47075 1.1983-0.47075 1.455-0.47075 0.72751 0 0.72751 0.55634 0.72751 1.0057v9.6931c0 1.5834-0.79171 1.6262-2.0328 1.669v0.32096"/>
<path d="m220.51 481.1c1.4764-0.0428 2.0114 0.0642 2.7817 0.47075 1.3694 0.70611 1.6262 2.2895 1.6262 2.8245 0 1.6048-0.8773 3.2952-2.8673 3.2952-1.2624 0-2.0756-1.1983-3.0598-1.1983-0.34236 0-0.83451 0.14978-0.83451 0.74891 0 1.1127 1.8616 1.2197 2.3751 1.2197 3.3594 0 5.9271-1.883 5.9271-4.9214 0-2.8245-1.8188-3.5734-2.7175-3.9585 1.4122-0.9201 1.99-1.8402 1.99-2.9957 0-0.87729-0.57774-2.8887-3.338-2.8887-1.4336 0-3.338 0.66332-4.1939 3.4664l0.32096 0.0856c0.32096-0.59913 1.2197-2.2681 3.1668-2.2681 1.5834 0 2.3537 1.1341 2.3537 2.2253 0 1.9686-1.6048 2.9956-3.552 3.6162l0.0214 0.27817"/>
<path d="m232.48 481.49c2.4607 1.7546 3.3594 2.3965 3.3594 3.9799 0 1.4978-1.0057 2.3965-2.3537 2.3965-1.7332 0-2.7175-1.3908-2.7175-3.0384 0-1.9472 1.0271-2.7817 1.7118-3.338m-3.338 3.552c0 1.669 1.4122 3.4236 4.0655 3.4236 3.552 0 4.2581-2.3965 4.2581-3.5092 0-1.4336-0.44935-2.6747-3.3166-4.7288 1.1555-0.62053 2.8673-1.5192 2.8673-3.4878 0-1.6262-1.3266-3.0384-3.7446-3.0384-1.8402 0-4.0013 1.1555-4.0013 3.3166 0 1.7332 0.8559 2.4607 2.6533 4.0441-1.9044 1.455-2.7817 2.1184-2.7817 3.9799m1.7118-8.5804c0-1.0271 0.68473-2.1612 2.2895-2.1612 1.6476 0 2.3965 1.1555 2.3965 2.3323 0 1.883-1.1983 2.6747-2.0114 3.2096-0.77032-0.49215-2.6747-1.7118-2.6747-3.3808"/>
<path d="m248.74 483.22h-2.1825v-9.5219h-0.94149l-6.7188 9.5219v1.3694h6.0127v3.5734h1.6476v-3.5734h2.1825v-1.3694m-3.8516 0h-5.1354l5.0926-7.2752h0.0428v7.2752"/>
<path d="m258.94 474h-7.9171l-0.34236 0.94149-0.9201 2.204 0.36376 0.17118c0.70612-1.1127 1.0913-1.7332 2.4821-1.7332h4.6433l-4.2367 12.753h1.3908l4.5363-13.994v-0.34236"/>
<path d="m264.57 481.49c2.4607 1.7546 3.3594 2.3965 3.3594 3.9799 0 1.4978-1.0057 2.3965-2.3537 2.3965-1.7332 0-2.7175-1.3908-2.7175-3.0384 0-1.9472 1.0271-2.7817 1.7118-3.338m-3.338 3.552c0 1.669 1.4122 3.4236 4.0655 3.4236 3.552 0 4.2581-2.3965 4.2581-3.5092 0-1.4336-0.44935-2.6747-3.3166-4.7288 1.1555-0.62053 2.8673-1.5192 2.8673-3.4878 0-1.6262-1.3266-3.0384-3.7446-3.0384-1.8402 0-4.0013 1.1555-4.0013 3.3166 0 1.7332 0.8559 2.4607 2.6533 4.0441-1.9044 1.455-2.7817 2.1184-2.7817 3.9799m1.7118-8.5804c0-1.0271 0.68472-2.1612 2.2895-2.1612 1.6476 0 2.3965 1.1555 2.3965 2.3323 0 1.883-1.1983 2.6747-2.0114 3.2096-0.77031-0.49215-2.6747-1.7118-2.6747-3.3808"/>
<path d="m274.01 481.1c1.4764-0.0428 2.0114 0.0642 2.7817 0.47075 1.3694 0.70611 1.6262 2.2895 1.6262 2.8245 0 1.6048-0.8773 3.2952-2.8673 3.2952-1.2624 0-2.0756-1.1983-3.0598-1.1983-0.34236 0-0.8345 0.14978-0.8345 0.74891 0 1.1127 1.8616 1.2197 2.3751 1.2197 3.3594 0 5.9271-1.883 5.9271-4.9214 0-2.8245-1.8188-3.5734-2.7175-3.9585 1.4122-0.9201 1.99-1.8402 1.99-2.9957 0-0.87729-0.57773-2.8887-3.338-2.8887-1.4336 0-3.338 0.66332-4.1939 3.4664l0.32097 0.0856c0.32096-0.59913 1.2197-2.2681 3.1668-2.2681 1.5834 0 2.3537 1.1341 2.3537 2.2253 0 1.9686-1.6048 2.9956-3.552 3.6162l0.0214 0.27817"/>
<path d="m291.53 483.22h-2.1826v-9.5219h-0.94149l-6.7188 9.5219v1.3694h6.0127v3.5734h1.6476v-3.5734h2.1826v-1.3694m-3.8516 0h-5.1354l5.0926-7.2752h0.0428v7.2752"/>
<path d="m293.39 488.63c5.435-0.34236 8.559-4.4079 8.559-8.9442 0-3.5734-2.0542-5.9913-4.6861-5.9913-2.7817 0-4.4935 2.3109-4.4935 5.1568 0 1.7546 0.98429 4.2367 3.8516 4.2367 1.0699 0 2.2039-0.38516 3.1454-1.1769l0.0428 0.0428c-0.12839 0.53494-1.3053 5.3922-6.4834 6.2481l0.0642 0.42795m6.4834-8.0669c0 0.38516-0.0642 0.64193-0.34236 0.8559-0.44935 0.36376-1.348 0.74892-2.0542 0.74892-2.2681 0-2.7389-2.5035-2.7389-4.1297 0-1.7546 0.49214-3.7446 2.2895-3.7446 2.8459 0 2.8459 4.1725 2.8459 5.435v0.8345"/>
</g>
<g transform="translate(1,-3)">
<g transform="translate(-764.52 -252.29)">
<path d="m878.74 563.71s0.6371-8.9194 5.0968-16.565 21.024-35.678 28.669-50.968 48.42-58.613 72.629-57.976 38.863 8.2823 54.154 3.8226 68.807-36.952 82.186-31.855 84.734 42.049 82.823 50.968-7.0081 25.484-24.847 31.855-26.758 15.927-35.04 19.113-26.121 2.5484-26.121 8.2823-14.653 42.686-27.395 56.702-28.67 50.968-35.04 59.25-14.653 26.758-21.024 24.21-13.379-7.0081-17.839-14.016-114.04-71.355-119.77-74.541-14.653-5.7339-18.476-8.2823z" fill="url(#a)"/>
<path d="m902.16 515.34c-7.3765 13.144-15.403 26.824-18.312 31.812-4.4597 7.6452-5.0938 16.562-5.0938 16.562 3.8226 2.5484 12.735 5.0958 18.469 8.2812s115.32 67.523 119.78 74.531 11.442 11.452 17.812 14 14.66-15.905 21.031-24.188c2.5341-3.2942 6.6191-11.163 11.375-20.281l-165.06-100.72z" fill="url(#h)"/>
<path d="m962.69 446.03c-21.503 13.072-44.623 39.028-50.188 50.156-2.6552 5.3104-6.3884 12.191-10.312 19.188l3.8125 2.3125c7.5784-13.038 16.44-26.964 26.25-39.344 9.9364-12.539 20.767-23.491 30.438-32.312z" fill="url(#j)"/>
<path d="m902.16 515.34c-7.3765 13.144-15.403 26.824-18.312 31.812-4.2735 7.326-5.0064 15.616-5.0625 16.312 0.13345 0.16637 0.27053 0.33353 0.40625 0.5 0.32959 0.20174 0.67683 0.42268 1.0625 0.625 3.7924-5.379 12.948-24.875 25.75-46.906l-3.8438-2.3438z" fill="url(#i)"/>
<path d="m1202 456.75c-13.844 1.825-53.76 2.4125-64.781 4.0938-13.29 2.0272-32.204 11.493-33.781 23.656s10.345 26.274 10.345 26.274 1.2989-13.368 4.749-15.68c7.8679-5.2731 15.424-2.0748 25.281-4.5312 9.3554-2.3313 20.397-11.278 26.656-13.719 15.296-7.7835 26.573-15.549 32.25-19.281-0.2239-0.26828-0.452-0.52863-0.7187-0.8125z" fill="url(#e)"/>
<path d="m1028.5,657.3125c-.6628-.39743-1.3182-.80699-1.9688-1.25-.011.0124-.02.0502-.031.0625 .6583.44899 1.3357.78685 2,1.1875z" fill="url(#a)"/>
<path d="m1030.875,658.6875c-.1608-.0829-.308-.16461-.4688-.25 .1505.0802.2865.20315.4376.28125l.031-.0312z" fill="url(#a)"/>
<path d="m1060.4 611.91-7.8125-4.7812c-2.8189 5.9344-4.9041 10.753-5 12-0.2981 3.8759-14.28 29.489-21.031 36.938 0.6506 0.44301 1.306 0.85257 1.9688 1.25 0.6321 0.38126 1.2654 0.78363 1.9062 1.125 0.1608 0.0854 0.308 0.16712 0.4688 0.25 2.8012-4.4054 16.878-26.59 29.5-46.781z" fill="#222a32"/>
<path d="m1113.7 510.59c-0.1499 0.0196 0.6171 2.151 0.7964 3.4052 0.9556 6.6895-19.134 32.815-33.469 47.469-10.018 10.241-21.895 31.883-28.438 45.656l7.8125 4.7812c10.038-16.057 19.249-31.005 20.312-33.531 2.5484-6.0524 30.902-44.279 34.406-50.969 2.8469-5.4353-0.7724-16.896-1.4214-16.812z" fill="url(#d)"/>
<path d="m1103 413.12c-19.627 7.0518-47.456 22.725-60.5 27.781 0.245 0.26719 0.5142 0.55153 0.8124 0.8125 0 0 18.013-7e-3 34.906-10.594 12.588-7.8888 17.94-11.533 24.781-18z" fill="url(#c)"/>
<path d="m878.91 562.16c-0.13465 0.98667-0.15625 1.5625-0.15625 1.5625 3.8226 2.5484 12.735 5.0958 18.469 8.2812 4.2724 2.3736 66.174 38.675 99.312 59.938-32.701-21.323-97.575-62.881-101.88-65.031-5.679-2.8395-10.095-3.8033-15.75-4.75zm127.31 76.125c4.5908 3.0916 7.967 5.5362 9.6562 7.0625-0.2587-0.34927-0.6611-0.84204-0.8125-1.0312-0.2021-0.25268-3.8751-2.7516-8.8437-6.0312zm12.062 10.062c4.4484 5.962 10.734 9.8685 16.531 12.188 0.8835 0.3534 1.8029 0.27749 2.75-0.0937-1.8198-1.5492-4.2747-3.0756-7.5-4.0312-5.2625-1.5593-9.2153-5.1484-11.781-8.0625z" fill="url(#g)"/>
</g>
<path d="m53.372 351.61-18.829 1.136 220.44 120.41 13.732-1.7419z" fill="#f00" filter="url(#l)"/>
<path d="m124.17 307.55-80.848 44.642 217.25 118.5 6.7122-79.136z" fill="url(#f)" filter="url(#k)"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 33 KiB

@@ -0,0 +1,15 @@
.o_view_nocontent {
&_barcode_scanner:before {
@extend %o-nocontent-init-image;
@include size(180px, 180px);
background: transparent url(/stock/static/img/barcode_scanner.svg) no-repeat center;
}
&_replenishment:before {
@extend %o-nocontent-init-image;
width: 100%;
height: 300px;
max-width: 500px;
background: transparent url(/stock/static/img/replenishment.svg) no-repeat center;
}
}
+5 -3
View File
@@ -222,10 +222,12 @@
<field name="view_id" ref="view_inventory_tree"/>
<field name="search_view_id" ref="view_inventory_filter"/>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a new inventory adjustment
<p class="o_view_nocontent_barcode_scanner">
Want to speed up your inventory counts? Try our Barcode app
</p><p>
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.
</p>
</field>
</record>
@@ -192,10 +192,12 @@
<field name="view_id" ref="view_warehouse_orderpoint_tree_editable"/>
<field name="search_view_id" ref="stock_reorder_report_search"/>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a reordering rule
<p class="o_view_nocontent_replenishment">
You are good, no replenishment to perform!
</p><p>
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".
</p>
</field>
</record>
@@ -88,8 +88,8 @@
<p class="o_view_nocontent_smiling_face">
Add a lot/serial number
</p><p>
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.
</p>
</field>
</record>
+4 -3
View File
@@ -238,7 +238,7 @@
<field name="model">stock.quant.package</field>
<field eval="10" name="priority"/>
<field name="arch" type="xml">
<tree string="Package">
<tree string="Package" sample="1">
<field name="display_name"/>
<field name="location_id" options="{'no_create': True}"/>
<field name="company_id" groups="base.group_multi_company"/>
@@ -250,7 +250,7 @@
<field name="name">stock.quant.package.kanban</field>
<field name="model">stock.quant.package</field>
<field name="arch" type="xml">
<kanban>
<kanban sample="1">
<templates>
<field name="name"/>
<t t-name="kanban-box">
@@ -274,7 +274,8 @@
<p class="o_view_nocontent_smiling_face">
Create a new package
</p><p>
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.
</p>
</field>
</record>
+1
View File
@@ -18,6 +18,7 @@
<script type="text/javascript" src="/stock/static/src/js/basic_model.js"></script>
<script type="text/javascript" src="/stock/static/src/js/stock_rescheduling_popover.js"></script>
<link rel="stylesheet" type="text/scss" href="/stock/static/src/scss/stock_traceability_report.scss"/>
<link rel="stylesheet" type="text/scss" href="/stock/static/src/scss/stock_empty_screen.scss"/>
</xpath>
</template>
@@ -138,7 +138,7 @@
<field name="name">stock.picking.batch.tree</field>
<field name="model">stock.picking.batch</field>
<field name="arch" type="xml">
<tree string="Stock Batch Transfer" multi_edit="1">
<tree string="Stock Batch Transfer" multi_edit="1" sample="1">
<field name="name" decoration-bf="1"/>
<field name="user_id" widget="many2one_avatar_user"/>
<field name="company_id" groups="base.group_multi_company"/>
@@ -151,7 +151,7 @@
<field name="name">stock.picking.batch.kanban</field>
<field name="model">stock.picking.batch</field>
<field name="arch" type="xml">
<kanban class="o_kanban_mobile">
<kanban class="o_kanban_mobile" sample="1">
<field name="name"/>
<field name="user_id"/>
<field name="state"/>