Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3665 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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,

Imagine profil
Abandonează
Cel mai bun răspuns

Check delegation inheritance

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 16
22301
3
mai 24
15174
1
iun. 16
3471
0
mai 16
3368
3
ian. 16
6016