تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3709 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

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,

الصورة الرمزية
إهمال
أفضل إجابة

Check delegation inheritance

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 16
22388
3
مايو 24
15239
1
يونيو 16
3537
0
مايو 16
3401
3
يناير 16
6070