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

Release channel partner window exclusion & commitment date #2

Conversation

lethuthao2403
Copy link
Owner

No description provided.

@lethuthao2403 lethuthao2403 force-pushed the 16.0-update-stock_release_channel_partner_delivery_window branch from 6ad76a3 to efd44b4 Compare November 20, 2023 09:31
channel.respect_partner_delivery_time_windows
and not any(
picking.sale_id and picking.sale_id.commitment_date
for picking in channel.picking_ids

Choose a reason for hiding this comment

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

@lethuthao2403 when confirming the stock.move, it tries to assign the channel to the picking. It means that at this phase of code, the picking has no relation to the channel yet. so, you can not rely on channel.picking_ids.

Copy link

@nguyenminhchien nguyenminhchien left a comment

Choose a reason for hiding this comment

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

check my comment

@lethuthao2403 lethuthao2403 deleted the 16.0-update-stock_release_channel_partner_delivery_window branch November 21, 2023 04:18
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.

3 participants