Commit a3b1e80f by Damien Moulard

remove TODO

parent e3f14924
Pipeline #1744 passed with stage
in 1 minute 37 seconds
...@@ -289,7 +289,6 @@ class CagetteProduct(models.Model): ...@@ -289,7 +289,6 @@ class CagetteProduct(models.Model):
# Active # Active
f["active"] = not data['to_archive'] f["active"] = not data['to_archive']
# TODO if to archive, set stock to 0
res["update"] = api.update('product.template', data['id'], f) res["update"] = api.update('product.template', data['id'], f)
except Exception as e: except Exception as e:
......
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