Hi all,
I am fighting with product packaging module.
I defined my ProductPackaging class as follow:
class ProductPackaging(models.Model):
_inherit = "product.packaging"
@api.onchange("package_carrier_type")
def _onchange_package_type(self):
self.length = 11
{"jsonrpc": "2.0", "id": 844470882, "result": {"value": {"length": 11}}}
But the value is not updated in the view and not stored in the backend. What am I doing wrong?
Thanks