Anh Thao Pham (pta) e616795b08 [FIX] l10n_sa_edi: fix access to attachment of EDI document
Steps to reproduce:
- Install Accounting and l10n_sa_edi
- Connect with a non-admin user (e.g. Marc Demo)
- Switch to a SA company
- Create an invoice
- Click on "SEND & PRINT"
=> A traceback is raised when trying to access the attachment linked to
the ZATCA document.

Cause:
Since this commit https://github.com/odoo/odoo/commit/44a4cdb3944a4b722dcfbca5e2947a4372b8501d
the attachment of an EDI document is restricted to users with
"Administration: Settings" rights.

opw-3663305

closes odoo/odoo#149055

X-original-commit: 2fa9626f45b8c0c890d0771d731c4a13c5a7a9d1
Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
Signed-off-by: Anh Thao Pham (pta) <pta@odoo.com>
2024-01-11 17:00:55 +00:00
2023-11-02 21:02:44 +00: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%