Skip to content

[IMP] product_is_bulk: correct onchange on product.template model.#2290

Open
legalsylvain wants to merge 1 commit into
OCA:16.0from
grap:16.0-IMP-product_is_bulk-onchange-product-template
Open

[IMP] product_is_bulk: correct onchange on product.template model.#2290
legalsylvain wants to merge 1 commit into
OCA:16.0from
grap:16.0-IMP-product_is_bulk-onchange-product-template

Conversation

@legalsylvain
Copy link
Copy Markdown
Contributor

rational: we use the _compute_template_field_from_variant_field / _set_product_variant_field / _get_related_fields_variant_template mechanism to compute correctly is_bulk.
However, for the time being, when user select uom_id on product template form the is_bulk is not computed on the fly, and user should wait for saving. That is not very intuitive. (it occures only on product.template form view, it is OK with product.product form view)

rational: we use the _compute_template_field_from_variant_field / _set_product_variant_field / _get_related_fields_variant_template
mechanism to compute correctly is_bulk.
However, for the time being, when user select uom_id on product template form the is_bulk is not computed on the fly, and user should wait for saving.
That is not very intuitive. (it occures only on product.template form view, it is OK with product.product form view)
@legalsylvain legalsylvain requested a review from quentinDupont May 7, 2026 22:11
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @quentinDupont,
some modules you are maintaining are being modified, check this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants