Odoo 11 how to override the auto generated modal views of one2many field
问题 Hi guys i am new to Odoo, for now i have 2 model as below: class HumanResource(models.Model): _name = 'hr.employee' _inherit = 'hr.employee' test = fields.Char('test') # Profiling Details food_ids = fields.One2many( 'hr.employee.food', 'food_id', string='Food Cost' ) class HrFood(models.Model): _name = "hr.employee.food" _description = "Employee Food" # food_id = fields.Many2one('hr.employee', 'Food', default={'food_id': lambda self, cr, uid, context: context.get('food_id')}) food_id = fields