Skip to content

Commit

Permalink
Trigger the change of price on the newly created product
Browse files Browse the repository at this point in the history
  • Loading branch information
guewen committed Jul 23, 2015
1 parent c24b111 commit 17c0a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector_ecommerce/product.py
Expand Up @@ -133,7 +133,7 @@ def write(self, vals):
@api.model
def create(self, vals):
product = super(ProductProduct, self).create(vals)
self._price_changed(vals)
product._price_changed(vals)
return product


Expand Down

0 comments on commit 17c0a20

Please sign in to comment.