Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3617 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

Check delegation inheritance

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 16
22217
3
kvě 24
15086
1
čvn 16
3404
0
kvě 16
3288
3
led 16
5955