Skip to content

Conversation

@mmahrouss
Copy link
Collaborator

Fix for OLS03013.

If we had an overwritten Relational field, that does not have comodel_name set, then we will fail to follow it during validation.

That is why we set all to true, to get all of them and search them all.

Example failure caused by this bug https://runbot.odoo.com/runbot/build/95131106

@mmahrouss mmahrouss added this to the 1.3.0 milestone Dec 10, 2025
@mmahrouss mmahrouss requested a review from fda-odoo December 10, 2025 13:57
@mmahrouss mmahrouss self-assigned this Dec 10, 2025
@mmahrouss mmahrouss added the bug Something isn't working label Dec 10, 2025
@mmahrouss mmahrouss modified the milestones: 1.3.0, 1.1.3 Dec 11, 2025
While validating search domain, for relational
fields, i.e. "m2ofield.normalfield", we should
check all the symbols m2ofield on the model, not
just one, so we set true on get member symbol
@mmahrouss mmahrouss force-pushed the alpha-fix-domain-relational-check-mdms branch from e79a103 to 18a879b Compare December 11, 2025 12:09
@mmahrouss mmahrouss merged commit 113c3a0 into alpha Dec 11, 2025
1 check passed
@mmahrouss mmahrouss deleted the alpha-fix-domain-relational-check-mdms branch December 11, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants