跳至内容
菜单
此问题已终结
2 回复
3658 查看

I try to import the view of hr_timesheet_sheet to a new modul. How can i handle this?


for example I want to import only the employee_id from hr_timesheet_sheet to a new modul.

形象
丢弃
最佳答案

I'm not sure what you are trying to get. 1) To inherit a view just add in your xml record. 2) if you want employee_id in other module, just create a related field in your new model field_name = fields.Many2one(relaed='hr_timesheet_sheet.employee_id', ... Kind regards,

形象
丢弃
最佳答案

Check delegation inheritance

形象
丢弃
相关帖文 回复 查看 活动
1
3月 16
22292
3
5月 24
15155
1
6月 16
3449
0
5月 16
3364
3
1月 16
6006