[BLOCKED][19.0][MIG] ddmrp_packaging: needs redesign (product.packaging removed in 19)#9
Draft
dnplkndll wants to merge 45 commits into
Draft
[BLOCKED][19.0][MIG] ddmrp_packaging: needs redesign (product.packaging removed in 19)#9dnplkndll wants to merge 45 commits into
dnplkndll wants to merge 45 commits into
Conversation
1ef6271 to
ac86030
Compare
6808787 to
2e7f7c6
Compare
when navigating to a package from the buffer. For instance, when the `delivery` module the delivery view gets precedence.
It has been proven to be a problem more than an aid. As long as the qty_multiple is updated correctly the recommended procurement will respect it. MOQ field should be reserved to contractual constraints agreed with the vendor.
When the contained quantity of a packaging is updated, it should update the product multiple quantity in all the buffers where it is used.
fields instead of onchange. This ensures consistent behavior on backend changes and changes done using UI. Being more specific, without this change there was as conflict with the module `ddmrp_product_replace`, when you replace a product, the product of the buffer is written but the packaging is not cleared out like it happens when you do it using UI. This is more in line with the most recent odoo guidelines to reduce the use of onchange methods and also good to avoid the need for a glue module.
Set a value on every path in a compute method.
On the wizard to make a procurement from a stock.buffer. This change allows to select a packaging and a quantity of that specific packaging, to automatically fill the quantity to procure.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/
Currently translated at 100.0% (10 of 10 strings) Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/it/
Currently translated at 100.0% (10 of 10 strings) Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/it/
Currently translated at 100.0% (10 of 10 strings) Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/es/
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
2e7f7c6 to
6cb2a7b
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.
Blocked — not a mechanical port. Core 19 removed the
product.packagingmodel (packagings became UoMs:product.template.uom_ids). This module's central field (stock.buffer.packaging_id→ product.packaging) andpackage_multiplelogic need a redesign onto the packaging-as-UoM model. CI red is structural (unknown comodel_name 'product.packaging'). Kept as draft for the redesign discussion;ddmrp_packaging_product_replace(T2) is blocked behind it.