Invoice Analysis per Company
account_report_company · odoo/odoo
-
Security25/25No findings
-
Activity0/25Last human commit 135 months ago
-
Required by25/255 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
account_invoice_report— Class 'account_invoice_report' still inherits from the old-style `osv.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceaccount_invoice_report— Class 'account_invoice_report' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceres_partner— Class 'res_partner' still inherits from the old-style `osv.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) migration-old-api-base · sourceres_partner— Class 'res_partner' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Add an extra Company dimension on Invoices for consolidated Invoice Analysis
By default Customer and Supplier invoices can be linked to a contact within a company, but the company is not a direct reference in the database structure for invoices. Journal Entries are however always linked to the company and not to contacts, so that Accounts Payable and Receivable are always correct and consolidated at company level.
When many different contacts/departments need to be invoiced within the same parent company, this can make reporting by Company more difficult: reports are directly based on the database structure and would not provide an aggregated company dimension.
This modules solves the problem by adding an explicit company reference on invoices, automatically computed from the invoice contact, and use this new dimension when grouping the list of Invoices or the Invoice Analysis report by Partner.
Note: this module will likely be removed for the next major OpenERP version and directly integrated in the core accounting.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_partner_merge, account_payment_return, account_statement_base_completion, firstname_display_name_trigger, opl_all
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_report_company_invoice_report_search_view |
account.invoice.report | search | Inherits account.view_account_invoice_report_search | |
account_report_company_invoice_report_tree_view |
account.invoice.report | tree | Inherits account.view_account_invoice_report_tree | |
account_report_company_search_view |
account.invoice | search | Inherits account.view_account_invoice_filter | |
account_report_company_tree_view |
account.invoice | tree | Inherits account.invoice_tree | |
account_report_copmany_partner_kanban_view |
res.partner | kanban | Inherits base.res_partner_kanban_view | |
account_report_copmany_partner_tree_view |
res.partner | tree | Inherits base.view_partner_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.