Skip to content
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

15.0 stock picking on hold #2608

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from

Conversation

alihashaam
Copy link

No description provided.

@alihashaam
Copy link
Author

CI is failing because of another module "sale_order_discount_invoicing", for which tests are failing

@alihashaam alihashaam force-pushed the 15.0-stock_picking_on_hold branch from f805485 to 25f135e Compare July 19, 2023 17:36
@rousseldenis
Copy link
Contributor

@alihashaam Thanks for this.

IMHO, this has same functionality as https://github.com/OCA/sale-workflow/tree/15.0/sale_stock_picking_blocking

As done in v16, the blocking reason is now computed stored. So, your module could depends on invoice_status field, then, assign the blocking reason.

https://github.com/OCA/sale-workflow/blob/16.0/sale_stock_picking_blocking/models/sale_order.py#L33

What do you think ?

@rousseldenis rousseldenis added this to the 15.0 milestone Jul 20, 2023
@ortlam
Copy link
Member

ortlam commented Sep 4, 2023

@rousseldenis Thank you for the suggestion, it makes sense to base this module on sale_stock_picking_blocking.

@ortlam ortlam force-pushed the 15.0-stock_picking_on_hold branch from d2c4c85 to 5d3806a Compare September 6, 2023 11:28
@jans23
Copy link

jans23 commented Sep 6, 2023

I don't think that test failure is related to this module stock_picking_on_hold.

@ortlam ortlam force-pushed the 15.0-stock_picking_on_hold branch from 5d3806a to 40e579c Compare September 7, 2023 06:50
@ortlam ortlam force-pushed the 15.0-stock_picking_on_hold branch 2 times, most recently from cc331f8 to dc74d44 Compare September 14, 2023 11:08
@ortlam ortlam force-pushed the 15.0-stock_picking_on_hold branch from c8fcad5 to e03106f Compare September 26, 2023 10:51
@rousseldenis
Copy link
Contributor

@alihashaam What's the status of this ?

@jans23 jans23 force-pushed the 15.0-stock_picking_on_hold branch 2 times, most recently from fb533ce to e990dde Compare February 15, 2025 15:30
@jans23
Copy link

jans23 commented Feb 15, 2025

@rousseldenis alihashaam isn't working on this anymore. I added missing tests. We use this module in production since more than a year and it's working fine. IMO it can be merged.

"depends": [
"account_payment_mode",
"sale_stock_picking_blocking",
"website_sale",
Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO, this is a too restrictive dependency as people do not want necessarily install website to get this functionality.

That part of code should be externalized in another module.

@jans23 jans23 force-pushed the 15.0-stock_picking_on_hold branch from e990dde to e439399 Compare February 24, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants