TIP: You can type at any time to perform a new search.
User and partner data from employee
hr_employee_data_from_work_address · OCA/hr
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.api` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
view_users_simple_form— For a target of Odoo 17.0+: view 'view_users_simple_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · 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. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update hr_employee e set address_id=u.partner_id from resource_resource r, res_users u where e.resource_id=r.id and r.user_id=u.id and e.address_id is null` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update res_partner p set phone=coalesce(nullif(trim(p.phone), ''), e.work_phone), email=coalesce(nullif(trim(p.email), ''), e.work_email), mobile=coalesce(nullif(trim(p.mobile), ''), e.mobile_phone) from hr_employee e where e.address_id=p.id` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update hr_employee e set address_id=c.partner_id from res_company c where e.address_id is null` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/hr · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Human Resources
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/hr
- Last tracking update
- 2026-08-07 07:17:51
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Holger Brunn, Pedro M. Baeza, OCA-git-bot, oca-travis
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
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…