Home > Database > Mysql Tutorial > body text

OpenERP雇员(员工)表与用户表关联字段解析

WBOY
Release: 2016-06-07 15:54:08
Original
1593 people have browsed it

csdn升级空间后,居然更慢了。难道换DB了? 题外话,很久没回来,刚打开的感觉很不好。 最近忙研究OpenERP,一个优秀的开源项目。 在OE7.0中,雇员/员工在HR模块下,而用户在设置里(组下面), 雇员/员工表是hr_employee,用户表是res_users。 结论: hr_em

csdn升级空间后,居然更慢了。难道换DB了?

题外话,很久没回来,刚打开的感觉很不好。

最近忙研究OpenERP,一个优秀的开源项目。

在OE7.0中,雇员/员工在HR模块下,而用户在设置里(组下面),

雇员/员工表是hr_employee,用户表是res_users。

结论:
hr_employee与res_users表通过resource_resource与之关联:
hr_employee.resource_id=resource_resource.id
resource_resource.user_id=res_users.id

曾有大牛告知,这两个表通过res_partner关联,

这里特别说明,不是通过partner,是通过resource_resource

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!