Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3713 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

Check delegation inheritance

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mars 16
22404
3
mai 24
15254
1
juin 16
3541
0
mai 16
3416
3
janv. 16
6074