Invoice Write Access

Restrict the creation/update of invoices

Technical Name:
invoice_write_access
Version:
12.0
License:
Author:
Numigi
https://kastor.lab.numigi.net/web/image/product.template/1030/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Invoice Write Access

This module restricts the access to update/create/delete an invoice to a specific group.

Context

In vanilla Odoo, any member of Sale / User or Purchase / User is allowed to update/create/delete an invoice.

How The Module Works

A new technical group Invoice Write Access is added.

static/description/invoice_group.png

The group Accounting / Billing inherits this group. It is not possible to have Accounting / Billing without Invoice Write Access.

Hidden Buttons

The buttons to create an invoice are hidden on the purchase and sales order for non-members of the group Invoice Write Access. See modules invoice_write_access_sale and invoice_write_access_sale.

Extended Security Rules

The module base_extended_security is used to prevent non-members of the new group to create/update/delete an invoice.

This mecanism prevents user to create an invoice through the web interface, but does not impact the internal behavior of Odoo. This limits the risk to create side effects related to modifying native Odoo ACL.

For example, if an unauthorized user attemps to create an invoice, the following message will be displayed:

static/description/invoice_create_message.png

Contributors