Skip to content

[19.0][MIG] product_configurator_mrp: Migration to 19.0.#177

Open
aisopuro wants to merge 662 commits intoOCA:19.0from
avoinsystems:19.0-mig-product_configurator_mrp
Open

[19.0][MIG] product_configurator_mrp: Migration to 19.0.#177
aisopuro wants to merge 662 commits intoOCA:19.0from
avoinsystems:19.0-mig-product_configurator_mrp

Conversation

@aisopuro
Copy link

Depends on #168

There seem to be... a lot of commits. The changes I've made are in this range: edbbf99...13adea3 ([IMP] product_configurator_mrp: pre-commit manual fixes to [MIG] product_configurator_mrp: Migration to 19.0).

There were some bugfixes and improvements along the way: I've kept things in separate commits so they would be easier to review and cherry-pick to other branches as necessary.

bizzappdev and others added 30 commits October 3, 2025 16:08
B pass the raise ValidationError if user is in sudo mode
pyUtils.eval('context', event.data.attrs.context) -> the context key is not in "event.data.attrs.context" -> Oddo client error when user clic on smart button (for instance, the button "Forecasted" on the product form or the "Partner Ledger" on the contact form)
patrickrwilson and others added 27 commits February 12, 2026 10:29
[IMP] Add Bom Line if no config_id

[FIX] Removed unused UserError

[IMP] Better config set attribute matching

[FIX] Travis

[IMP] Don't create bom if no bom lines

[FIX] no bom line if
…t should copy over the operations from the master BOM
Co-authored-by: Daniel Reis <dreis@opensourceintegrators.com>
Correction of bug access key "product_qty" not in dictionary
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-configurator-16.0/product-configurator-16.0-product_configurator_mrp
Translate-URL: https://translation.odoo-community.org/projects/product-configurator-16-0/product-configurator-16-0-product_configurator_mrp/
Currently translated at 100.0% (47 of 47 strings)

Translation: product-configurator-16.0/product-configurator-16.0-product_configurator_mrp
Translate-URL: https://translation.odoo-community.org/projects/product-configurator-16-0/product-configurator-16-0-product_configurator_mrp/it/
The read method should be able to take an empty fields definition,
indicating we should read all fields.

The implementation assumed (and required) that the read metho always be
given a list of fields, and would explode if called with None.
The implementation does not properly handle being called for multiple
records at once. Doing so will fill certain dynamic values in the first
record's result, but will leave the other results un-filled.

Rather than allow such a difficult-to-debug error to occur, instead
error out early with a clear error message.
Context is a frozenset, so if we want to get a new context without one
of its values, we have to re-construct it without the unwanted key.
* safe_eval API changed
* Tests were not imported and quite old, so rewrote them
@aisopuro aisopuro changed the title [19.0][MIG] website_product_configurator_mrp: Migration to 19.0. [19.0][MIG] product_configurator_mrp: Migration to 19.0. Feb 13, 2026
@aisopuro aisopuro mentioned this pull request Feb 13, 2026
3 tasks
@yaracchi
Copy link

Code review done and it looks good to me!

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.