~magentoerpconnect-core-editors/magentoerpconnect/oerp6.1-stable

« back to all changes in this revision

Viewing changes to magentoerpconnect/magerp_core.py

  • Committer: Sébastien Beau
  • Date: 2013-06-06 17:53:04 UTC
  • mfrom: (685.1.4 magentoerpconnect)
  • Revision ID: sebastien.beau@akretion.com-20130606175304-r51kf087n169qrvv
[MERGE] merge fix from Stefan Rijnhart (Therp). Thank you for your work

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
 
100
100
    @only_for_referential('magento')
101
101
    def import_product_categories(self, cr, uid, ids, context=None):
 
102
        if context is None:
 
103
            context = {}
 
104
        context['conn_obj'] = self.external_connection(cr, uid, ids, context=context)
102
105
        self.import_resources(cr, uid, ids, 'product.category', method='search_then_read_no_loop', context=context)
103
106
        return True
104
107