Merge lp:~camptocamp/magentoerpconnect/oerp6.1-oldstable-fix-cron-method-2013-03-13 into lp:magentoerpconnect/oerp6.1-oldstable

Proposed by Yannick Vaucher @ Camptocamp
Status: Merged
Merged at revision: 672
Proposed branch: lp:~camptocamp/magentoerpconnect/oerp6.1-oldstable-fix-cron-method-2013-03-13
Merge into: lp:magentoerpconnect/oerp6.1-oldstable
Diff against target: 12 lines (+1/-1)
1 file modified
magentoerpconnect/sale.py (+1/-1)
To merge this branch: bzr merge lp:~camptocamp/magentoerpconnect/oerp6.1-oldstable-fix-cron-method-2013-03-13
Reviewer Review Type Date Requested Status
Alexandre Fayolle - camptocamp code review, no test Approve
Review via email: mp+153194@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Variable ids renamed to variable group_ids

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

LGTM

review: Approve (code review, no test)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'magentoerpconnect/sale.py'
--- magentoerpconnect/sale.py 2013-02-14 12:59:51 +0000
+++ magentoerpconnect/sale.py 2013-03-13 16:55:26 +0000
@@ -168,7 +168,7 @@
168 group_ids = self.search(cr, uid, [], context=context)168 group_ids = self.search(cr, uid, [], context=context)
169169
170 if group_ids:170 if group_ids:
171 shop_groups = self.browse(cr, uid, ids, context=context)171 shop_groups = self.browse(cr, uid, group_ids, context=context)
172172
173 for group in shop_groups:173 for group in shop_groups:
174 self._import_partners(cr, uid, group, context=context)174 self._import_partners(cr, uid, group, context=context)