Skip to content

[18.0][MIG] stock_picking_restrict_cancel_with_orig_move #2029

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

Open
wants to merge 20 commits into
base: 18.0
Choose a base branch
from

Conversation

IsabelAForgeFlow
Copy link

Not fully functional yet since the test and some functionalities have to be revised



class TestRestrictCancelStockMove(SavepointCase):
class TestRestrictCancelStockMove(TransactionCase):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use basecommon to inherit

@@ -19,7 +19,7 @@ def setUpClass(cls):

cls.dummy_product = (
cls.env["product.template"]
.create({"name": "Dummy product", "type": "product", "purchase_ok": True})
.create({"name": "Dummy product", "type": "consu", "purchase_ok": True})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add also the is_storable True

grindtildeath and others added 19 commits July 31, 2025 15:37
Allow deletion if all origninal moves are to be deleted

Fix restriction module:

- Abstract blocking objects
- Add glue module with MRP workorders
- Add glue module with Purchase orders

Remove HTML formatting as exceptions cannot display it
Currently translated at 100.0% (5 of 5 strings)

Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_picking_restrict_cancel_with_orig_move
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_picking_restrict_cancel_with_orig_move/it/
@IsabelAForgeFlow IsabelAForgeFlow force-pushed the 18.0-mig-stock_picking_restrict_cancel_with_orig_move branch 2 times, most recently from a7befdb to 6169677 Compare July 31, 2025 13:44
@JordiMForgeFlow JordiMForgeFlow force-pushed the 18.0-mig-stock_picking_restrict_cancel_with_orig_move branch from 6169677 to b003ee7 Compare August 1, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants