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

[16.0][ADD] sale_order_blanket_order_sale_margin: Manage margin on call off orders #3499

Open
wants to merge 36 commits into
base: 16.0
Choose a base branch
from

Conversation

lmignon
Copy link
Contributor

@lmignon lmignon commented Dec 17, 2024

This module extends the functionality of the module sale_order_blanket_order and sale_margin to ensure that the margin calculation takes into account the specific case of cut off orders. In the case of a cut off order, the margin must be set to 0 since the financial impact of the order is managed on the blanket order.

lmignon and others added 30 commits December 4, 2024 10:48
…_prebook

Fixup: Validate call off lines on order confirmation only
…_prebook

Fixup: Refactor to avoid duplicate code
Co-authored-by: Jacques-Etienne Baudoux <[email protected]>
Co-authored-by: Jacques-Etienne Baudoux <[email protected]>
… orders

This module extends the functionality of the module sale_order_blanket_order and sale_margin to ensure that the margin calculation takes into account the specific case of cutt off orders. In the case of a cutt off order, the margin must be set to 0 since the financial impact of the order is managed on the blanket order.
@lmignon lmignon force-pushed the 16.0-add-sale_order_blanket_order_sale_margin branch from 8437e3e to 4b3f384 Compare December 17, 2024 12:48
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.

1 participant