-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
[ADD] sale_order_line_effective_date #3129
base: 16.0
Are you sure you want to change the base?
Conversation
moves = line.move_ids.filtered( | ||
lambda x: x.state == "done" and x.location_dest_id.usage == "customer" | ||
) | ||
dates_list = [date for date in moves.mapped("date") if date] |
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.
suggestion: filtering twice feels awkward
moves = line.move_ids.filtered( | |
lambda x: x.state == "done" and x.location_dest_id.usage == "customer" | |
) | |
dates_list = [date for date in moves.mapped("date") if date] | |
moves = line.move_ids.filtered( | |
lambda x: x.state == "done" and x.location_dest_id.usage == "customer" and x.date | |
) | |
dates_list = moves.mapped("date") |
@@ -0,0 +1 @@ | |||
This module extends the functionality of sale stock and add field effective date in sale order line, this field is completion date of the first delivery order. |
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.
This module extends the functionality of sale stock and add field effective date in sale order line, this field is completion date of the first delivery order. | |
This module extends the functionality of sale stock and adds the field "effective date" in sale order lines. | |
This field displays the completion date of the first delivery order. |
To use this module, you need to: | ||
|
||
1. Go to Sales > Orders > Quotation. | ||
1. Create new quotation with storable product. |
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.
1. Create new quotation with storable product. | |
1. Create a new quotation with a storable product. |
1. Set quantities done in delivery picking. | ||
1. Validate delivery picking. | ||
|
||
To see field effective date you can install *sale_order_line_menu* |
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.
This would fit better in INSTALL.md
Add field effective date in sale order line. This field is a compute with completion date of the first delivery.
@yajo @Shide @rafaelbn @Gelojr please review
MT-6075 @moduon