odoo-addon-shopfloor-mobile 18.0.1.0.3__py3-none-any.whl → 18.0.1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ Shopfloor mobile
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:7a96ff348aaae4092053b16cd29fc17134f644d0548f7889cd878ef528245d6d
14
+ !! source digest: sha256:f11a7e7a700fc6e1775181ec1bf347f9bf3759504dcaa3d16e6c2211b61a9e55
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -5,7 +5,7 @@
5
5
  {
6
6
  "name": "Shopfloor mobile",
7
7
  "summary": "Mobile frontend for WMS Shopfloor app",
8
- "version": "18.0.1.0.3",
8
+ "version": "18.0.1.2.0",
9
9
  "depends": ["shopfloor", "shopfloor_mobile_base"],
10
10
  "author": "Camptocamp, BCIM, Akretion, Odoo Community Association (OCA)",
11
11
  "maintainers": ["simahawk"],
@@ -372,7 +372,7 @@ ul.auto-toc {
372
372
  !! This file is generated by oca-gen-addon-readme !!
373
373
  !! changes will be overwritten. !!
374
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
- !! source digest: sha256:7a96ff348aaae4092053b16cd29fc17134f644d0548f7889cd878ef528245d6d
375
+ !! source digest: sha256:f11a7e7a700fc6e1775181ec1bf347f9bf3759504dcaa3d16e6c2211b61a9e55
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
377
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-shopfloor/tree/18.0/shopfloor_mobile"><img alt="OCA/stock-logistics-shopfloor" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--shopfloor-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-shopfloor-18-0/stock-logistics-shopfloor-18-0-shopfloor_mobile"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-shopfloor&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
378
  <p>Frontend for Shopfloor app.</p>
@@ -218,15 +218,15 @@ export var PackagingQtyPicker = Vue.component("packaging-qty-picker", {
218
218
  this.$root.trigger("qty_edit", this.qty);
219
219
  },
220
220
  computed: {
221
- qty_color: function () {
222
- if (this.qty === this.qtyTodo) {
221
+ qty_color_class: function () {
222
+ if (this.qty == this.qtyTodo) {
223
223
  if (this.readonly) return "";
224
- return "background-color: rgb(143, 191, 68)";
224
+ return "qty-color-green";
225
225
  }
226
226
  if (this.qty > this.qtyTodo) {
227
- return "background-color: orangered";
227
+ return "qty-color-orangered";
228
228
  }
229
- return "background-color: pink";
229
+ return "qty-color-pink";
230
230
  },
231
231
  qty_todo_by_pkg: function () {
232
232
  // Used to calculate the qty needed of each package type
@@ -251,7 +251,7 @@ export var PackagingQtyPicker = Vue.component("packaging-qty-picker", {
251
251
  <v-expansion-panel-header expand-icon="mdi-menu-down">
252
252
  <v-row dense align="center">
253
253
  <v-col cols="5" md="3">
254
- <input type="number" v-model="qty" class="qty-done" :style="qty_color"
254
+ <input type="number" v-model="qty" class="qty-done"
255
255
  v-on:click.stop
256
256
  :readonly="readonly"
257
257
  />
@@ -272,7 +272,7 @@ export var PackagingQtyPicker = Vue.component("packaging-qty-picker", {
272
272
  :class="(readonly && !qty_by_pkg[pkg.id]) ? 'd-none' : ''"
273
273
  >
274
274
  <v-col cols="4" md="2">
275
- <input type="text" inputmode="decimal" class="qty-done"
275
+ <input type="text" inputmode="decimal" :class="['qty-done', qty_by_pkg[pkg.id] > 0 ? qty_color_class : '']"
276
276
  v-model.lazy="qty_by_pkg[pkg.id]"
277
277
  :data-origvalue="qty_by_pkg[pkg.id]"
278
278
  :data-pkg="JSON.stringify(pkg)"
@@ -285,8 +285,8 @@ export var PackagingQtyPicker = Vue.component("packaging-qty-picker", {
285
285
  <span class="qty-todo">/ {{ qty_todo_by_pkg[pkg.id] }}</span>
286
286
  </v-col>
287
287
  <v-col>
288
- <div class="pkg-name"> {{ pkg[pkgNameKey] }}</div>
289
- <div v-if="contained_packaging[pkg.id]" class="pkg-qty">(x{{ contained_packaging[pkg.id].qty }} {{ contained_packaging[pkg.id].pkg.name }})</div>
288
+ <div :class="qty_by_pkg[pkg.id] > 0 ? 'pkg-name font-weight-bold' : 'pkg-name'"> {{ pkg[pkgNameKey] }}</div>
289
+ <div v-if="contained_packaging[pkg.id]" :class="qty_by_pkg[pkg.id] > 0 ? 'pkg-qty font-weight-bold' : 'pkg-qty'">(x{{ contained_packaging[pkg.id].qty }} {{ contained_packaging[pkg.id].pkg.name }})</div>
290
290
  </v-col>
291
291
  </v-row>
292
292
  </v-expansion-panel-content>
@@ -50,6 +50,17 @@ ul.packaging span:first-child {
50
50
  .packaging-qty-picker .qty-todo {
51
51
  text-align: center;
52
52
  }
53
+
54
+ .packaging-qty-picker .qty-color-green {
55
+ background-color: rgb(143, 191, 68, 0.5);
56
+ }
57
+ .packaging-qty-picker .qty-color-orangered {
58
+ background-color: orangered;
59
+ }
60
+ .packaging-qty-picker .qty-color-pink {
61
+ background-color: pink;
62
+ }
63
+
53
64
  .packaging-qty-picker .pkg-name {
54
65
  line-height: 1;
55
66
  padding-top: 2px;
@@ -80,6 +80,12 @@ const Checkout = {
80
80
  <v-alert type="info" tile v-if="state.data.packing_info" class="packing-info">
81
81
  <p v-text="state.data.packing_info" />
82
82
  </v-alert>
83
+ <v-alert type="info" tile
84
+ v-if="(state.data.picking.note && state.data.picking.note !== '<p></p>')"
85
+ class="packing-info"
86
+ >
87
+ <p class="split-text-lines" v-html="state.data.picking.note" />
88
+ </v-alert>
83
89
  <item-detail-card
84
90
  v-if="state.data.picking.carrier"
85
91
  :key="make_state_component_key(['picking-carrier', state.data.picking.id])"
@@ -35,6 +35,12 @@ const ClusterPicking = {
35
35
  v-on:confirm="state.on_confirm"
36
36
  v-on:cancel="state.on_cancel"
37
37
  />
38
+ <v-alert type="info" tile
39
+ v-if="state_is('start_line') && (state.data.picking.note && state.data.picking.note !== '<p></p>')"
40
+ class="packing-info"
41
+ >
42
+ <p class="split-text-lines" v-html="state.data.picking.note" />
43
+ </v-alert>
38
44
  <batch-picking-line-detail
39
45
  v-if="state_in(['start_line', 'scan_destination', 'change_pack_lot', 'stock_issue'])"
40
46
  :line="state.data"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-shopfloor_mobile
3
- Version: 18.0.1.0.3
3
+ Version: 18.0.1.2.0
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-shopfloor==18.0.*
6
6
  Requires-Dist: odoo-addon-shopfloor_mobile_base==18.0.*
@@ -29,7 +29,7 @@ Shopfloor mobile
29
29
  !! This file is generated by oca-gen-addon-readme !!
30
30
  !! changes will be overwritten. !!
31
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
- !! source digest: sha256:7a96ff348aaae4092053b16cd29fc17134f644d0548f7889cd878ef528245d6d
32
+ !! source digest: sha256:f11a7e7a700fc6e1775181ec1bf347f9bf3759504dcaa3d16e6c2211b61a9e55
33
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
34
34
 
35
35
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/shopfloor_mobile/README.rst,sha256=I1E83vPFouNa6kIrwcaBO1h4cTkCZDLbPpqfh6c1lKY,7544
1
+ odoo/addons/shopfloor_mobile/README.rst,sha256=7WQccBedKBt308BUhkzW-7V_gZcYbZfKNg7lqOOvUQE,7544
2
2
  odoo/addons/shopfloor_mobile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- odoo/addons/shopfloor_mobile/__manifest__.py,sha256=K23CSSRQk7nZ2KANJc7UiMkc6pgWAu57RgQwldqF5U0,705
3
+ odoo/addons/shopfloor_mobile/__manifest__.py,sha256=yJ8cn1BzcL5sW8pxARalMnF_dYkERpljKOU31_19-KQ,705
4
4
  odoo/addons/shopfloor_mobile/i18n/de.po,sha256=6eRN27NdcMT5a9_rC7t-L1IyssIf4d0sV8XcBlxYETU,411
5
5
  odoo/addons/shopfloor_mobile/i18n/es_AR.po,sha256=8mGWCcMew3na_BE6yzC9aGqTSHNwLq_fu1r-JnZnYGE,1149
6
6
  odoo/addons/shopfloor_mobile/i18n/it.po,sha256=Fuhk7nf_wDaq10_RJlCCe4xE6u8qKIml2r_4nUJ1O1w,412
@@ -13,7 +13,7 @@ odoo/addons/shopfloor_mobile/readme/HISTORY.md,sha256=uDTaJkR5ECI5b0x32Vuj4ONzBV
13
13
  odoo/addons/shopfloor_mobile/readme/ROADMAP.md,sha256=GMldnYqUvyrfgwUbIjZ_68wJtHmOyE1Tb_vQZtAplOo,1741
14
14
  odoo/addons/shopfloor_mobile/readme/USAGE.md,sha256=0rRYeb0UEsTSg2EiEB0WHlOGdEMX8sCJT5blDcF0fFU,618
15
15
  odoo/addons/shopfloor_mobile/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
16
- odoo/addons/shopfloor_mobile/static/description/index.html,sha256=fb5lTmol1aswogmSeGzVLRzsOLKaf3jRBttvBzb2c_Y,18351
16
+ odoo/addons/shopfloor_mobile/static/description/index.html,sha256=ANnQC5nKU1BQDO6AyovyQdpnt9db68nx2HnyDJt-Lnc,18351
17
17
  odoo/addons/shopfloor_mobile/static/wms/.gitignore,sha256=rQCFL3FQm3Lll35BRUETzj1HYlakdld--GvTGLPeHpE,214
18
18
  odoo/addons/shopfloor_mobile/static/wms/src/screen.esm.js,sha256=77TQgYSfpnErCuhV9FjQujMFlrKU7EZ6OdeTJnZutV8,1461
19
19
  odoo/addons/shopfloor_mobile/static/wms/src/wms_utils.esm.js,sha256=uq0DMfWzhbhTG8YguqCWhXGHQymSPOh5qTEgezDZBO8,12181
@@ -21,7 +21,7 @@ odoo/addons/shopfloor_mobile/static/wms/src/components/batch_picking_detail.esm.
21
21
  odoo/addons/shopfloor_mobile/static/wms/src/components/batch_picking_line_detail.esm.js,sha256=4d32G1yQAlzmjOGr9ta4VC8olCLREN_U-xbkJGf8XSU,4772
22
22
  odoo/addons/shopfloor_mobile/static/wms/src/components/manual_select_color.esm.js,sha256=COp95jc7KHzZJj5hVkIh0a4cvYyZMGSP-nwUG2LhrKY,937
23
23
  odoo/addons/shopfloor_mobile/static/wms/src/components/misc.esm.js,sha256=sd5r1W16vefj0_Ukx3L6zP_9Ph7fhSTO_lRfr5YGxZk,6250
24
- odoo/addons/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.esm.js,sha256=ACPUtc8VGIxTSF7i4wAw3TRBanwVK6sCeemSLqlmwjk,12148
24
+ odoo/addons/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.esm.js,sha256=kNGxLBE1rJeVPvKQQWGEh6hC8X8BFLeBhNB5Qi1CtOg,12265
25
25
  odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_location.esm.js,sha256=ZBb339MzSWOPvhZFD1rsPcuTKhJzxdbx_7G_m_7Zcv8,5009
26
26
  odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_lot.esm.js,sha256=pJi7YWfe3S5TII7vu1tlcwprH8X1rVuOdJGB-A2H_QE,3230
27
27
  odoo/addons/shopfloor_mobile/static/wms/src/components/detail/detail_operation.esm.js,sha256=EvGXb195Js7koQyUChcfwdgfUcPKYgpGs1qI4IaJNR8,1740
@@ -33,7 +33,7 @@ odoo/addons/shopfloor_mobile/static/wms/src/components/forms/form_edit_stock_pic
33
33
  odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/mixins.esm.js,sha256=J_6lkp3NdOyDMbPfFo_L55ZExd7zOQdhXtx9YurQWPE,4055
34
34
  odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_select.esm.js,sha256=DLoO26gYhBLO-G7Jg0Kp2m9_VnaYZC49O7DjEY4Apq8,5036
35
35
  odoo/addons/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_summary.esm.js,sha256=n8Q4W3b2CYDG8t1_HNcPqci-xHbLDFbeDvX9VUdGKTI,9286
36
- odoo/addons/shopfloor_mobile/static/wms/src/css/main.css,sha256=IUQoC2TMPRXOmVsIxZcRmgJ4dM0FRQ7Fn84iVqnY5Y8,1613
36
+ odoo/addons/shopfloor_mobile/static/wms/src/css/main.css,sha256=vQ5iafSnMf2CzripcSJ7cfctcC_mGQSq4Rtknc2a1lI,1854
37
37
  odoo/addons/shopfloor_mobile/static/wms/src/css/normalize.css,sha256=bdpVgqwoXxfp59Yz0w32yF7uaIWAHPbSlQYY4DWeUII,6260
38
38
  odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.checkout.esm.js,sha256=h_x9-q_fI6KJnxOEUaeeV3Cf0R7fDqka2wPh6imvRkE,7324
39
39
  odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.cluster_picking.esm.js,sha256=SrEdrpMmyp9VgtArLnZZYRbwv350B58vRomvw5eXo_E,5192
@@ -46,15 +46,15 @@ odoo/addons/shopfloor_mobile/static/wms/src/demo/demo.zone_picking.esm.js,sha256
46
46
  odoo/addons/shopfloor_mobile/static/wms/src/i18n/add_translations_to_registry.esm.js,sha256=oOQBHbaQ9zKDgIvBPE3B3T7glyLPkp6auRtwJUma48I,280
47
47
  odoo/addons/shopfloor_mobile/static/wms/src/i18n/en.json,sha256=gn981MlQXNBYiVZHWOV4o0LzdrCqZ2Z9ptjPArF8C-Q,1944
48
48
  odoo/addons/shopfloor_mobile/static/wms/src/i18n/fr.json,sha256=-nRVyM2PsggBL1WjxYzyeRdC4kwx7HzSOXAN83TJehE,1941
49
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/checkout.esm.js,sha256=3ifO6NykRa0TLR8jqM1dczxtOhyvzlec9oouQH3Bxqg,19440
49
+ odoo/addons/shopfloor_mobile/static/wms/src/scenario/checkout.esm.js,sha256=QYDqBo-qV2sOUUjLwPB1S4Z9LsSAJzWInI_BQtXwAa4,19750
50
50
  odoo/addons/shopfloor_mobile/static/wms/src/scenario/checkout_states.esm.js,sha256=7ncCEy5EoSonXk1hQX0r-ptSlYFuhfBqPFfKxRyWXqg,15060
51
- odoo/addons/shopfloor_mobile/static/wms/src/scenario/cluster_picking.esm.js,sha256=h08tBH3Fz3hNvg8BZExS_NKQBft6F3XLMwx6zVA_V3g,20547
51
+ odoo/addons/shopfloor_mobile/static/wms/src/scenario/cluster_picking.esm.js,sha256=wiC_LfgJsUuqhIZ2aAUZ6J5NfRsIyE66KgwX-siKtRA,20859
52
52
  odoo/addons/shopfloor_mobile/static/wms/src/scenario/delivery.esm.js,sha256=Vko1GQWH8VKXuwozOaod2HjBoyPLR3-E8QQnghUldOs,15062
53
53
  odoo/addons/shopfloor_mobile/static/wms/src/scenario/location_content_transfer.esm.js,sha256=l7cPPf4wAZntUcnsapldO_LalHCwvfR4snnsfwwFWzA,18335
54
54
  odoo/addons/shopfloor_mobile/static/wms/src/scenario/single_pack_transfer.esm.js,sha256=ipc8fKBtv4_KRZBEBV5pmmefjtHnSOarx5KUnfyjNoE,6114
55
55
  odoo/addons/shopfloor_mobile/static/wms/src/scenario/zone_picking.esm.js,sha256=mNcE39AtO9vPfjSrNybjV9hiNoSErMyJ0ev1PgOOxd0,44849
56
56
  odoo/addons/shopfloor_mobile/templates/assets.xml,sha256=Lvp0SaP1r9p8yvS6Td4oRW3s7kVlRFvRhl3W-WhuVZ8,8209
57
- odoo_addon_shopfloor_mobile-18.0.1.0.3.dist-info/METADATA,sha256=dct98hMz43WXKrBaudDMqSd13vFBqfskLd5gBIMyj4U,8230
58
- odoo_addon_shopfloor_mobile-18.0.1.0.3.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
59
- odoo_addon_shopfloor_mobile-18.0.1.0.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
60
- odoo_addon_shopfloor_mobile-18.0.1.0.3.dist-info/RECORD,,
57
+ odoo_addon_shopfloor_mobile-18.0.1.2.0.dist-info/METADATA,sha256=YVSzSFdGZ1kBF3paVnTsondU4d1RNzk6M8cKjzfToYs,8230
58
+ odoo_addon_shopfloor_mobile-18.0.1.2.0.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
59
+ odoo_addon_shopfloor_mobile-18.0.1.2.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
60
+ odoo_addon_shopfloor_mobile-18.0.1.2.0.dist-info/RECORD,,