odoo/odoo#264134

Created by Pedram Bi Ria (pebr)
Merged at 390b48a1ba2477437a9f600372e78f427827eb6a

Statuses:

label
odoo-dev:19.0-pos-opw-6213957-pebr
head
3fe40f666d3913e357e58715b165f62f527da0c1
merged
17 hours ago by POS IoT, Adrien Guilliams (adgu)
odoo/odoo
19.0 #264134
saas-19.1 #265589 missing statuses missing r+
saas-19.2
saas-19.3
master

[FIX] point_of_sale: create variant for single-value dynamic attribute

When a product template has a dynamic attribute with only one value, isConfigurable() returns false (correctly suppressing the configurator popup), but create_product_variant_from_pos was never called, leaving the order line without a proper variant and causing error when trying to add it to the order.

opw-6213957


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr