On the 'resource.calendar', attendance_ids is a computed field and computation is triggered when company_id is changed. Now, if we remove company_id, attendance_ids are left empty. Instead, attendance_ids should be updated only when there is a new company set. task - 3451264 closes odoo/odoo#141433 X-original-commit: af3bff0c578fdbd47a3584cf9e25f3e558cdefc0 Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com> Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>