Partner Location Auto Create
partner_location_auto_create · OCA/stock-logistics-warehouse
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 50 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.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.04 MB
Module directory on disk
Code analysis
6 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
ResCompany— 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 · sourceResPartner— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (7 methods) migration-api-multi-one · sourceStockLocation— 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 · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (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`) 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
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 |
|---|---|---|---|---|
view_company_form |
Company Form Default Stock Locations | res.company | form | Inherits procurement.mrp_company |
view_location_form |
stock.location.form | stock.location | form | Inherits stock.view_location_form |
view_partner_form |
Partner Form Locations | res.partner | form | Inherits stock.view_partner_property_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
default_customer_locationMany2one → stock.locationdefault=<expr> args: 'stock.location', 'Default Customer Location' -
default_supplier_locationMany2one → stock.locationdefault=<expr> args: 'stock.location', 'Default Supplier Location'
-
get_default_location(self, usage)@api.multiReturn the company's default location related to a usage type
New fields (2)
-
location_idsOne2many → stock.locationstring='Locations' args: 'stock.location', 'partner_id' -
locations_countIntegercompute='_compute_locations_count'store=False
-
button_locations(self)@api.multi -
create(self, vals)@api.modelThe first time a partner is created, a main customer and / or supplier location is created for this partner -
get_main_location(self, usage)@api.multi -
write(self, vals)@api.multi
New fields (1)
-
main_partner_locationBooleanhelp="The root location for a partner's location for a specific type." args: 'Main Partner Location'
No public methods.
Loading…
Loading…