Account Bill Line Distribution
account_bill_line_distribution · OCA/multi-company
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 81 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 12.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
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
2 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
AccountInvoice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceAccountInvoiceLineDistribution— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_bill_line_invoice |
account.bill.line.invoice | account.invoice | form | Inherits account.invoice_supplier_form |
account_bill_line_invoice_tree |
account.bill.line.invoice.tree | account.invoice.line | tree | Inherits account.view_invoice_line_tree |
view_invoice_line_form_distribution |
account.invoice.line.form.distribution | account.invoice.line | form | Inherits account.view_invoice_line_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (2)-
invoice_validate(self)@api.multi -
prepare_due_from_move_values(self)
New fields (1)
-
distribution_idsOne2many → account.invoice.line.distributioncopy=Truestring='Distribution' args: 'account.invoice.line.distribution', 'invoice_line_id'
-
create(self, vals)@api.model -
get_default_distribution(self)
New fields (4)
-
amountFloatcompute='_compute_amount'string='Amount' -
company_idMany2one → res.companydefault=_get_default_company_idrequired=Truestring='Company' args: 'res.company' -
invoice_line_idMany2one → account.invoice.lineondelete='cascade'readonly=Truerequired=Truestring='Bill Line' args: 'account.invoice.line' -
percentFloatdefault=0.0string='Percentage'
No public methods.