Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3730 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 16
22434
3
трав. 24
15283
1
черв. 16
3566
0
трав. 16
3434
3
січ. 16
6090