-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[13.0][MIG] stock_picking_backorder_strategy #766
Merged
OCA-git-bot
merged 22 commits into
OCA:13.0
from
camptocamp:13.0-mig-stock_picking_backorder_strategy
Jan 12, 2021
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f80358a
[ADD] add module stock_backorder_strategy
8979de9
[UPD] prefix versions with 8.0
sbidoul ecde467
[MIG] Make modules uninstallable
pedrobaeza 1d7561d
[MIG] Rename manifest files
pedrobaeza 27addc2
OCA Transbot updated translations from Transifex
oca-transbot 70a2074
[10.0][MIG] stock_picking_backorder_strategy
rousseldenis 9680c96
[UPD] README.rst
OCA-git-bot 80c6324
[MIG] stock_picking_backorder_strategy: Migration to 11.0
mgosai 7bcbd50
[UPD] README.rst
OCA-git-bot d4d6801
[FIX] stock_picking_backorder_strategy - Issue #495
max3903 f7f5eec
[ADD] icon.png
OCA-git-bot ce5b9db
[UPD] README.rst
OCA-git-bot 5a14d47
[MIG] stock_picking_backorder_strategy: Migration to 12.0
ff3c82e
[UPD] README.rst
OCA-git-bot 9c75150
[UPD] Update stock_picking_backorder_strategy.pot
oca-travis cc5c4b9
Update translation files
oca-transbot 3c1c04a
Translated using Weblate (Portuguese (Brazil))
fcolus e425f81
Translated using Weblate (Slovenian)
sysadminmatmoz 117fd22
Translated using Weblate (French)
SandieFavre 1fd40f6
Update translation files
oca-transbot 48cf12c
[IMP] stock_picking_backorder_strategy: black, isort, prettier
sebalix 0343c55
[MIG] stock_picking_backorder_strategy: Migration to 13.0
sebalix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
# Copyright 2018 ACSONE SA/NV | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import api, models | ||
from odoo import models | ||
|
||
|
||
class StockMove(models.Model): | ||
_inherit = "stock.move" | ||
|
||
@api.multi | ||
def _cancel_remaining_quantities(self): | ||
to_cancel = self.filtered(lambda m: m.state not in ("done", "cancel")) | ||
to_cancel._action_cancel() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉