Account Invoice Template
account_invoice_template · OCA/account-invoicing
OCA/account-financial-tools 6.1 → OCA/account-invoicing 7.0–10.0
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 5 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
account_invoice_template— Class 'account_invoice_template' still inherits from the old-style `orm.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 · sourceaccount_invoice_template— Class 'account_invoice_template' 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 · sourceaccount_invoice_template_line— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceview_invoice_template_line_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_invoice_template_line_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · sourcewizard_select_template— Class 'wizard_select_template' still inherits from the old-style `orm.TransientModel` 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 · sourcewizard_select_template— Class 'wizard_select_template' 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 · sourcewizard_select_template— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcewizard_select_template_line_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) 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
Templates for Invoices
User can configure invoice templates, useful for recurring invoices. The amount of each template line can be computed (through python code) or kept as user input. If user input, when using the template, user has to fill the amount of every input lines. The invoice form allows lo load, through a wizard, the template to use and the amounts to fill.
Contributors
Lorenzo Battistini lorenzo.battistini@agilebg.com Leonardo Pistone leonardo.pistone@camptocamp.com Franco Tampieri franco@tampieri.info
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 8
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_invoice_template_form |
account.invoice.template.form | account.invoice.template | form | New |
view_invoice_template_line_form |
account.invoice.template.line.form | account.invoice.template.line | form | New |
view_invoice_template_line_tree |
account.invoice.template.line.tree | account.invoice.template.line | tree | New |
view_invoice_template_search |
account.invoice.template.search | account.invoice.template | search | New |
view_invoice_template_tree |
account.invoice.template.tree | account.invoice.template | tree | New |
wizard_select_template |
Select Invoice Template | wizard.select.invoice.template | form | New |
wizard_select_template_line |
Select Invoice Template Line | wizard.select.invoice.template.line | form | New |
wizard_select_template_line_tree |
Select Invoice Template Line | wizard.select.invoice.template.line | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
product_id_change(self, cr, uid, ids, product_id, type, context=None)
No new fields.
Public methods (2)-
load_lines(self, cr, uid, ids, context=None) -
load_template(self, cr, uid, ids, context=None)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…