class Multiwoven::Integrations::Source::Odoo::Client
def read(sync_config)
def read(sync_config) connection_config = sync_config.source.connection_specification.with_indifferent_access create_connection(connection_config) query = sync_config.model.query query = batched_query(query, sync_config.limit, sync_config.offset) unless sync_config.limit.nil? && sync_config.offset.nil? query(connection_config, query) rescue StandardError => e handle_exception(e, { context: "ODOO:READ:EXCEPTION", type: "error", sync_id: sync_config.sync_id, sync_run_id: sync_config.sync_run_id }) end