Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3698 Prikazi

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

Check delegation inheritance

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
mar. 16
22342
3
maj 24
15222
1
jun. 16
3517
0
maj 16
3380
3
jan. 16
6038