Merge lp:~red15/magentoerpconnect/fix-magentoerp-logging into lp:magentoerpconnect/oerp6.1-oldstable

Proposed by Niels Huylebroeck on 2012-05-25
Status: Merged
Merged at revision: 635
Proposed branch: lp:~red15/magentoerpconnect/fix-magentoerp-logging
Merge into: lp:magentoerpconnect/oerp6.1-oldstable
Diff against target: 11 lines (+1/-1)
1 file modified
magentoerpconnect_product_variant/product.py (+1/-1)
To merge this branch: bzr merge lp:~red15/magentoerpconnect/fix-magentoerp-logging
Reviewer Review Type Date Requested Status
MagentoERPConnect core editors 2012-05-25 Pending
Review via email: mp+107354@code.launchpad.net

Description of the change

Missed one call in magentoerpconnect_product_variant module

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'magentoerpconnect_product_variant/product.py'
2--- magentoerpconnect_product_variant/product.py 2011-10-28 09:20:03 +0000
3+++ magentoerpconnect_product_variant/product.py 2012-05-25 10:06:17 +0000
4@@ -106,7 +106,7 @@
5 for variant in self.browse(cr, uid, variant_ids, context=context):
6 if variant.magento_exportable:
7 if not self.oeid_to_extid(cr, uid, variant.id, shop.referential_id.id):
8- conn.logger.notifyChannel('ext synchro', netsvc.LOG_INFO, "Force the export of the product %s as it was not exported before" %(id))
9+ conn.logger.info("Force the export of the product %s as it was not exported before", id)
10 self.ext_export(cr, uid, [variant.id], external_referential_ids, defaults, context)
11 return True
12