Skip to Content
Menu
This question has been flagged
2 Replies
2771 Views

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.

Avatar
Discard
Best Answer

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,

Avatar
Discard
Best Answer

Check delegation inheritance

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 16
20504
3
May 24
13837
1
Jun 16
2466
0
May 16
2419
3
Jan 16
4895