~akretion-team/openerp-connector-ecommerce/openerp-connector-ecommerce-add-fiscal-position-support

« back to all changes in this revision

Viewing changes to connector_ecommerce/product.py

  • Committer: Guewen Baconnier
  • Date: 2013-11-01 16:11:23 UTC
  • Revision ID: guewen.baconnier@camptocamp.com-20131101161123-zmbp4xqe288c80p8
[FIX] context not propagated

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
 
144
144
    def create(self, cr, uid, vals, context=None):
145
145
        product_ids = super(product_product, self).create(
146
 
            cr, uid, vals, context=None)
 
146
            cr, uid, vals, context=context)
147
147
        self._price_changed(cr, uid, [product_ids], vals, context=context)
148
148
        return product_ids
149
149