Skip to content

[FIX] *: assigning correct model object#1939

Closed
vava-odoo wants to merge 1 commit intoodoo:saas-19.1from
odoo-dev:saas-19.1-fix-models-vava
Closed

[FIX] *: assigning correct model object#1939
vava-odoo wants to merge 1 commit intoodoo:saas-19.1from
odoo-dev:saas-19.1-fix-models-vava

Conversation

@vava-odoo
Copy link
Copy Markdown
Collaborator

In several cases, there is a mismatch between compared/assigned record models, leading to erroneous behaviour. This commit ensures assignation and domain criterion is correct at the model level.

Furthermore, for HVAC, the wizard is adapted to use product.product, instead of product.template.

backport of #1844

In several cases, there is a mismatch between compared/assigned record
models, leading to erroneous behaviour. This commit ensures assignation
and domain criterion is correct at the model level.

Furthermore, for HVAC, the wizard is adapted to use product.product,
instead of product.template.

backport of odoo#1844
@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Mar 30, 2026

Pull request status dashboard

@vava-odoo
Copy link
Copy Markdown
Collaborator Author

@robodoo r+ fw=no

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Mar 30, 2026

Disabled forward-porting.

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Mar 30, 2026

@vava-odoo 'ci/industry' failed on this reviewed PR.

@vava-odoo
Copy link
Copy Markdown
Collaborator Author

@robodoo override=ci/industry

robodoo pushed a commit that referenced this pull request Mar 30, 2026
In several cases, there is a mismatch between compared/assigned record
models, leading to erroneous behaviour. This commit ensures assignation
and domain criterion is correct at the model level.

Furthermore, for HVAC, the wizard is adapted to use product.product,
instead of product.template.

backport of #1844

closes #1939

Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
robodoo pushed a commit that referenced this pull request Mar 30, 2026
In several cases, there is a mismatch between compared/assigned record
models, leading to erroneous behaviour. This commit ensures assignation
and domain criterion is correct at the model level.

Furthermore, for HVAC, the wizard is adapted to use product.product,
instead of product.template.

backport of #1844

closes #1939

Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
@robodoo robodoo closed this Mar 30, 2026
@fw-bot fw-bot deleted the saas-19.1-fix-models-vava branch April 6, 2026 17:28
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.

2 participants