Purchase Product Usage
purchase_product_usage · OCA/purchase-workflow
Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 37 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 11.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.06 MB
Module directory on disk
Code analysis
2 migration notes
3 models
5 views
0 HTTP endpoints
Migration considerations
ProductUsage— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourcepurchase_product_usage_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_line_form2 |
purchase.order.form | purchase.order.line | form | Inherits purchase.purchase_order_line_form2 |
purchase_product_usage_form |
purchase.product.usage.form | purchase.product.usage | form | New |
purchase_product_usage_tree |
purchase.product.usage.tree | purchase.product.usage | tree | New |
view_purchase_product_usage_search |
purchase.product.usage.search | purchase.product.usage | search | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
usage_idMany2one → purchase.product.usagecomodel_name='purchase.product.usage'string='Usage'
-
onchange_usage_id(self)@api.onchange('usage_id')
New fields (6)
-
account_idMany2one → account.accountcomodel_name='account.account'help='Expense account for vendor bills'string='Account' -
activeBooleandefault=True -
codeCharstring='Code' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Truestring='Company' -
nameCharrequired=Truestring='Description' -
product_idMany2one → product.productcomodel_name='product.product'domain=[('type', 'in', ['consu', 'service'])]help='Purchase this product by default'string='Default Product'
-
name_get(self)
Loading…
Loading…
Loading…