[fork-CI] [19.0][MIG] ddmrp_exclude_moves_adu_calc_sales: Migration to 19.0#21
Draft
dnplkndll wants to merge 13 commits into
Draft
[fork-CI] [19.0][MIG] ddmrp_exclude_moves_adu_calc_sales: Migration to 19.0#21dnplkndll wants to merge 13 commits into
dnplkndll wants to merge 13 commits into
Conversation
81f6755 to
9b37e39
Compare
9b37e39 to
581ef45
Compare
72c48a5 to
f4f0da3
Compare
Add tests and also maintain a logic between sale.order.line and stock.move exclude_from_adu. If all the stock moves have the same value, it will propagate to the sale order line.
Currently translated at 100.0% (4 of 4 strings) Translation: ddmrp-16.0/ddmrp-16.0-ddmrp_exclude_moves_adu_calc_sales Translate-URL: https://translation.odoo-community.org/projects/ddmrp-16-0/ddmrp-16-0-ddmrp_exclude_moves_adu_calc_sales/it/
Currently translated at 100.0% (4 of 4 strings) Translation: ddmrp-16.0/ddmrp-16.0-ddmrp_exclude_moves_adu_calc_sales Translate-URL: https://translation.odoo-community.org/projects/ddmrp-16-0/ddmrp-16-0-ddmrp_exclude_moves_adu_calc_sales/es/
…bustness The previous approach was error prone as there could be corner cases in which the `exclude_from_adu` field in SO and moves is misaligned. With a compute and inverse methods approach we ensure that there are no misalignments and keep the field in the stock.move as the only source of truth.
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
…moves_adu_calc to open PR
f4f0da3 to
0dd9364
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration of
ddmrp_exclude_moves_adu_calc_salesfrom 18.0 to 19.0.Fork-CI validation PR. Will be closed once upstream PR against OCA/ddmrp is
opened from the same branch.