OCA/product-variant

[10.0][sale_variant_configurator]: Error inherit super

Closed this issue · 1 comments

Hello, there are any errors with the last update in sale_variant_configurator.

return super(SaleOrder, self).create(vals)

res = super(SaleOrder, self)._onchange_product_tmpl_id_configurator()

res = super(SaleOrder, self).product_id_change()

The problem is that the instance is SaleOrder, and in this class the name is SaleOrderLine.

You are totally right. My bad backporting a thing from v11, where you can put only super().

Fixed in 33cfb39