Skip to Content
Menu
This question has been flagged
2 Replies
3761 Rodiniai

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.

Portretas
Atmesti
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,

Portretas
Atmesti
Best Answer

Check delegation inheritance

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 16
22462
3
geg. 24
15315
1
birž. 16
3589
0
geg. 16
3458
3
saus. 16
6100