-
- Downloads
[FIX] website_sale: archive pricelist if website have another available
Steps to reproduce: - Install eCommerce module - Select company A and set only one pricelist with: - company = company A - website = website of company A - Select company B and set multiple pricelist. - Switch to company B - Archive a pricelist Issue: Error: "With this action, "Website of company A" website would not have any pricelist available". Solution: Use sudo() when searching websites to don't use multi-company compliant ir.rule `product_pricelist_comp_rule` (in website_sale) when getting pricelist_ids (and therefore allow checking all pricelists for all websites in all companies). opw-2759069 closes odoo/odoo#85544 Signed-off-by:Romain Derie (rde) <rde@odoo.com> Co-authored-by:
Romain Derie <rde@odoo.com>
Loading
Please register or sign in to comment