odoo-addon-shopfloor 18.0.0.3.0__py3-none-any.whl → 18.0.0.3.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:039c0e1f10bbf63b4fd82fea958772168aea3e98a4fb38955960a74f946bd07d
14
+ !! source digest: sha256:ba88a2ff0fc8dc7ea2a811a9507ddb4144cef230f98b4cbb1a6b506edefe389f
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.3.0",
9
+ "version": "18.0.0.3.1",
10
10
  "development_status": "Beta",
11
11
  "category": "Inventory",
12
12
  "website": "https://github.com/OCA/stock-logistics-shopfloor",
@@ -149,7 +149,9 @@ class SearchAction(Component):
149
149
  if not barcode:
150
150
  return model.browse()
151
151
  domain = [
152
+ "|",
152
153
  ("company_id", "=", self.env.company.id),
154
+ ("company_id", "=", False),
153
155
  ("name", "=", barcode),
154
156
  ]
155
157
  if products:
@@ -63,7 +63,7 @@ class ZonePicking(Component):
63
63
  * they scan a location, in which case the move line's destination is
64
64
  updated with it and the move is done
65
65
  * they scan a package, which becomes the destination package of the move
66
- line, the move line is not set to done, its ``qty_done`` is updated
66
+ line, the move line is not set to done, its ``qty_picked`` is updated
67
67
  and a field ``shopfloor_user_id`` is set to the user; consider the
68
68
  move line is set in a buffer
69
69
 
@@ -451,7 +451,6 @@ class ZonePicking(Component):
451
451
  def _find_buffer_move_lines_domain(self, dest_package=None):
452
452
  domain = [
453
453
  ("picking_id.picking_type_id", "in", self.picking_types.ids),
454
- ("qty_picked", ">", 0),
455
454
  ("picked", "=", True),
456
455
  ("state", "not in", ("cancel", "done")),
457
456
  ("result_package_id", "!=", False),
@@ -1152,7 +1151,7 @@ class ZonePicking(Component):
1152
1151
  moved is 0 in the source location after the move (beware: at this
1153
1152
  point the product we put in the buffer is still considered to be in
1154
1153
  the source location, so we have to compute the source location's
1155
- quantity - qty_done).
1154
+ quantity - picked qty).
1156
1155
  * set_line_destination: the scanned location is invalid, user has to
1157
1156
  scan another one
1158
1157
  * set_line_destination+confirmation_required: the scanned location is not
@@ -1352,7 +1351,7 @@ class ZonePicking(Component):
1352
1351
  ("package_id", "=", package.id),
1353
1352
  ("lot_id", "=", lot.id),
1354
1353
  ("state", "not in", ("cancel", "done")),
1355
- ("qty_picked", "=", 0),
1354
+ ("picked", "=", False),
1356
1355
  ]
1357
1356
  return domain
1358
1357
 
@@ -1363,11 +1362,11 @@ class ZonePicking(Component):
1363
1362
  because there is physically not enough goods. The move line is deleted
1364
1363
  (unreserve), and an inventory is created to reduce the quantity in the
1365
1364
  source location to prevent future errors until a correction. Beware:
1366
- the quantity already reserved and having a qty_done set on other lines
1365
+ the quantity already reserved and having a picked qty on other lines
1367
1366
  in the same location should remain reserved so the inventory's quantity
1368
- must be set to the total of qty_done of other lines.
1367
+ must be set to the total of picked qty of other lines.
1369
1368
 
1370
- The other lines not yet picked (no qty_done) in the same location for
1369
+ The other lines not yet picked in the same location for
1371
1370
  the same product, lot, package are unreserved as well (moves lines
1372
1371
  deleted, which unreserve their quantity on the move).
1373
1372
 
@@ -1483,7 +1482,7 @@ class ZonePicking(Component):
1483
1482
 
1484
1483
  * in the current zone location and picking type
1485
1484
  * not done or canceled
1486
- * with a qty_done > 0
1485
+ * picked
1487
1486
  * have a destination package
1488
1487
  * with ``shopfloor_user_id`` equal to the current user
1489
1488
 
@@ -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:039c0e1f10bbf63b4fd82fea958772168aea3e98a4fb38955960a74f946bd07d
375
+ !! source digest: sha256:ba88a2ff0fc8dc7ea2a811a9507ddb4144cef230f98b4cbb1a6b506edefe389f
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
@@ -76,8 +76,7 @@ from . import test_zone_picking_set_line_destination_no_prefill_qty
76
76
  from . import test_zone_picking_set_line_destination_pick_pack
77
77
  from . import test_zone_picking_zero_check
78
78
  from . import test_zone_picking_stock_issue
79
-
80
- # from . import test_zone_picking_change_pack_lot
79
+ from . import test_zone_picking_change_pack_lot
81
80
  from . import test_zone_picking_unload_buffer_lines
82
81
  from . import test_zone_picking_unload_single
83
82
  from . import test_zone_picking_unload_all
@@ -160,7 +160,7 @@ class ZonePickingSelectLineCase(ZonePickingCommonCase):
160
160
  qty_done=10.0,
161
161
  )
162
162
  # first line done
163
- move_line._pick_qty(move_line.quantity)
163
+ move_line.picked = True
164
164
  # get the next one
165
165
  response = self.service.dispatch(
166
166
  "scan_source",
@@ -751,7 +751,7 @@ class ZonePickingSelectLineCase(ZonePickingCommonCase):
751
751
  )
752
752
  self.assertTrue(move_line_will_empty_location)
753
753
  # But if we check the location without giving the move line as parameter,
754
- # knowing that this move line hasn't its 'qty_done' field filled,
754
+ # knowing that this move line hasn't its 'qty_picked' field filled,
755
755
  # the location won't be considered empty with such pending move line
756
756
  move_line_will_empty_location = location_src.planned_qty_in_location_is_empty()
757
757
  self.assertFalse(move_line_will_empty_location)
@@ -68,7 +68,7 @@ class ZonePickingSetLineDestinationPickPackCase(ZonePickingCommonCase):
68
68
  move_line = self.picking1.move_line_ids
69
69
  move_line.location_dest_id = self.shelf1
70
70
  quantity_reserved = move_line.quantity
71
- previous_qty_done = move_line.qty_picked
71
+ previous_qty_picked = move_line.qty_picked
72
72
  # Confirm the destination with the right destination
73
73
  response = self.service.dispatch(
74
74
  "set_destination",
@@ -78,7 +78,7 @@ class ZonePickingSetLineDestinationPickPackCase(ZonePickingCommonCase):
78
78
  "quantity": quantity_reserved,
79
79
  },
80
80
  )
81
- self.assertEqual(move_line.qty_picked, previous_qty_done)
81
+ self.assertEqual(move_line.qty_picked, previous_qty_picked)
82
82
  self.assert_response_set_line_destination(
83
83
  response,
84
84
  zone_location,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-shopfloor
3
- Version: 18.0.0.3.0
3
+ Version: 18.0.0.3.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:039c0e1f10bbf63b4fd82fea958772168aea3e98a4fb38955960a74f946bd07d
45
+ !! source digest: sha256:ba88a2ff0fc8dc7ea2a811a9507ddb4144cef230f98b4cbb1a6b506edefe389f
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=m8vIlcHRrF8Fb_jQJsZh8aDsnuUxYI-qQjfMNOriIOI,6138
1
+ odoo/addons/shopfloor/README.rst,sha256=-Hc6d6pxlXdCzqheiYYk6moSPEe6P0qxKv42ADAMEuI,6138
2
2
  odoo/addons/shopfloor/__init__.py,sha256=ke3RmZ7XkX-lz4S8NHAxNIEJ5_Nvj5bjBAqD-W-q73c,91
3
- odoo/addons/shopfloor/__manifest__.py,sha256=LCkjhRYGu67m9yF2deaYhS1ukqsLuhMlI8iz2Su7Yos,2572
3
+ odoo/addons/shopfloor/__manifest__.py,sha256=apuuRwH0nXDJJ8podHpNQzXRen-B7PK259o7dFKBjIo,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
@@ -16,7 +16,7 @@ odoo/addons/shopfloor/actions/packaging.py,sha256=uZxD1bisNS_8M5ZQAHuOz2MR6l26XH
16
16
  odoo/addons/shopfloor/actions/savepoint.py,sha256=bIpPUPg-2BbO8hz277kWnq4DP_cayhAB_v8Rp2mUHjg,1143
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
- odoo/addons/shopfloor/actions/search.py,sha256=1cGfiB4TTIp5Vi8p_0muliueMmvmRB69-0nlrPh8gnI,6957
19
+ odoo/addons/shopfloor/actions/search.py,sha256=9mcpeYo1iFQPdt_F2wLkqK5nRpR_gkFaOTReaM2Q7r4,7014
20
20
  odoo/addons/shopfloor/actions/stock.py,sha256=oWy5QvZNv6IFbYhet0xtjV8T_bxrVi5UMy2-TIrUIko,11192
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
@@ -78,12 +78,12 @@ odoo/addons/shopfloor/services/menu.py,sha256=m1eNOReTda_xD-p-m8k2Pn5cJQOLWTiaBG
78
78
  odoo/addons/shopfloor/services/picking_batch.py,sha256=w51R5HHkQxCHle72k28VetXKfIRRh5GTaEXv6mhikvQ,4649
79
79
  odoo/addons/shopfloor/services/service.py,sha256=oTYAPM3zwm5gWgEJyBsbQlq0AODPq9T8LPwt39NTUBw,6438
80
80
  odoo/addons/shopfloor/services/single_pack_transfer.py,sha256=VotQyIH0AMbR0Wk159OMxwF2mERZlHRRXTF9ZLe6z0E,16111
81
- odoo/addons/shopfloor/services/zone_picking.py,sha256=EaVJ9zs2GhxSrpHCy9EIY_BCMu4V2O3L5-GTfy6dNYQ,84189
81
+ odoo/addons/shopfloor/services/zone_picking.py,sha256=BI25T234hcjlgGDIMjsO6PfDUKuPP7WNtZ6TcWIHoxQ,84130
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=uxww0m9eFGsRT8DpqfXChmDoQgIRCtumA3V6XILL2fo,18540
86
- odoo/addons/shopfloor/tests/__init__.py,sha256=Ku5R_NEJ7xD94G9Hcw4xBmkwyFA9aqcVfpli5PNfkho,4015
85
+ odoo/addons/shopfloor/static/description/index.html,sha256=CIM7XKUP900WQaicQfZz6OoRfT-p1ShIepEPKYE1Gdg,18540
86
+ odoo/addons/shopfloor/tests/__init__.py,sha256=8t1Eocv-42M2tzBAkG3Wa6tsfhZIUIgxOspm3hqRCd4,4012
87
87
  odoo/addons/shopfloor/tests/common.py,sha256=lFdSQRXBjwCr7StVJltEwLtA_a4V77JcBcKkGAnAL5M,11676
88
88
  odoo/addons/shopfloor/tests/models.py,sha256=PWNPC6DgFMbrarojSxUqwycnBdePX-4Q5Z0rn1WwQqY,940
89
89
  odoo/addons/shopfloor/tests/test_actions_change_package_lot.py,sha256=bUn-FXPWY-eo4kaS0S7jU4ge_xl1A9jfU_rNZQT8ZPs,47528
@@ -164,14 +164,14 @@ odoo/addons/shopfloor/tests/test_zone_picking_base.py,sha256=I4mw2TP74mwU1lTxKul
164
164
  odoo/addons/shopfloor/tests/test_zone_picking_change_pack_lot.py,sha256=9Bg29Zp-vfgnF-P4U1xgXhHWhOWxfQkzzublZU2Ee-A,5414
165
165
  odoo/addons/shopfloor/tests/test_zone_picking_complete_mix_pack_flux.py,sha256=R0xDc9LKVXCjx4KvXqrx0-Axk7PNWJ8aCZvspJG7Jxc,2325
166
166
  odoo/addons/shopfloor/tests/test_zone_picking_require_destination_package.py,sha256=rYXFntqBjGhxWS_kxEBbhP5Lkd1AdTI15wSd6TIyVRA,2248
167
- odoo/addons/shopfloor/tests/test_zone_picking_select_line.py,sha256=W8mVKBK5K8rA3szolkXJMeD7BLb7NxEJ_snnYJWwZJg,30144
167
+ odoo/addons/shopfloor/tests/test_zone_picking_select_line.py,sha256=0Go4E6ZKq-GDwa-Q8gVM4IXQGkSxYqZny7M5-6_YyZk,30130
168
168
  odoo/addons/shopfloor/tests/test_zone_picking_select_line_first_scan_location.py,sha256=uXDRd70zWRy08SinTULIzTJHEmC9u7FpVqOStuigElc,8464
169
169
  odoo/addons/shopfloor/tests/test_zone_picking_select_line_no_prefill_qty.py,sha256=9pKownGCjuXZDjQP4O3RHePRQ7bIIB7uV1GOCJDtdME,4360
170
170
  odoo/addons/shopfloor/tests/test_zone_picking_select_picking_type.py,sha256=kuuPjKvpBRrj36z-lj4P7NMLqszkZasIdpvx9mayUQI,870
171
171
  odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination.py,sha256=fyO0LEb7MNzEoRT-NVtXzN19_l1gKGR35ncz_CTBFC4,27669
172
172
  odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination_no_prefill_qty.py,sha256=Nn2xLfD3uHEAfDQ6INUR3np9B7wttADz_FZ-r4nbymI,5230
173
173
  odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination_package_not_allowed.py,sha256=KXXnDDRfp9mTd0YoM5KSVFQMdBYTgsvMbNu1Nwkn8Vk,3669
174
- odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination_pick_pack.py,sha256=Awd6smTthYGqgorgpJK4J24R66ypSjv8iPy9nINJVxc,9002
174
+ odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination_pick_pack.py,sha256=rtRqQ0F6Vf_gIdI8vA7VWH70zgPHyvWgbOF9syBl5Q4,9006
175
175
  odoo/addons/shopfloor/tests/test_zone_picking_start.py,sha256=aINReAOIPcv10977iDD0imjYDmqKG7bhgFOvYLSLgjs,7195
176
176
  odoo/addons/shopfloor/tests/test_zone_picking_stock_issue.py,sha256=VdbSdxYL7w3M_vxTTv7ekY5UQpSoAMRaL4zqXovZcss,4498
177
177
  odoo/addons/shopfloor/tests/test_zone_picking_unload_all.py,sha256=jDBRSxTJiZeiVUGOp5VRo4BYNDdI6r2UGZPEcoe7UD0,13057
@@ -183,7 +183,7 @@ odoo/addons/shopfloor/views/shopfloor_menu.xml,sha256=LK_XdKawKqXPTaE1tq4r5dXR62
183
183
  odoo/addons/shopfloor/views/stock_location.xml,sha256=d7iqbOQZbb5YPSdAXlQ6spcj8dUvQ37DpEGuaLX5B1M,829
184
184
  odoo/addons/shopfloor/views/stock_move_line.xml,sha256=AmIO95-G0AD5i5C3x_BQL_NARXvyCfe4mg9iM97wD1U,1996
185
185
  odoo/addons/shopfloor/views/stock_picking_type.xml,sha256=M3U8xijiL6ZJUx2IiYelIYECsCRtOCU1J6lwlWzx3Jo,778
186
- odoo_addon_shopfloor-18.0.0.3.0.dist-info/METADATA,sha256=3ezSzJZ7HpndpXC47zPxsQwKr4PzS5h6u-PT312tC4Q,7580
187
- odoo_addon_shopfloor-18.0.0.3.0.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
188
- odoo_addon_shopfloor-18.0.0.3.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
189
- odoo_addon_shopfloor-18.0.0.3.0.dist-info/RECORD,,
186
+ odoo_addon_shopfloor-18.0.0.3.1.dist-info/METADATA,sha256=KAzoXnLYJsO1nn3dxi3htUGhC7IL589REK-Pwi91fos,7580
187
+ odoo_addon_shopfloor-18.0.0.3.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
188
+ odoo_addon_shopfloor-18.0.0.3.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
189
+ odoo_addon_shopfloor-18.0.0.3.1.dist-info/RECORD,,