Create Invoice from Budget Lines
budget_invoice · OCA/account-budgeting
Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 121 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
Combined: AGPL-3
Folder size
0.01 MB
Module directory on disk
Code analysis
6 migration notes
2 models
1 view
0 HTTP endpoints
License review
- budget_invoice (LGPL-3) depends on analytic_multicurrency (AGPL-3): combined with its dependencies it must be distributed under AGPL-3, including offering the source to users of a hosted instance. LICENSE_EFFECTIVE_UPGRADE
Based on the manifest licenses of this module and everything it depends on: a heuristic to spot problems early, not legal advice. Methodology
Migration considerations
BudgetLine— Class 'BudgetLine' 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 · sourceBudgetLine— Class 'BudgetLine' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcebudget_line_invoice_create— Class 'budget_line_invoice_create' 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 · sourcebudget_line_invoice_create— Class 'budget_line_invoice_create' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · 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
- Since 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
Create Invoice from Budget Lines
Features:
- Create automatically an Invoice from a set of Budget Lines
This module depends on the OCA module "budget", not on the Odoo core account_budget module.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_budget_line_invoice_create |
budget.line.invoice.create.form | budget.line.invoice.create | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
invoice_create(self, cr, uid, ids, product, partner, context=None)
New fields (0)
No new fields.
Public methods (2)-
do_create(self, cr, uid, ids, context=None) -
view_init(self, cr, uid, fields, context=None)This magic method is called before the wizard opens. It can be used to check for a precondition, as it does in module hr_timesheet_invoice.
Loading…
Loading…
Loading…