hello everyone i haved been added an filed called employee_id, it gets the record id as the employee id computed field, it worked well when any of depending fields change but i need to run the function on all old date not while creating a new employee or i change the dependens
here is the method
@api.one @api.depends('name') def _compute_employee_id(self): for rec in self: rec.employee_id = rec.id pass employee_id = fields.Char('Employee ID',compute='_compute_employee_id',store=True)
any help will be appreciated