Merge lp:~midwest/magentoerpconnect/bundle_fix into lp:magentoerpconnect/oerp6.1-stable

Proposed by Kyle Waid
Status: Merged
Merged at revision: 654
Proposed branch: lp:~midwest/magentoerpconnect/bundle_fix
Merge into: lp:magentoerpconnect/oerp6.1-stable
Diff against target: 41 lines (+10/-10)
2 files modified
magentoerpconnect_bundle_split/sale.py (+9/-9)
magentoerpconnect_bundle_split/stock.py (+1/-1)
To merge this branch: bzr merge lp:~midwest/magentoerpconnect/bundle_fix
Reviewer Review Type Date Requested Status
Sébastien BEAU - http://www.akretion.com Pending
Review via email: mp+107087@code.launchpad.net

Description of the change

Fix bundle_split module

To post a comment you must log in.
Revision history for this message
Sébastien BEAU - http://www.akretion.com (sebastien.beau) wrote :

thanks

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'magentoerpconnect_bundle_split/sale.py'
--- magentoerpconnect_bundle_split/sale.py 2012-03-27 09:40:33 +0000
+++ magentoerpconnect_bundle_split/sale.py 2012-05-23 17:47:18 +0000
@@ -47,15 +47,15 @@
47 else:47 else:
48 return super(sale_order, self)._merge_sub_items(cr, uid, product_type,48 return super(sale_order, self)._merge_sub_items(cr, uid, product_type,
49 top_item, child_items, context=context)49 top_item, child_items, context=context)
5050 def oe_create(self, cr, uid,
51 def oe_create(self, cr, uid, vals,51 external_session, vals, resource, defaults, context):
52 external_referential_id, defaults=None, context=None):52
5353 order_id = super(sale_order, self).\
54 order_id = super(sale_order, self).\54 oe_create(cr, uid, external_session,
55 oe_create(cr, uid, vals,55 vals,
56 external_referential_id,56 resource,
57 defaults=defaults,57 defaults=defaults,
58 context=context)58 context=context)
5959
60 order_line_obj = self.pool.get('sale.order.line')60 order_line_obj = self.pool.get('sale.order.line')
61 order = self.browse(cr, uid, order_id, context=context)61 order = self.browse(cr, uid, order_id, context=context)
6262
=== modified file 'magentoerpconnect_bundle_split/stock.py'
--- magentoerpconnect_bundle_split/stock.py 2012-03-15 09:47:04 +0000
+++ magentoerpconnect_bundle_split/stock.py 2012-05-23 17:47:18 +0000
@@ -26,7 +26,7 @@
2626
27 _inherit = 'stock.picking'27 _inherit = 'stock.picking'
2828
29 def create_ext_shipping(self, cr, uid, id,picking_type,29 def create_ext_shipping(self, cr, uid, id, picking_type,
30 external_referential_id, context):30 external_referential_id, context):
31 """31 """
32 Create the shipping on Magento. It can be a partial32 Create the shipping on Magento. It can be a partial