~magentoerpconnect-core-editors/magentoerpconnect/trunk_version

« back to all changes in this revision

Viewing changes to magentoerpconnect/sale.py

[MRG] [FIX] fix lp:1154689 can't use cron to update partners

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        group_ids = self.search(cr, uid, [], context=context)
165
165
 
166
166
        if group_ids:
167
 
            shop_groups = self.browse(cr, uid, ids, context=context)
 
167
            shop_groups = self.browse(cr, uid, group_ids, context=context)
168
168
 
169
169
            for group in shop_groups:
170
170
                self._import_partners(cr, uid, group, context=context)