TIP: You can type at any time to perform a new search.
Account Invoice Template
account_invoice_template · OCA/account-invoicing
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
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. 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=`. migration-old-style-fields · sourceaccount_invoice_template_line— Class 'account_invoice_template_line' 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. migration-old-api-base · sourceaccount_invoice_template_line— Class 'account_invoice_template_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_invoice_template_line_form— For a target of Odoo 17.0+: view 'view_invoice_template_line_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · 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. 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=`. migration-old-style-fields · sourcewizard_select_template— For a target of Odoo 17.0+: view 'wizard_select_template' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourcewizard_select_template_line— Class 'wizard_select_template_line' 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. migration-old-api-base · sourcewizard_select_template_line— Class 'wizard_select_template_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_invoice_template_line_tree— View 'view_invoice_template_line_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceview_invoice_template_tree— View 'view_invoice_template_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourcewizard_select_template_line_tree— View 'wizard_select_template_line_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Generic Modules/Accounting
- Folder size
- 0.03 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.agilebg.com
- Last tracking update
- 2026-08-07 07:17:41
- Authors
- Odoo Community Association (OCA), Agile Business Group
- Maintainers
- Odoo Community Association (OCA), Agile Business Group
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_it_bill_of_entry
- 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>
Code Analysis
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)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
product_id_change(self, cr, uid, ids, product_id, type, context=None)
New fields (0)
No new fields.
Public methods (2)-
load_lines(self, cr, uid, ids, context=None) -
load_template(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…