Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] website_sale: delete explicitely change return_path
In the case of deletion with `ondelete="set null"`, return_path of children of deleted record will not have return_path updated. So remove the parent explicitely so the ORM know to update them. note: in master the parent_id field of product.public.category will be set to `ondelete="cascade"`. opw-2148046 closes odoo#41075 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
- Loading branch information