Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3651 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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,

Awatar
Odrzuć
Najlepsza odpowiedź

Check delegation inheritance

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 16
22266
3
maj 24
15134
1
cze 16
3442
0
maj 16
3352
3
sty 16
5994