Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3467 Vistas

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
Mejor respuesta

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
Mejor respuesta

Check delegation inheritance

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 16
21935
3
may 24
14904
1
jun 16
3233
0
may 16
3123
3
ene 16
5776