Forget on_change_ to obj in clone sale

This commit is contained in:
resteve 2015-12-10 12:29:08 +01:00
parent 14f414dc1c
commit 462069b997
1 changed files with 1 additions and 2 deletions

View File

@ -1108,8 +1108,7 @@ def clone(lang):
cart.product = product_id
cart.sid = session.sid
cart.galatea_user = session.get('user', None)
for k, v in cart.on_change_product().iteritems():
setattr(cart, k, v)
cart.on_change_product()
to_create.append(cart._save_values)