6c736c877806812a9d4cef365639d337c9596199
Issue: When a user create -> confirm and then set the invoice to draft, Another user even with right access (in the case Billing right on the accounting access) cannot cancel it Steps to reproduce the bug: 1) Login with admin user having administration rights set as ‘setting’. 2) Inside Customer Invoices Journal Electronic Data Interchange -> Electronic invoicing -> Set/Enable to ‘Factur-X (FR)’ 3) Create an invoice ( Ex. INV/2022/00001) with admin user -> Confirm -> Reset to draft. 4) Login with the billing user (Accounting rights set to ‘Only billing rights’) 5) invoicing -> Open Invoice ( Ex. INV/2022/00001) -> Try Cancel invoice ( Ex. INV/2022/00001) without confirming it. 6) Access Error will be reproduced. 7) Go to Customer Invoices Journal -> Electronic Data Interchange -> Electronic Invoicing -> Uncheck ‘Factur-X (FR)’ -> Save. 8) Repeat above mentioned steps again -> No Access error came this time. Solution: Give the right access to unlink an attachment from set to draft invoice. opw-2925207 closes odoo/odoo#100245 X-original-commit: 8f61715e9048d7bb066d008c3993766e2c537db9 Signed-off-by: Grazioso Andrea (agr) <agr@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, ...
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%