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
1=== modified file 'magentoerpconnect_bundle_split/sale.py'
2--- magentoerpconnect_bundle_split/sale.py 2012-03-27 09:40:33 +0000
3+++ magentoerpconnect_bundle_split/sale.py 2012-05-23 17:47:18 +0000
4@@ -47,15 +47,15 @@
5 else:
6 return super(sale_order, self)._merge_sub_items(cr, uid, product_type,
7 top_item, child_items, context=context)
8-
9- def oe_create(self, cr, uid, vals,
10- external_referential_id, defaults=None, context=None):
11-
12- order_id = super(sale_order, self).\
13- oe_create(cr, uid, vals,
14- external_referential_id,
15- defaults=defaults,
16- context=context)
17+ def oe_create(self, cr, uid,
18+ external_session, vals, resource, defaults, context):
19+
20+ order_id = super(sale_order, self).\
21+ oe_create(cr, uid, external_session,
22+ vals,
23+ resource,
24+ defaults=defaults,
25+ context=context)
26
27 order_line_obj = self.pool.get('sale.order.line')
28 order = self.browse(cr, uid, order_id, context=context)
29
30=== modified file 'magentoerpconnect_bundle_split/stock.py'
31--- magentoerpconnect_bundle_split/stock.py 2012-03-15 09:47:04 +0000
32+++ magentoerpconnect_bundle_split/stock.py 2012-05-23 17:47:18 +0000
33@@ -26,7 +26,7 @@
34
35 _inherit = 'stock.picking'
36
37- def create_ext_shipping(self, cr, uid, id,picking_type,
38+ def create_ext_shipping(self, cr, uid, id, picking_type,
39 external_referential_id, context):
40 """
41 Create the shipping on Magento. It can be a partial