~ecommerce-addons-core-editors/e-commerce-addons/github-6.1

« back to all changes in this revision

Viewing changes to base_sale_multichannels/wizard/import_order.py

  • Committer: Alexandre Fayolle @ camptocamp
  • Date: 2012-08-21 09:19:48 UTC
  • mfrom: (268.1.2)
  • Revision ID: git-v1:a84a3476adab6ae5c94877bea706c7a3fc996147
merge from fix branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        }
34
34
 
35
35
    def import_order(self, cr, uid, ids, context=None):
36
 
        if not context:
 
36
        if context is None:
37
37
            context={}
38
38
        shop = self.pool.get('sale.shop').browse(cr, uid, context['active_id'], context=context)
39
39
        external_session = ExternalSession(shop.referential_id, shop)