~gbaconnier-c2c/openobject-extension/oerp7.0-redesign

« back to all changes in this revision

Viewing changes to base_external_referentials/external_osv.py

  • Committer: sebastien beau
  • Date: 2012-09-13 09:35:11 UTC
  • Revision ID: sebastien.beau@akretion.com.br-20120913093511-zs5lih9kholmv18e
[REF] work in progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    return decorator
97
97
 
98
98
 
99
 
class ExternalSession(object): 
 
99
class ExternalSession(object):
100
100
    def __init__(self, referential, sync_from_object=None):
101
101
        """External Session in an object to store the information about a connection with an
102
102
        extenal system, like Magento, Prestashop, Ebay, ftp....
703
703
                result['write_ids'].append(res['write_id'])
704
704
    return result
705
705
 
706
 
# XXX a degager # alexandre scan stopped here. TODO sebastien: la suite :-)
 
706
# XXX a degager
707
707
@extend(Model)
708
708
def _record_one_external_resource(self, cr, uid, external_session, resource, defaults=None, mapping=None, mapping_id=None, context=None):
709
709
    """Used in _record_external_resources