rolandojduartem 103583192b [FIX] website_sale: Fix access to partner from website sale
When the user is not signed up, in the address tab of the cart, an error
appears because this user does not have the access to the model
l10n_latam.identification.type with 403 Forbidden. The model is accessed
by [1] [2], therefore sudo is required to access the information of the
partner.

References:

- [1] https://github.com/odoo/odoo/blob/600bd9c8/addons/website_sale/controllers/main.py#L1043
- [2] https://github.com/odoo/odoo/blob/600bd9c8/addons/l10n_latam_base/models/res_partner.py#L21

closes odoo/odoo#130455

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2023-08-04 13:42:03 +02:00
2023-08-02 05:10:21 +02:00
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%