odoo-addon-shopfloor 16.0.2.12.0.1__py3-none-any.whl → 18.0.0.1.0.15__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.
Files changed (105) hide show
  1. odoo/addons/shopfloor/README.rst +79 -52
  2. odoo/addons/shopfloor/__manifest__.py +11 -4
  3. odoo/addons/shopfloor/actions/__init__.py +0 -1
  4. odoo/addons/shopfloor/actions/change_package_lot.py +4 -6
  5. odoo/addons/shopfloor/actions/data.py +7 -6
  6. odoo/addons/shopfloor/actions/inventory.py +1 -1
  7. odoo/addons/shopfloor/actions/message.py +1 -1
  8. odoo/addons/shopfloor/actions/move_line_search.py +1 -1
  9. odoo/addons/shopfloor/actions/search.py +8 -32
  10. odoo/addons/shopfloor/actions/stock.py +7 -6
  11. odoo/addons/shopfloor/i18n/ca.po +0 -5
  12. odoo/addons/shopfloor/i18n/de.po +0 -5
  13. odoo/addons/shopfloor/i18n/es_AR.po +0 -5
  14. odoo/addons/shopfloor/i18n/it.po +2 -8
  15. odoo/addons/shopfloor/i18n/pt_BR.po +0 -5
  16. odoo/addons/shopfloor/i18n/shopfloor.pot +7 -194
  17. odoo/addons/shopfloor/models/stock_location.py +5 -5
  18. odoo/addons/shopfloor/models/stock_move.py +24 -7
  19. odoo/addons/shopfloor/models/stock_move_line.py +29 -82
  20. odoo/addons/shopfloor/models/stock_picking.py +8 -6
  21. odoo/addons/shopfloor/models/stock_quant_package.py +2 -2
  22. odoo/addons/shopfloor/readme/CONTRIBUTORS.md +17 -0
  23. odoo/addons/shopfloor/readme/CREDITS.md +5 -0
  24. odoo/addons/shopfloor/readme/DESCRIPTION.md +37 -0
  25. odoo/addons/shopfloor/readme/{HISTORY.rst → HISTORY.md} +1 -2
  26. odoo/addons/shopfloor/readme/ROADMAP.md +10 -0
  27. odoo/addons/shopfloor/readme/USAGE.md +6 -0
  28. odoo/addons/shopfloor/services/checkout.py +9 -9
  29. odoo/addons/shopfloor/services/cluster_picking.py +2 -2
  30. odoo/addons/shopfloor/services/delivery.py +4 -6
  31. odoo/addons/shopfloor/services/forms/picking_form.py +4 -1
  32. odoo/addons/shopfloor/services/location_content_transfer.py +1 -1
  33. odoo/addons/shopfloor/services/single_pack_transfer.py +1 -1
  34. odoo/addons/shopfloor/services/zone_picking.py +5 -9
  35. odoo/addons/shopfloor/static/description/index.html +41 -18
  36. odoo/addons/shopfloor/tests/__init__.py +74 -73
  37. odoo/addons/shopfloor/tests/common.py +9 -9
  38. odoo/addons/shopfloor/tests/test_actions_change_package_lot.py +104 -71
  39. odoo/addons/shopfloor/tests/test_actions_data.py +17 -21
  40. odoo/addons/shopfloor/tests/test_actions_data_base.py +9 -3
  41. odoo/addons/shopfloor/tests/test_actions_data_detail.py +17 -19
  42. odoo/addons/shopfloor/tests/test_actions_search.py +2 -1
  43. odoo/addons/shopfloor/tests/test_actions_stock.py +0 -1
  44. odoo/addons/shopfloor/tests/test_checkout_auto_post.py +3 -3
  45. odoo/addons/shopfloor/tests/test_checkout_base.py +1 -1
  46. odoo/addons/shopfloor/tests/test_checkout_list_delivery_packaging.py +1 -1
  47. odoo/addons/shopfloor/tests/test_checkout_list_package.py +4 -4
  48. odoo/addons/shopfloor/tests/test_checkout_new_package.py +3 -3
  49. odoo/addons/shopfloor/tests/test_checkout_no_package.py +3 -3
  50. odoo/addons/shopfloor/tests/test_checkout_scan_dest_location.py +1 -1
  51. odoo/addons/shopfloor/tests/test_checkout_scan_package_action.py +11 -11
  52. odoo/addons/shopfloor/tests/test_checkout_select_package_base.py +1 -1
  53. odoo/addons/shopfloor/tests/test_checkout_set_qty.py +17 -17
  54. odoo/addons/shopfloor/tests/test_checkout_summary.py +2 -2
  55. odoo/addons/shopfloor/tests/test_cluster_picking_base.py +1 -1
  56. odoo/addons/shopfloor/tests/test_cluster_picking_batch.py +2 -2
  57. odoo/addons/shopfloor/tests/test_cluster_picking_change_pack_lot.py +1 -1
  58. odoo/addons/shopfloor/tests/test_cluster_picking_is_zero.py +1 -1
  59. odoo/addons/shopfloor/tests/test_cluster_picking_scan_destination.py +17 -19
  60. odoo/addons/shopfloor/tests/test_cluster_picking_scan_line_no_prefill_qty.py +1 -1
  61. odoo/addons/shopfloor/tests/test_cluster_picking_stock_issue.py +5 -5
  62. odoo/addons/shopfloor/tests/test_delivery_base.py +4 -6
  63. odoo/addons/shopfloor/tests/test_delivery_done.py +1 -1
  64. odoo/addons/shopfloor/tests/test_delivery_reset_qty_done_line.py +1 -1
  65. odoo/addons/shopfloor/tests/test_delivery_reset_qty_done_pack.py +1 -1
  66. odoo/addons/shopfloor/tests/test_delivery_scan_deliver.py +6 -6
  67. odoo/addons/shopfloor/tests/test_location_content_transfer_base.py +2 -2
  68. odoo/addons/shopfloor/tests/test_location_content_transfer_mix.py +8 -8
  69. odoo/addons/shopfloor/tests/test_location_content_transfer_set_destination_package_or_line.py +41 -41
  70. odoo/addons/shopfloor/tests/test_location_content_transfer_single.py +3 -3
  71. odoo/addons/shopfloor/tests/test_menu_base.py +4 -4
  72. odoo/addons/shopfloor/tests/test_move_action_assign.py +19 -4
  73. odoo/addons/shopfloor/tests/test_single_pack_transfer.py +3 -3
  74. odoo/addons/shopfloor/tests/test_stock_split.py +77 -17
  75. odoo/addons/shopfloor/tests/test_zone_picking_base.py +5 -5
  76. odoo/addons/shopfloor/tests/test_zone_picking_change_pack_lot.py +2 -2
  77. odoo/addons/shopfloor/tests/test_zone_picking_complete_mix_pack_flux.py +2 -2
  78. odoo/addons/shopfloor/tests/test_zone_picking_require_destination_package.py +3 -3
  79. odoo/addons/shopfloor/tests/test_zone_picking_select_line.py +4 -4
  80. odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination.py +29 -29
  81. odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination_package_not_allowed.py +2 -2
  82. odoo/addons/shopfloor/tests/test_zone_picking_set_line_destination_pick_pack.py +12 -12
  83. odoo/addons/shopfloor/tests/test_zone_picking_start.py +1 -1
  84. odoo/addons/shopfloor/tests/test_zone_picking_unload_all.py +12 -12
  85. odoo/addons/shopfloor/tests/test_zone_picking_unload_buffer_lines.py +4 -4
  86. odoo/addons/shopfloor/tests/test_zone_picking_unload_set_destination.py +10 -10
  87. odoo/addons/shopfloor/tests/test_zone_picking_unload_single.py +3 -3
  88. odoo/addons/shopfloor/views/shopfloor_menu.xml +33 -102
  89. odoo/addons/shopfloor/views/stock_move_line.xml +2 -2
  90. odoo/addons/shopfloor/views/stock_picking_type.xml +1 -1
  91. odoo_addon_shopfloor-18.0.0.1.0.15.dist-info/METADATA +222 -0
  92. {odoo_addon_shopfloor-16.0.2.12.0.1.dist-info → odoo_addon_shopfloor-18.0.0.1.0.15.dist-info}/RECORD +94 -98
  93. {odoo_addon_shopfloor-16.0.2.12.0.1.dist-info → odoo_addon_shopfloor-18.0.0.1.0.15.dist-info}/WHEEL +1 -1
  94. odoo_addon_shopfloor-18.0.0.1.0.15.dist-info/top_level.txt +1 -0
  95. odoo/addons/shopfloor/actions/barcode_parser.py +0 -44
  96. odoo/addons/shopfloor/migrations/16.0.2.0.0/post-migration.py +0 -41
  97. odoo/addons/shopfloor/migrations/16.0.2.4.2/post-init_search_move_line_options.py +0 -33
  98. odoo/addons/shopfloor/migrations/16.0.2.4.2/post-migration.py +0 -29
  99. odoo/addons/shopfloor/readme/CONTRIBUTORS.rst +0 -18
  100. odoo/addons/shopfloor/readme/CREDITS.rst +0 -5
  101. odoo/addons/shopfloor/readme/DESCRIPTION.rst +0 -17
  102. odoo/addons/shopfloor/readme/ROADMAP.rst +0 -4
  103. odoo/addons/shopfloor/readme/USAGE.rst +0 -6
  104. odoo_addon_shopfloor-16.0.2.12.0.1.dist-info/METADATA +0 -193
  105. odoo_addon_shopfloor-16.0.2.12.0.1.dist-info/top_level.txt +0 -1
@@ -701,7 +701,7 @@ class ZonePicking(Component):
701
701
  """
702
702
  if self.work.menu.no_prefill_qty:
703
703
  return qty
704
- return move_line.reserved_uom_qty
704
+ return move_line.quantity
705
705
 
706
706
  def _scan_source_product(
707
707
  self,
@@ -952,7 +952,7 @@ class ZonePicking(Component):
952
952
  for _move_line in package.move_line_ids:
953
953
  if _move_line.state not in ("assigned", "partially_available"):
954
954
  continue
955
- _move_line.qty_done = move_line.reserved_uom_qty
955
+ _move_line.qty_done = move_line.quantity
956
956
  move_lines |= _move_line
957
957
  self._write_destination_on_lines(move_lines, location)
958
958
 
@@ -991,15 +991,11 @@ class ZonePicking(Component):
991
991
 
992
992
  def _move_line_compare_qty(self, move_line, qty):
993
993
  rounding = move_line.product_uom_id.rounding
994
- return float_compare(
995
- qty, move_line.reserved_uom_qty, precision_rounding=rounding
996
- )
994
+ return float_compare(qty, move_line.quantity, precision_rounding=rounding)
997
995
 
998
996
  def _move_line_full_qty(self, move_line, qty):
999
997
  rounding = move_line.product_uom_id.rounding
1000
- return float_is_zero(
1001
- move_line.reserved_uom_qty - qty, precision_rounding=rounding
1002
- )
998
+ return float_is_zero(move_line.quantity - qty, precision_rounding=rounding)
1003
999
 
1004
1000
  def _is_package_not_valid(self, package):
1005
1001
  message = False
@@ -1038,7 +1034,7 @@ class ZonePicking(Component):
1038
1034
  if qty_greater:
1039
1035
  response = self._response_for_set_line_destination(
1040
1036
  move_line,
1041
- message=self.msg_store.unable_to_pick_more(move_line.reserved_uom_qty),
1037
+ message=self.msg_store.unable_to_pick_more(move_line.quantity),
1042
1038
  qty_done=quantity,
1043
1039
  )
1044
1040
  return (package_changed, response)
@@ -372,10 +372,11 @@ 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:c418f1851f7591fa3b9cde9ce01a2a3507baf0066f7453d93cfea051273d85fc
375
+ !! source digest: sha256:f606f7cc780de1cd3fdafa4a5de793b9705110e5067af79704c8c5529fa80090
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/wms/tree/16.0/shopfloor"><img alt="OCA/wms" src="https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/wms-16-0/wms-16-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/wms&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
- <p>Shopfloor is a barcode scanner application for internal warehouse operations.</p>
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
+ <p>Shopfloor is a barcode scanner application for internal warehouse
379
+ operations.</p>
379
380
  <p>The application supports scenarios, to relate to Operation Types:</p>
380
381
  <ul class="simple">
381
382
  <li>Cluster Picking</li>
@@ -385,13 +386,30 @@ ul.auto-toc {
385
386
  <li>Location Content Transfer</li>
386
387
  <li>Single Pack Transfer</li>
387
388
  </ul>
388
- <p>This module provides REST APIs to support the scenarios. It needs a frontend
389
- to consume the backend APIs and provide screens for users on barcode devices.
390
- A default front-end application is provided by <tt class="docutils literal">shopfloor_mobile</tt>.</p>
389
+ <p>This module provides REST APIs to support the scenarios. It needs a
390
+ frontend to consume the backend APIs and provide screens for users on
391
+ barcode devices. A default front-end application is provided by
392
+ <tt class="docutils literal">shopfloor_mobile</tt>.</p>
391
393
  <div class="line-block">
392
- <div class="line">Note: if you want to enable a new scenario on an existing application, you must trigger the registry sync on the shopfloor.app in a post_init_hook or a post-migrate script.</div>
393
- <div class="line">See an example <a class="reference external" href="https://github.com/OCA/wms/pull/520/commits/bccdfd445a9bc943998c4848f183a076e8459a98">here</a>.</div>
394
+ <div class="line">Note: if you want to enable a new scenario on an existing application,
395
+ you must trigger the registry sync on the shopfloor.app in a
396
+ post_init_hook or a post-migrate script.</div>
397
+ <div class="line">See an example
398
+ <a class="reference external" href="https://github.com/OCA/wms/pull/520/commits/bccdfd445a9bc943998c4848f183a076e8459a98">here</a>.</div>
394
399
  </div>
400
+ <p><strong>WARNING v18</strong></p>
401
+ <p>Scenario will be migrated one by one.</p>
402
+ <p>Current availability status:</p>
403
+ <ul class="simple">
404
+ <li>☐ checkout</li>
405
+ <li>☐ cluster picking</li>
406
+ <li>☐ zone picking</li>
407
+ <li>☐ delivery</li>
408
+ <li>☐ location content transfer</li>
409
+ <li>☐ single pack transfer (to be discarded in favor of
410
+ shopfloor_single_product_transfer)</li>
411
+ <li>☐ zone picking</li>
412
+ </ul>
395
413
  <p><strong>Table of contents</strong></p>
396
414
  <div class="contents local topic" id="contents">
397
415
  <ul class="simple">
@@ -404,8 +422,10 @@ A default front-end application is provided by <tt class="docutils literal">shop
404
422
  <li><a class="reference internal" href="#bug-tracker" id="toc-entry-5">Bug Tracker</a></li>
405
423
  <li><a class="reference internal" href="#credits" id="toc-entry-6">Credits</a><ul>
406
424
  <li><a class="reference internal" href="#authors" id="toc-entry-7">Authors</a></li>
407
- <li><a class="reference internal" href="#contributors" id="toc-entry-8">Contributors</a></li>
425
+ <li><a class="reference internal" href="#contributors" id="toc-entry-8">Contributors</a><ul>
408
426
  <li><a class="reference internal" href="#design" id="toc-entry-9">Design</a></li>
427
+ </ul>
428
+ </li>
409
429
  <li><a class="reference internal" href="#other-credits" id="toc-entry-10">Other credits</a></li>
410
430
  <li><a class="reference internal" href="#maintainers" id="toc-entry-11">Maintainers</a></li>
411
431
  </ul>
@@ -414,8 +434,8 @@ A default front-end application is provided by <tt class="docutils literal">shop
414
434
  </div>
415
435
  <div class="section" id="usage">
416
436
  <h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
417
- <p>An API key is created in the Demo data (for development), using
418
- the Demo user. The key to use in the HTTP header <tt class="docutils literal"><span class="pre">API-KEY</span></tt> is: 72B044F7AC780DAC</p>
437
+ <p>An API key is created in the Demo data (for development), using the Demo
438
+ user. The key to use in the HTTP header <tt class="docutils literal"><span class="pre">API-KEY</span></tt> is: 72B044F7AC780DAC</p>
419
439
  <p>Curl example:</p>
420
440
  <pre class="literal-block">
421
441
  curl -X POST &quot;http://localhost:8069/shopfloor/user/menu&quot; -H &quot;accept: */*&quot; -H &quot;Content-Type: application/json&quot; -H &quot;API-KEY: 72B044F7AC780DAC&quot;
@@ -426,9 +446,12 @@ curl -X POST &quot;http://localhost:8069/shopfloor/user/menu&quot; -H &quot;acc
426
446
  <ul class="simple">
427
447
  <li>improve documentation</li>
428
448
  <li>split out scenario components to their own modules</li>
429
- <li>maybe split common stock features to <cite>shopfloor_stock_base</cite>
430
- and move scenario to <cite>shopfloor_wms</cite>?</li>
449
+ <li>maybe split common stock features to shopfloor_stock_base and move
450
+ scenario to shopfloor_wms?</li>
431
451
  </ul>
452
+ <p><strong>WARNING v18</strong></p>
453
+ <p>We don’t want to split now the scenario to keep it as much as possible
454
+ in line w/ v16. We’ll do it later.</p>
432
455
  </div>
433
456
  <div class="section" id="changelog">
434
457
  <h2><a class="toc-backref" href="#toc-entry-3">Changelog</a></h2>
@@ -439,10 +462,10 @@ and move scenario to <cite>shopfloor_wms</cite>?</li>
439
462
  </div>
440
463
  <div class="section" id="bug-tracker">
441
464
  <h2><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h2>
442
- <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/wms/issues">GitHub Issues</a>.
465
+ <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-shopfloor/issues">GitHub Issues</a>.
443
466
  In case of trouble, please check there if your issue has already been reported.
444
467
  If you spotted it first, help us to smash it by providing a detailed and welcomed
445
- <a class="reference external" href="https://github.com/OCA/wms/issues/new?body=module:%20shopfloor%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
468
+ <a class="reference external" href="https://github.com/OCA/stock-logistics-shopfloor/issues/new?body=module:%20shopfloor%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
446
469
  <p>Do not contact contributors directly about support or help with technical issues.</p>
447
470
  </div>
448
471
  <div class="section" id="credits">
@@ -471,14 +494,14 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
471
494
  <li>Souheil Bejaoui &lt;<a class="reference external" href="mailto:souheil.bejaoui&#64;acsone.eu">souheil.bejaoui&#64;acsone.eu</a>&gt;</li>
472
495
  <li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li>
473
496
  </ul>
474
- </div>
475
497
  <div class="section" id="design">
476
- <h3><a class="toc-backref" href="#toc-entry-9">Design</a></h3>
498
+ <h4><a class="toc-backref" href="#toc-entry-9">Design</a></h4>
477
499
  <ul class="simple">
478
500
  <li>Joël Grand-Guillaume &lt;<a class="reference external" href="mailto:joel.grandguillaume&#64;camptocamp.com">joel.grandguillaume&#64;camptocamp.com</a>&gt;</li>
479
501
  <li>Jacques-Etienne Baudoux &lt;<a class="reference external" href="mailto:je&#64;bcim.be">je&#64;bcim.be</a>&gt;</li>
480
502
  </ul>
481
503
  </div>
504
+ </div>
482
505
  <div class="section" id="other-credits">
483
506
  <h3><a class="toc-backref" href="#toc-entry-10">Other credits</a></h3>
484
507
  <p><strong>Financial support</strong></p>
@@ -499,7 +522,7 @@ mission is to support the collaborative development of Odoo features and
499
522
  promote its widespread use.</p>
500
523
  <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
501
524
  <p><a class="reference external image-reference" href="https://github.com/guewen"><img alt="guewen" src="https://github.com/guewen.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/simahawk"><img alt="simahawk" src="https://github.com/simahawk.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/sebalix"><img alt="sebalix" src="https://github.com/sebalix.png?size=40px" /></a></p>
502
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/wms/tree/16.0/shopfloor">OCA/wms</a> project on GitHub.</p>
525
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-shopfloor/tree/18.0/shopfloor">OCA/stock-logistics-shopfloor</a> project on GitHub.</p>
503
526
  <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
504
527
  </div>
505
528
  </div>
@@ -7,79 +7,80 @@ from . import test_actions_data_detail
7
7
  from . import test_actions_search_move_line
8
8
  from . import test_actions_search
9
9
  from . import test_actions_stock
10
- from . import test_single_pack_transfer
11
- from . import test_single_pack_transfer_putaway
12
- from . import test_cluster_picking_base
13
- from . import test_cluster_picking_batch
14
- from . import test_cluster_picking_select
15
- from . import test_cluster_picking_scan_line
16
- from . import test_cluster_picking_scan_line_location_or_pack_first
17
- from . import test_cluster_picking_scan_line_no_prefill_qty
18
- from . import test_cluster_picking_scan_destination
19
- from . import test_cluster_picking_scan_destination_no_prefill_qty
20
- from . import test_cluster_picking_is_zero
21
- from . import test_cluster_picking_skip
22
- from . import test_cluster_picking_stock_issue
23
- from . import test_cluster_picking_change_pack_lot
24
- from . import test_cluster_picking_unload
25
- from . import test_checkout_base
26
- from . import test_checkout_scan
27
- from . import test_checkout_select
28
- from . import test_checkout_scan_line
29
- from . import test_checkout_scan_line_no_prefill_qty
30
- from . import test_checkout_scan_line_base
31
- from . import test_checkout_scan_dest_location
32
- from . import test_checkout_select_line
33
- from . import test_checkout_select_package_base
34
- from . import test_checkout_set_qty
35
- from . import test_checkout_scan_package_action
36
- from . import test_checkout_scan_package_action_no_prefill_qty
37
- from . import test_checkout_new_package
38
- from . import test_checkout_no_package
39
- from . import test_checkout_auto_post
40
- from . import test_checkout_list_delivery_packaging
41
- from . import test_checkout_list_package
42
- from . import test_checkout_summary
43
- from . import test_checkout_change_packaging
44
- from . import test_checkout_cancel_line
45
- from . import test_checkout_done
46
- from . import test_delivery_base
47
- from . import test_delivery_done
48
- from . import test_delivery_scan_deliver
49
- from . import test_delivery_reset_qty_done_line
50
- from . import test_delivery_reset_qty_done_pack
51
- from . import test_delivery_set_qty_done_pack
52
- from . import test_delivery_set_qty_done_line
53
- from . import test_delivery_sublocation
54
- from . import test_delivery_list_stock_picking
55
- from . import test_delivery_select
56
- from . import test_location_content_transfer_base
57
- from . import test_location_content_transfer_start
58
- from . import test_location_content_transfer_get_work
59
- from . import test_location_content_transfer_set_destination_all
60
- from . import test_location_content_transfer_scan_location
61
- from . import test_location_content_transfer_single
62
- from . import test_location_content_transfer_set_destination_package_or_line
63
- from . import test_location_content_transfer_putaway
64
- from . import test_location_content_transfer_mix
65
- from . import test_zone_picking_base
66
- from . import test_zone_picking_complete_mix_pack_flux
67
- from . import test_zone_picking_start
68
- from . import test_zone_picking_select_picking_type
69
- from . import test_zone_picking_select_line
70
- from . import test_zone_picking_select_line_no_prefill_qty
71
- from . import test_zone_picking_select_line_first_scan_location
72
- from . import test_zone_picking_set_line_destination
73
- from . import test_zone_picking_set_line_destination_no_prefill_qty
74
- from . import test_zone_picking_set_line_destination_pick_pack
75
- from . import test_zone_picking_zero_check
76
- from . import test_zone_picking_stock_issue
77
- from . import test_zone_picking_change_pack_lot
78
- from . import test_zone_picking_unload_buffer_lines
79
- from . import test_zone_picking_unload_single
80
- from . import test_zone_picking_unload_all
81
- from . import test_zone_picking_unload_set_destination
82
- from . import test_zone_picking_require_destination_package
10
+
11
+ # from . import test_single_pack_transfer
12
+ # from . import test_single_pack_transfer_putaway
13
+ # from . import test_cluster_picking_base
14
+ # from . import test_cluster_picking_batch
15
+ # from . import test_cluster_picking_select
16
+ # from . import test_cluster_picking_scan_line
17
+ # from . import test_cluster_picking_scan_line_location_or_pack_first
18
+ # from . import test_cluster_picking_scan_line_no_prefill_qty
19
+ # from . import test_cluster_picking_scan_destination
20
+ # from . import test_cluster_picking_scan_destination_no_prefill_qty
21
+ # from . import test_cluster_picking_is_zero
22
+ # from . import test_cluster_picking_skip
23
+ # from . import test_cluster_picking_stock_issue
24
+ # from . import test_cluster_picking_change_pack_lot
25
+ # from . import test_cluster_picking_unload
26
+ # from . import test_checkout_base
27
+ # from . import test_checkout_scan
28
+ # from . import test_checkout_select
29
+ # from . import test_checkout_scan_line
30
+ # from . import test_checkout_scan_line_no_prefill_qty
31
+ # from . import test_checkout_scan_line_base
32
+ # from . import test_checkout_scan_dest_location
33
+ # from . import test_checkout_select_line
34
+ # from . import test_checkout_select_package_base
35
+ # from . import test_checkout_set_qty
36
+ # from . import test_checkout_scan_package_action
37
+ # from . import test_checkout_scan_package_action_no_prefill_qty
38
+ # from . import test_checkout_new_package
39
+ # from . import test_checkout_no_package
40
+ # from . import test_checkout_auto_post
41
+ # from . import test_checkout_list_delivery_packaging
42
+ # from . import test_checkout_list_package
43
+ # from . import test_checkout_summary
44
+ # from . import test_checkout_change_packaging
45
+ # from . import test_checkout_cancel_line
46
+ # from . import test_checkout_done
47
+ # from . import test_delivery_base
48
+ # from . import test_delivery_done
49
+ # from . import test_delivery_scan_deliver
50
+ # from . import test_delivery_reset_qty_done_line
51
+ # from . import test_delivery_reset_qty_done_pack
52
+ # from . import test_delivery_set_qty_done_pack
53
+ # from . import test_delivery_set_qty_done_line
54
+ # from . import test_delivery_sublocation
55
+ # from . import test_delivery_list_stock_picking
56
+ # from . import test_delivery_select
57
+ # from . import test_location_content_transfer_base
58
+ # from . import test_location_content_transfer_start
59
+ # from . import test_location_content_transfer_get_work
60
+ # from . import test_location_content_transfer_set_destination_all
61
+ # from . import test_location_content_transfer_scan_location
62
+ # from . import test_location_content_transfer_single
63
+ # from . import test_location_content_transfer_set_destination_package_or_line
64
+ # from . import test_location_content_transfer_putaway
65
+ # from . import test_location_content_transfer_mix
66
+ # from . import test_zone_picking_base
67
+ # from . import test_zone_picking_complete_mix_pack_flux
68
+ # from . import test_zone_picking_start
69
+ # from . import test_zone_picking_select_picking_type
70
+ # from . import test_zone_picking_select_line
71
+ # from . import test_zone_picking_select_line_no_prefill_qty
72
+ # from . import test_zone_picking_select_line_first_scan_location
73
+ # from . import test_zone_picking_set_line_destination
74
+ # from . import test_zone_picking_set_line_destination_no_prefill_qty
75
+ # from . import test_zone_picking_set_line_destination_pick_pack
76
+ # from . import test_zone_picking_zero_check
77
+ # from . import test_zone_picking_stock_issue
78
+ # from . import test_zone_picking_change_pack_lot
79
+ # from . import test_zone_picking_unload_buffer_lines
80
+ # from . import test_zone_picking_unload_single
81
+ # from . import test_zone_picking_unload_all
82
+ # from . import test_zone_picking_unload_set_destination
83
+ # from . import test_zone_picking_require_destination_package
83
84
  from . import test_misc
84
85
  from . import test_move_action_assign
85
86
  from . import test_scan_anything
@@ -3,7 +3,7 @@
3
3
  from collections import namedtuple
4
4
 
5
5
  from odoo import models
6
- from odoo.tests.common import Form
6
+ from odoo.tests import Form
7
7
 
8
8
  from odoo.addons.shopfloor_base.tests.common import CommonCase as BaseCommonCase
9
9
 
@@ -62,8 +62,8 @@ class CommonCase(BaseCommonCase):
62
62
  .create(
63
63
  {
64
64
  "name": "Product A",
65
- "type": "product",
66
- "default_code": "A",
65
+ "is_storable": True,
66
+ "default_code": "SF#A",
67
67
  "barcode": "A",
68
68
  "weight": 2,
69
69
  }
@@ -87,8 +87,8 @@ class CommonCase(BaseCommonCase):
87
87
  .create(
88
88
  {
89
89
  "name": "Product B",
90
- "type": "product",
91
- "default_code": "B",
90
+ "is_storable": True,
91
+ "default_code": "SF#B",
92
92
  "barcode": "B",
93
93
  "weight": 3,
94
94
  }
@@ -111,8 +111,8 @@ class CommonCase(BaseCommonCase):
111
111
  .create(
112
112
  {
113
113
  "name": "Product C",
114
- "type": "product",
115
- "default_code": "C",
114
+ "is_storable": True,
115
+ "default_code": "SF#C",
116
116
  "barcode": "C",
117
117
  "weight": 3,
118
118
  }
@@ -136,8 +136,8 @@ class CommonCase(BaseCommonCase):
136
136
  .create(
137
137
  {
138
138
  "name": "Product D",
139
- "type": "product",
140
- "default_code": "D",
139
+ "is_storable": True,
140
+ "default_code": "SF#D",
141
141
  "barcode": "D",
142
142
  "weight": 3,
143
143
  }