Skip to content

Commit a70a29c

Browse files
authored
Merge pull request #1881 from OCA/18.0
Syncing from upstream OCA/stock-logistics-warehouse (18.0)
2 parents 0a42565 + 315c9de commit a70a29c

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ addon | version | maintainers | summary
3030
[product_route_profile](product_route_profile/) | 18.0.1.0.0 | <a href='https://github.com/Kev-Roche'><img src='https://github.com/Kev-Roche.png' width='32' height='32' style='border-radius:50%;' alt='Kev-Roche'/></a> | Add Route profile concept on product
3131
[stock_archive_constraint](stock_archive_constraint/) | 18.0.1.0.0 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | Stock archive constraint
3232
[stock_change_qty_reason](stock_change_qty_reason/) | 18.0.1.0.0 | | Stock Quantity Change Reason
33-
[stock_cycle_count](stock_cycle_count/) | 18.0.1.0.1 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> | Adds the capability to schedule cycle counts in a warehouse through different rules defined by the user.
33+
[stock_cycle_count](stock_cycle_count/) | 18.0.1.0.2 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> | Adds the capability to schedule cycle counts in a warehouse through different rules defined by the user.
3434
[stock_demand_estimate](stock_demand_estimate/) | 18.0.1.1.0 | | Allows to create demand estimates.
3535
[stock_demand_estimate_matrix](stock_demand_estimate_matrix/) | 18.0.1.0.0 | | Allows to create demand estimates.
3636
[stock_inventory](stock_inventory/) | 18.0.1.1.2 | | Allows to do an easier follow up of the Inventory Adjustments

stock_cycle_count/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Stock Cycle Count
1111
!! This file is generated by oca-gen-addon-readme !!
1212
!! changes will be overwritten. !!
1313
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14-
!! source digest: sha256:18117fa16a7f820cbeae338058f07b839ffac436255534be3c9bdf91af301aca
14+
!! source digest: sha256:bf9a27895fe13ef9f34faa640353fe95efd5bb87922fc44bbf7aa8b36f0dfaae
1515
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1616
1717
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png

stock_cycle_count/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Stock Cycle Count",
66
"summary": "Adds the capability to schedule cycle counts in a "
77
"warehouse through different rules defined by the user.",
8-
"version": "18.0.1.0.1",
8+
"version": "18.0.1.0.2",
99
"maintainers": ["LoisRForgeFlow"],
1010
"author": "ForgeFlow, Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/stock-logistics-warehouse",

stock_cycle_count/models/stock_move.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ class StockMove(models.Model):
1111

1212
def _action_done(self, cancel_backorder=False):
1313
res = super()._action_done(cancel_backorder=cancel_backorder)
14-
self.mapped("location_id").check_zero_confirmation()
14+
# Use sudo() because the user triggering _action_done may not have
15+
# access to cycle count models (stock.cycle.count.rule, stock.cycle.count).
16+
self.mapped("location_id").sudo().check_zero_confirmation()
1517
return res

stock_cycle_count/static/description/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ <h1>Stock Cycle Count</h1>
372372
!! This file is generated by oca-gen-addon-readme !!
373373
!! changes will be overwritten. !!
374374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375-
!! source digest: sha256:18117fa16a7f820cbeae338058f07b839ffac436255534be3c9bdf91af301aca
375+
!! source digest: sha256:bf9a27895fe13ef9f34faa640353fe95efd5bb87922fc44bbf7aa8b36f0dfaae
376376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377377
<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-warehouse/tree/18.0/stock_cycle_count"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-18-0/stock-logistics-warehouse-18-0-stock_cycle_count"><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-warehouse&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378378
<p>This module provides the capability to execute a cycle count strategy in

0 commit comments

Comments
 (0)