Monday, April 18, 2022
1 change · master
Enhancements to existing features
This update makes it easier for external systems to create product variants in Odoo Sales. By handling data conversion in the right place, integrations can call the product variant creation process more directly and reliably.
Original PR description
### Current behavior before PR: The `product.template` model has a nice function `create_product_variant` that unfortunately expects its input to be in JSON. ### Desired behavior after PR is merged: JSON decoding is moved into the controller, such that the function can be called as expected. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr