Daily updates from Odoo
Thursday, July 7, 2022
1 change
Enhancements to existing features
Approval request product lines now automatically use the selected product's description and unit of measure. This makes integrations and automated request creation easier, especially when units of measure are not actively managed in the database.
Original PR description
Convert the onchange on `product_id` to compute fields This allows to create a `approval.product.line` record without the need to specify the description or uom during the creation nor calling the onchange method. The description and uom defaults from the product. This way, if the database is not configured to use multi uom, the users do not have the specify the UOM to use. For instance during an XMLRPC call to create an approval request with a product line.