User and partner data from employee
hr_employee_data_from_work_address · OCA/hr
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 92 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.05 MB
Module directory on disk
Code analysis
5 migration notes
1 model
3 views
0 HTTP endpoints
Migration considerations
HrEmployee— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceview_users_simple_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · 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
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update hr_employee e set address_id=null from res_company c where address_id=c.partner_id` - re-check the table/column names still match after upgrading. (4 occurrences in this file) migration-raw-sql-write · 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
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
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_employee_form |
hr.employee | form | Inherits hr.view_employee_form | |
view_users_form |
res.users | form | Inherits base.view_users_form | |
view_users_simple_form |
res.users | form | Inherits base.view_users_simple_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (6)
-
imageBinaryrelated=['address_id', 'image']store=False -
image_mediumBinaryrelated=['address_id', 'image_medium']store=False -
image_smallBinaryrelated=['address_id', 'image_small']store=False -
mobile_phoneCharrelated=['address_id', 'mobile']store=True -
work_emailCharrelated=['address_id', 'email']store=True -
work_phoneCharrelated=['address_id', 'phone']store=True
-
create(self, values)@api.model -
read(self, fields=None, load='_classic_read')@api.multi -
write(self, values)@api.multi
Loading…
Loading…