我是openerp / postgresql的新手,并尝试使用表1(hr_employee)中的相应值更新表2(hr_dependency)中的列,这是我系统的主表。
其实我不知道该怎么做。
(表1包含126列,其中两个表属于one2many关系)
table 1 (hr_employee)
------------------------------
id,
mother_name,
m_occupation,
m_date_of_birth,
m_alive_or_dead,
father_name,
f_occupation,
m_date_of_birth,
f_alive_or_dead,
table 2 (hr_dependents)
----------------------------
id,
d_type,
d_name,
d_occupation,
d-date_of-birth,
d_sex,
d_alive_or_dead,