İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3528 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

Check delegation inheritance

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 16
22057
3
May 24
14994
1
Haz 16
3315
0
May 16
3220
3
Oca 16
5838