Commit 73da7a2c by Damien Moulard

fix update price & qty on reactivating supplier

parent ff8bc7e6
...@@ -150,7 +150,11 @@ class CagetteProduct(models.Model): ...@@ -150,7 +150,11 @@ class CagetteProduct(models.Model):
f = { f = {
'date_start': today, 'date_start': today,
'date_end': False 'date_end': False,
'price': price,
'base_price': price,
'package_qty': package_qty,
'sequence': 1000 # lowest priority for the new suppliers
} }
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment