odoo-addon-stock-restrict-lot 16.0.2.0.0.2__py3-none-any.whl → 16.0.2.0.2__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.

Potentially problematic release.


This version of odoo-addon-stock-restrict-lot might be problematic. Click here for more details.

@@ -7,7 +7,7 @@ Stock Restrict Lot
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:e4d8f3bb250ff5fda392e534dabf98d1713d60b4458cfd22205d647818423aa7
10
+ !! source digest: sha256:485ee666353decbe20f6b4e8160b1886d0fe4d40093294e9f30d0c4701c8f62e
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Stock Restrict Lot",
3
3
  "summary": "Base module that add back the concept of restrict lot on stock move",
4
- "version": "16.0.2.0.0",
4
+ "version": "16.0.2.0.2",
5
5
  "category": "Warehouse Management",
6
6
  "website": "https://github.com/OCA/stock-logistics-workflow",
7
7
  "author": "Akretion, Odoo Community Association (OCA)",
@@ -125,7 +125,7 @@ class StockMove(models.Model):
125
125
  for dst in self.move_orig_ids:
126
126
  if dst.id not in seen and dst.state != "cancel":
127
127
  seen.add(dst.id)
128
- dst._rollup_move_origs(seen)
128
+ dst._rollup_not_cancelled_move_origs(seen)
129
129
  return seen
130
130
 
131
131
  def write(self, vals):
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:e4d8f3bb250ff5fda392e534dabf98d1713d60b4458cfd22205d647818423aa7
370
+ !! source digest: sha256:485ee666353decbe20f6b4e8160b1886d0fe4d40093294e9f30d0c4701c8f62e
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_restrict_lot"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_restrict_lot"><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-workflow&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>This module add a field to restrict a stock move to a specific lot.
@@ -294,11 +294,11 @@ class TestRestrictLot(TransactionCase):
294
294
 
295
295
  product = move.product_id
296
296
  self.assertEqual(product.outgoing_qty, 2)
297
- product.invalidate_cache()
297
+ product.env.invalidate_all()
298
298
  product = product.with_context(lot_id=self.lot.id)
299
299
  self.assertEqual(product.outgoing_qty, 1)
300
300
 
301
- product.invalidate_cache()
301
+ product.env.invalidate_all()
302
302
  product = product.with_context(lot_id=lot2.id)
303
303
  self.assertEqual(product.outgoing_qty, 1)
304
304
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-stock_restrict_lot
3
- Version: 16.0.2.0.0.2
3
+ Version: 16.0.2.0.2
4
4
  Summary: Base module that add back the concept of restrict lot on stock move
5
5
  Home-page: https://github.com/OCA/stock-logistics-workflow
6
6
  Author: Akretion, Odoo Community Association (OCA)
@@ -22,7 +22,7 @@ Stock Restrict Lot
22
22
  !! This file is generated by oca-gen-addon-readme !!
23
23
  !! changes will be overwritten. !!
24
24
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25
- !! source digest: sha256:e4d8f3bb250ff5fda392e534dabf98d1713d60b4458cfd22205d647818423aa7
25
+ !! source digest: sha256:485ee666353decbe20f6b4e8160b1886d0fe4d40093294e9f30d0c4701c8f62e
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
27
 
28
28
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,24 +1,24 @@
1
- odoo/addons/stock_restrict_lot/README.rst,sha256=SOx7zlBUVrrioknif9byFNN8vZqsh4XWSryivfw7fWo,3691
1
+ odoo/addons/stock_restrict_lot/README.rst,sha256=oYUIH-dHIFPZBxYdYAJa187gOOF3n7vBHmxEENA7wn4,3691
2
2
  odoo/addons/stock_restrict_lot/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
3
- odoo/addons/stock_restrict_lot/__manifest__.py,sha256=ZRqcv0OdfITR-WnY8NSLH9wT7Gk-ue4ZbGYXPhud7i0,506
3
+ odoo/addons/stock_restrict_lot/__manifest__.py,sha256=N1GORmZHHByMZjugvQk9G8ze2lyB6EL6ZVz9TjweNFE,506
4
4
  odoo/addons/stock_restrict_lot/i18n/es.po,sha256=-x3PB7O5JLdvIozPo4a5mnDCfnRkq35X8wLpNxyPnag,2344
5
5
  odoo/addons/stock_restrict_lot/i18n/hr.po,sha256=hX1PADYjuqNsDg7YeMI6-IaMXp5O2TgFfphjhSk1Cn0,2387
6
6
  odoo/addons/stock_restrict_lot/i18n/it.po,sha256=pc-t_FCGkObO1NaNte2KSAyrb0vUTmQCwau3fZiFnyI,2640
7
7
  odoo/addons/stock_restrict_lot/i18n/stock_restrict_lot.pot,sha256=J6-jlvF_7JeZkHIxHRCn8uXCx45gdTp2bcj5FDoY9n0,2005
8
8
  odoo/addons/stock_restrict_lot/models/__init__.py,sha256=3nhRO6ipFBMbcrlWXMEMR62djB3_7q2TxcUM42xYMGg,108
9
9
  odoo/addons/stock_restrict_lot/models/product_product.py,sha256=CzzvEF2pv0wjVHor1KAUeFYSHlk5aqf5HNR0dC3MJfY,888
10
- odoo/addons/stock_restrict_lot/models/stock_move.py,sha256=WVy3kc0uSAYGg6PmUE7cvXtykuaJxWSR55Ji0YkVjjo,5638
10
+ odoo/addons/stock_restrict_lot/models/stock_move.py,sha256=1D-P3F7_Wces0b4CiMmfswiYLYntIKTSCztxQxUstkU,5652
11
11
  odoo/addons/stock_restrict_lot/models/stock_picking.py,sha256=0l60llnOb3tnmk-3pNF21kP1aR8vO0qu5BbbeqD3T6A,417
12
12
  odoo/addons/stock_restrict_lot/models/stock_rule.py,sha256=2NmuhIpXK9z7q3Ew2yMdXlC9Rc7xm0ZzPzsFsgQvHkI,544
13
13
  odoo/addons/stock_restrict_lot/readme/CONTRIBUTORS.rst,sha256=qqVPYPUv3rvLwn1l4fcebyRfQ_Y4DYx_30VCS0CFFw4,287
14
14
  odoo/addons/stock_restrict_lot/readme/DESCRIPTION.rst,sha256=5-U3CJQ5zIpAxrXPVPXTPFmmV216MRflIecv7Ou5i4s,281
15
15
  odoo/addons/stock_restrict_lot/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
16
- odoo/addons/stock_restrict_lot/static/description/index.html,sha256=AbdeyhDqtV1VRu3IoUMG4DQqTyzNhncF10rMPHIl5RY,13450
16
+ odoo/addons/stock_restrict_lot/static/description/index.html,sha256=pmd82PKFahCaq1kyCOLSr7Mgu76OQfzMJJlLUEgA164,13450
17
17
  odoo/addons/stock_restrict_lot/tests/__init__.py,sha256=5RimjaqBd8kD55SNoLqh-g9sCmmI28hPx7IQMUX6AOQ,32
18
- odoo/addons/stock_restrict_lot/tests/test_restrict_lot.py,sha256=D0K4tm3uFQzqAg-IxWmE737YpfXqGuV_pwtbmX45kEU,15225
18
+ odoo/addons/stock_restrict_lot/tests/test_restrict_lot.py,sha256=Gmsye3Fw_itPL6S8ATtH1D4bOQwt4leaCyH2outaH8E,15229
19
19
  odoo/addons/stock_restrict_lot/views/stock_move_views.xml,sha256=unNYn0AuYyBhxSnnPN6xf6X7J7S-G1KbXJVYF20scA4,1191
20
20
  odoo/addons/stock_restrict_lot/views/stock_picking.xml,sha256=X1N9S5g09NREC_DJAlM1CjZuV21nJgBxTANn_6kC64o,1299
21
- odoo_addon_stock_restrict_lot-16.0.2.0.0.2.dist-info/METADATA,sha256=zSKPaXCUXtKJaw31WAb-Qy-XtqNNFFDlSOgpiTkzA54,4263
22
- odoo_addon_stock_restrict_lot-16.0.2.0.0.2.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
23
- odoo_addon_stock_restrict_lot-16.0.2.0.0.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
24
- odoo_addon_stock_restrict_lot-16.0.2.0.0.2.dist-info/RECORD,,
21
+ odoo_addon_stock_restrict_lot-16.0.2.0.2.dist-info/METADATA,sha256=oiSY-CWBAsQJA8UWr5nYU8k83qry2huJpP2jUjaSrsw,4261
22
+ odoo_addon_stock_restrict_lot-16.0.2.0.2.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
23
+ odoo_addon_stock_restrict_lot-16.0.2.0.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
24
+ odoo_addon_stock_restrict_lot-16.0.2.0.2.dist-info/RECORD,,