Skip to content

Commit

Permalink
Merge pull request #1598 from OCA/15.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/stock-logistics-warehouse (15.0)
  • Loading branch information
bt-admin authored Jan 15, 2025
2 parents f9dd93d + fed9a54 commit b3b4a46
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ addon | version | maintainers | summary
[stock_location_position](stock_location_position/) | 15.0.1.0.0 | | Add coordinate attributes on stock location.
[stock_location_route_description](stock_location_route_description/) | 15.0.1.0.0 | | Add description field on stock routes.
[stock_lot_filter_available](stock_lot_filter_available/) | 15.0.1.0.1 | [![CarlosRoca13](https://github.com/CarlosRoca13.png?size=30px)](https://github.com/CarlosRoca13) | Allow to filter lots by available on stock
[stock_move_location](stock_move_location/) | 15.0.1.5.1 | | This module allows to move all stock in a stock location to an other one.
[stock_move_location](stock_move_location/) | 15.0.1.5.2 | | This module allows to move all stock in a stock location to an other one.
[stock_move_location_purchase_uom](stock_move_location_purchase_uom/) | 15.0.1.0.0 | | This module 'glues' the modules stock_move_location and stock_move_purchase_uom.
[stock_move_purchase_uom](stock_move_purchase_uom/) | 15.0.1.0.2 | | Allow to use the purchase UoM in a stock move
[stock_mts_mto_rule](stock_mts_mto_rule/) | 15.0.1.0.1 | | Add a MTS+MTO route
Expand Down
2 changes: 1 addition & 1 deletion stock_move_location/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Move Stock Location
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7c49d3ff4e71589ab51755842b9d6849f5ed59b6ac1b6e40cb14393ab5904d13
!! source digest: sha256:7d4870bb65b6b0538648781e10978dc9f1529b6f3ce0779e375967ff15d9f44f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion stock_move_location/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
"name": "Move Stock Location",
"version": "15.0.1.5.1",
"version": "15.0.1.5.2",
"author": "Julius Network Solutions, "
"BCIM,"
"Camptocamp,"
Expand Down
13 changes: 8 additions & 5 deletions stock_move_location/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -366,7 +367,7 @@ <h1 class="title">Move Stock Location</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7c49d3ff4e71589ab51755842b9d6849f5ed59b6ac1b6e40cb14393ab5904d13
!! source digest: sha256:7d4870bb65b6b0538648781e10978dc9f1529b6f3ce0779e375967ff15d9f44f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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-warehouse/tree/15.0/stock_move_location"><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-15-0/stock-logistics-warehouse-15-0-stock_move_location"><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=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows to move entire location of products from one place to
Expand Down Expand Up @@ -469,7 +470,9 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
Expand Down
4 changes: 4 additions & 0 deletions stock_move_location/wizard/stock_move_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ def action_move_location(self):
picking = self._create_picking()
else:
picking = self.picking_id
# Prevent putaway rules to be excuted when we don't need to
picking = picking.with_context(
avoid_putaway_rules=not self.apply_putaway_strategy
)
self._create_moves(picking)
if not self.env.context.get("planned"):
moves_to_reassign = self._unreserve_moves()
Expand Down

0 comments on commit b3b4a46

Please sign in to comment.