Belgian Payroll: Update time off allocations on schedule change code model._cron_update_allocation_from_new_schedule() 1 days ONSS: Fetch SFTP files form,list code action = records.with_company(records.company_id)._fetch_files() ONSS: Fetch SFTP files code companies = env['res.company'].search([ ('onss_sftp_private_key', '!=', False), ('onss_technical_user_name', '!=', False), ]) for company in companies: model.with_company(company)._fetch_files() 1 days