odoo-addon-shopfloor 18.0.0.1.0.15__py3-none-any.whl → 18.0.0.1.1__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
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:f606f7cc780de1cd3fdafa4a5de793b9705110e5067af79704c8c5529fa80090
14
+ !! source digest: sha256:739657eee1fdf9678a26382abddbac38fe12b94108c24fc7367b427639a5c8b9
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "name": "Shopfloor",
8
8
  "summary": "manage warehouse operations with barcode scanners",
9
- "version": "18.0.0.1.0",
9
+ "version": "18.0.0.1.1",
10
10
  "development_status": "Beta",
11
11
  "category": "Inventory",
12
12
  "website": "https://github.com/OCA/stock-logistics-shopfloor",
@@ -129,13 +129,13 @@ class StockAction(Component):
129
129
  if split:
130
130
  line._split_partial_quantity()
131
131
  data = {
132
- "picked": True,
133
132
  "shopfloor_user_id": user.id,
133
+ "qty_picked": quantity or line.quantity,
134
134
  }
135
135
  if package:
136
136
  # destination package is set to the scanned one
137
137
  data["result_package_id"] = package.id
138
- line.write(data)
138
+ line.update(data)
139
139
  values_assigned = {
140
140
  "user_id": user.id,
141
141
  "printed": True,
@@ -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:f606f7cc780de1cd3fdafa4a5de793b9705110e5067af79704c8c5529fa80090
375
+ !! source digest: sha256:739657eee1fdf9678a26382abddbac38fe12b94108c24fc7367b427639a5c8b9
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"><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"><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>Shopfloor is a barcode scanner application for internal warehouse
@@ -34,6 +34,8 @@ class TestActionsStock(CommonCase):
34
34
  # all lines (two) are picked
35
35
  self.stock.mark_move_line_as_picked(lines_picked)
36
36
  self.assertTrue(self.picking.user_id)
37
+ self.assertEqual(lines_picked.mapped("picked"), [True, True])
38
+ self.assertEqual(lines_picked.mapped("qty_picked"), [10.0, 10.0])
37
39
  # unpick one line
38
40
  line_unpicked = lines_picked[0]
39
41
  self.stock.unmark_move_line_as_picked(line_unpicked)
@@ -45,3 +47,5 @@ class TestActionsStock(CommonCase):
45
47
  self.assertTrue(self.picking.move_line_ids.shopfloor_user_id)
46
48
  self.assertFalse(picking_not_assigned.move_line_ids.shopfloor_user_id)
47
49
  self.assertFalse(picking_not_assigned.user_id)
50
+ self.assertEqual(lines_picked.mapped("picked"), [False, True])
51
+ self.assertEqual(lines_picked.mapped("qty_picked"), [0.0, 10.0])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-shopfloor
3
- Version: 18.0.0.1.0.15
3
+ Version: 18.0.0.1.1
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-base_rest==18.0.*
6
6
  Requires-Dist: odoo-addon-jsonifier==18.0.*
@@ -42,7 +42,7 @@ Shopfloor
42
42
  !! This file is generated by oca-gen-addon-readme !!
43
43
  !! changes will be overwritten. !!
44
44
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
45
- !! source digest: sha256:f606f7cc780de1cd3fdafa4a5de793b9705110e5067af79704c8c5529fa80090
45
+ !! source digest: sha256:739657eee1fdf9678a26382abddbac38fe12b94108c24fc7367b427639a5c8b9
46
46
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
47
47
 
48
48
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/shopfloor/README.rst,sha256=CIyL3x7NAtuAml1qbQzvPz2O_6uirZwDjgKxKjQz2k8,6138
1
+ odoo/addons/shopfloor/README.rst,sha256=oom3Z11sfQ2oh5S2iUEvDY0f-SMqhH9_Ak-eqBRw3qg,6138
2
2
  odoo/addons/shopfloor/__init__.py,sha256=ke3RmZ7XkX-lz4S8NHAxNIEJ5_Nvj5bjBAqD-W-q73c,91
3
- odoo/addons/shopfloor/__manifest__.py,sha256=oK3KofmDHXfLWUyiQ_ieTeZba3Lk8wLYlcIjd5YBpuk,2572
3
+ odoo/addons/shopfloor/__manifest__.py,sha256=vN8M0l82HXbVsDfPzmrSz9QroUhDnqWWTTbgWJTnPyU,2572
4
4
  odoo/addons/shopfloor/exceptions.py,sha256=81KpIGVkuYRhA0cIuml4pg4G3izqkAAhLqoXZbUd4X8,197
5
5
  odoo/addons/shopfloor/utils.py,sha256=Be7J8Tu7ivOW4lpe8IjKxwqfTwfmK-ZkeFEavoYIIF4,375
6
6
  odoo/addons/shopfloor/actions/__init__.py,sha256=_yTf-NtaJmSylBJIoJJvKNYEI-wlqpyRw-S5eJRRzEM,400
@@ -17,7 +17,7 @@ odoo/addons/shopfloor/actions/savepoint.py,sha256=bIpPUPg-2BbO8hz277kWnq4DP_cayh
17
17
  odoo/addons/shopfloor/actions/schema.py,sha256=H_4HCaYB7HiqU35WO2NmHtOLJ087iFLbiJD4HdiHFjU,8555
18
18
  odoo/addons/shopfloor/actions/schema_detail.py,sha256=_xtm8ptRXAPBIMTyr8XKMQtogcjBudh-QRqKUZEEHGU,4968
19
19
  odoo/addons/shopfloor/actions/search.py,sha256=1cGfiB4TTIp5Vi8p_0muliueMmvmRB69-0nlrPh8gnI,6957
20
- odoo/addons/shopfloor/actions/stock.py,sha256=U7aDC4HKlKKfId76DPhBKcDJRYGGTExNEmuC_Ti9u84,11105
20
+ odoo/addons/shopfloor/actions/stock.py,sha256=UazVXoxmL6Q7FDiCGs24DZBpzv4enHEwXZAyV3Wf8vU,11131
21
21
  odoo/addons/shopfloor/actions/stock_unreserve.py,sha256=P0a9V53MqG4sDln8yX0Id-nEXz7cydiFY_BBznioQpg,3090
22
22
  odoo/addons/shopfloor/components/__init__.py,sha256=a3ox1WOD1JhrQUrYMRn-yDJI0Vvc7ciKdmXuZB29ToU,173
23
23
  odoo/addons/shopfloor/components/scan_handler_location.py,sha256=LImiaG4L4xBKUFWZLSnJV-eSCvj_NCDCM5GqZSnsPmE,825
@@ -82,7 +82,7 @@ odoo/addons/shopfloor/services/zone_picking.py,sha256=aVEopqoqhZ3Qph4aUKG6o5uw8c
82
82
  odoo/addons/shopfloor/services/forms/__init__.py,sha256=nxwJdKX47hb56ERf4Qb3UE5dkdsHCbkaXMAXs4XMAd8,27
83
83
  odoo/addons/shopfloor/services/forms/picking_form.py,sha256=pX1hbALlCqTVG3m1HYY5xtgbTcSHVnpaGaqm3akBS-U,2718
84
84
  odoo/addons/shopfloor/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
85
- odoo/addons/shopfloor/static/description/index.html,sha256=K4-WgAN2sK22IptiYlc5DQkCurui1NM4WmXjodkTHQk,18540
85
+ odoo/addons/shopfloor/static/description/index.html,sha256=sNFDR03aalSLT7TwWBiS768jTi8iEbHXZhZKHPybCpM,18540
86
86
  odoo/addons/shopfloor/tests/__init__.py,sha256=uetw9BRcHv2tyhsGQCSbVsfKhgAB3M8_pCqeHWnAI-s,4109
87
87
  odoo/addons/shopfloor/tests/common.py,sha256=eTiOf7garD3NqeCJ8OGIh0P77VO0Saqo-0zatfuEZ_c,11623
88
88
  odoo/addons/shopfloor/tests/models.py,sha256=PWNPC6DgFMbrarojSxUqwycnBdePX-4Q5Z0rn1WwQqY,940
@@ -93,7 +93,7 @@ odoo/addons/shopfloor/tests/test_actions_data_detail.py,sha256=ywqEnZDp1Z6SJqEh-
93
93
  odoo/addons/shopfloor/tests/test_actions_packaging.py,sha256=viofwEFk4aqn2tNaQGz2gGvBH6XoY25c6fO0a0uU448,1616
94
94
  odoo/addons/shopfloor/tests/test_actions_search.py,sha256=UOBemh1RxDabMhyIRQZfRM7-YlBF4kJIvsilyYsh03A,9232
95
95
  odoo/addons/shopfloor/tests/test_actions_search_move_line.py,sha256=ys7Y0mGdg3LNs8l1x8WCx8I_Qb9xsU9XAXOGPKuWv48,5783
96
- odoo/addons/shopfloor/tests/test_actions_stock.py,sha256=aoAsM0VBT-KQK4beDnUbJJTbvgUHTUn9w67PjUuFS3I,1899
96
+ odoo/addons/shopfloor/tests/test_actions_stock.py,sha256=scD-EYuJ0cctSELBZ0x5gKABDzGtC_LFf5h1K0-hntU,2187
97
97
  odoo/addons/shopfloor/tests/test_checkout_auto_post.py,sha256=MQegCrTJ5ztWm3bii-LqcTMWFHzUzQ1zHznYzhXu4o4,3093
98
98
  odoo/addons/shopfloor/tests/test_checkout_base.py,sha256=2eV0vigYjU9VdoL8gBHEBWJF_0RybMzKClVxlYLd1U8,3374
99
99
  odoo/addons/shopfloor/tests/test_checkout_cancel_line.py,sha256=Fpavj9awDAhjcU9XviMlmXGVHjwxZTra0i8qUT3jQkw,5366
@@ -184,7 +184,7 @@ odoo/addons/shopfloor/views/shopfloor_menu.xml,sha256=LK_XdKawKqXPTaE1tq4r5dXR62
184
184
  odoo/addons/shopfloor/views/stock_location.xml,sha256=d7iqbOQZbb5YPSdAXlQ6spcj8dUvQ37DpEGuaLX5B1M,829
185
185
  odoo/addons/shopfloor/views/stock_move_line.xml,sha256=AmIO95-G0AD5i5C3x_BQL_NARXvyCfe4mg9iM97wD1U,1996
186
186
  odoo/addons/shopfloor/views/stock_picking_type.xml,sha256=M3U8xijiL6ZJUx2IiYelIYECsCRtOCU1J6lwlWzx3Jo,778
187
- odoo_addon_shopfloor-18.0.0.1.0.15.dist-info/METADATA,sha256=-GqLHIc1f-T5NNM7NT_dji-Wf3C3ecoofYXur2vXZfc,7583
188
- odoo_addon_shopfloor-18.0.0.1.0.15.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
189
- odoo_addon_shopfloor-18.0.0.1.0.15.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
190
- odoo_addon_shopfloor-18.0.0.1.0.15.dist-info/RECORD,,
187
+ odoo_addon_shopfloor-18.0.0.1.1.dist-info/METADATA,sha256=O7xsWAIGaPTTb5uDlh0Ftm2cBG0C70sBHY_QaDA4x6E,7580
188
+ odoo_addon_shopfloor-18.0.0.1.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
189
+ odoo_addon_shopfloor-18.0.0.1.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
190
+ odoo_addon_shopfloor-18.0.0.1.1.dist-info/RECORD,,