OdooWiki OCA HUB

Purchase Invoice Create Security Group

purchase_invoice_create_security_group folder_open OCA/purchase-workflow open_in_new
Uncategorised License: AGPL-3

This module restricts button to create invoice from purchase orders visibility.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds a security group that controls who can create invoices from purchase orders. When enabled in Purchase settings, only users in the 'Create Invoice in Purchases' group see and can use the invoice creation button.

This module lets you restrict the ability to generate vendor bills directly from a purchase order. It adds a new security group called 'Create Invoice in Purchases' and a company-level setting to turn the protection on or off.

Where it appears in Odoo: - In Purchase settings, a new checkbox 'Enable invoice creation from purchases protection group' is added under the invoicing section. - On the purchase order form, the 'Create Invoice' buttons are hidden for users who are not in the new group when the setting is active.

Business rules and automatic behaviour: - When the setting is enabled, any user not belonging to the 'Create Invoice in Purchases' group will not see the invoice creation buttons on purchase orders. - If such a user tries to create an invoice through another path, Odoo raises an access error telling them to ask the administrator for access. - By default, users with the standard accounting user role are automatically added to the new group, so they keep the ability to create invoices from purchases.

Areas touched: - Purchase orders (purchase.order) and their invoice creation action. - Company settings (res.company) and the general settings screen (res.config.settings). - Security groups and access rights.

Depends on

purchase
Models and fields (3)
  • res.company · extends an existing modelpurchase_invoice_create_security (Enable invoice creation from purchases protection group)
  • purchase.order · extends an existing model
  • res.config.settings · extends an existing modelpurchase_invoice_create_security

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 14.0
  • Go to Settings > Users & Companies > Users.
  • Check 'Create Invoices in Purchases'

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.