7ef4ba03c4f8dce42f5a56b64d2374373d13aa8d
Have a translation linked to a record unreadable because of a record rule (e.g. a product that is not shared between companies). Display the translations list view; if one such translation is in the view, it will raise an access error. When computing the source value, _compute_source will fail to read the record, and raise an access error. This will make it impossible to access untranslated terms. Instead we guard this error. Since it is displayed in the view, we display an informative message. Note that since we make this error go away, we also fix the check method. Only the superuser bypasses the record rules; so if we made the check on write with _is_admin, it means than a user in group_erp_manager cannot read a record but can edit its translations. opw 2000817 closes odoo/odoo#33989 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
…
…
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%