Files
odoo_source/addons/sale_management/controllers
Victor Feyens 38e02bcb7f [FIX] sale_management: do not allow modification of non optional SOlines
The route used by the sale portal to update an option qty didn't check that
the modified SOline was effectively an option.

On the portal, only the optional lines were editable through the interface,
but through xmlrpc, a portal user could be able to remove/update the qty
of non optional lines from a quotation.

This is not a true security failure since only the quantity could be modified
through this route, but it makes sense to add a check to ensure this kind
of modification cannot happen.

closes odoo/odoo#88366

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-05-05 17:33:51 +02:00
..