Sunday, January 21, 2024
1 change · 17.0
Resolved issues and error corrections
This fix resolves an issue where public website visitors received a "403 Forbidden" error when trying to view products that have accounting tags assigned. The problem occurred because the system attempted to access accounting tag information during tax calculations, but public users don't have permission to view these internal accounting records. The fix ensures that public users can now browse and purchase products without encountering permission errors.
Original PR description
Install module l10n_eu_oss_reports and website_sale Edit a product (i.e. Acoustic Bloc Screens) In Accounting tab add an account tag Try to access the product in webshop as public user User receive an error message 403: Forbidden The page you were looking for could not be authorized. Error message: You are not allowed to access 'Account Tag' (account.account.tag) records. [...] This occurs because during tax computation the system try to access account tags but they cannot be read by the public user opw-3455325 Forward-Port-Of: odoo/odoo#145536