Unique Supplier Invoice Number in Invoice
account_invoice_supplier_ref_unique · OCA/account-invoicing
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 12 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module checks that a supplier invoice/refund is not entered twice. This is important because if you enter twice the same supplier invoice, there is also a risk that you pay it twice !
This module adds a constraint on supplier invoice/refunds to check that (commercial_partner_id, supplier_invoice_number) is unique, without considering the case of the supplier invoice number. To activate that feature:
- Go to Invoicing/Accounting > Configuration > Settings > Vendor Bills
- Check the 'Check Unicity on Supplier Invoice Number' box.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_form_view |
res.config.settings.form (in account_invoice_supplier_ref_unique) | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_move_form |
account.move | form | Inherits account.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
supplier_invoice_numberCharcopy=Falsereadonly=Truestring='Vendor invoice number'
-
copy(self, default=None)The unique vendor invoice number is not copied in vendor bills
-
check_invoice_supplier_numberBooleanhelp='Check this if you want to constraint the unicity for Invoice Supplier Number'
No public methods.
-
check_invoice_supplier_numberBooleanreadonly=Falserelated='company_id.check_invoice_supplier_number'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…