コード例 #1
0
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)
コード例 #2
0
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)
コード例 #3
0
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)
コード例 #4
0
ファイル: consumer.py プロジェクト: OSguard/connector-magento
def delay_export(session, model_name, record_id, vals):
    magentoerpconnect.delay_export(session, model_name,
                                   record_id, vals)
コード例 #5
0
def delay_export(session, model_name, record_id, fields=None):
    magentoerpconnect.delay_export(session, model_name,
                                   record_id, fields=fields)
コード例 #6
0
def delay_export(session, model_name, record_id, vals):
    magentoerpconnect.delay_export(session, model_name, record_id, vals)