Skip to Content
Menú
This question has been flagged
2 Respostes
3608 Vistes

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
Descartar
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
Descartar
Best Answer

Check delegation inheritance

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de març 16
22205
3
de maig 24
15081
1
de juny 16
3396
0
de maig 16
3286
3
de gen. 16
5945