コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3881 ビュー

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
3月 16
22621
3
5月 24
15511
1
6月 16
3710
0
5月 16
3590
3
1月 16
6213