def delay_export(session, model_name, record_id, vals=None): priority = EXPORT_RECORD_PRIORITY.get(model_name, 100) magentoerpconnect.delay_export(session, model_name, record_id, vals=vals, priority=priority)
def delay_export_all_bindings_for_address(session, model_name, record_id, vals): if session.context.get('connector_no_export'): return record = session.browse(model_name, record_id) for binding in record.magento_address_bind_ids: magentoerpconnect.delay_export(session, binding._model._name, binding.id, vals)
def delay_export(session, model_name, record_id, vals): magentoerpconnect.delay_export(session, model_name, record_id, vals)
def delay_export(session, model_name, record_id, fields=None): magentoerpconnect.delay_export(session, model_name, record_id, fields=fields)