I noticed with 5.2 the product supplier can be bound to product.product not product.template as it was before.
How to achieve this functionality through ORM?
Until now I was updating with following:
product_supplier.product = product_template_object
but, when trying to assign similarly variant:
product_supplier.product = product_variant_object
it throws this exception:
*** trytond.model.modelstorage.RequiredValidationError: ('UserError', ('A value is required for field "Product" in "Product Supplier".', ''))
Thanks for your help,
M+