Commit 97e2cf85 by Yvon Kerdoncuff

in shelfs inventory page, fix empty value in column Debut inventaire en cours…

in shelfs inventory page, fix empty value in column Debut inventaire en cours (bug introduced after v12 port)
parent f806b09c
Pipeline #4123 canceled with stage
......@@ -566,7 +566,7 @@ class Shelfs(models.Model):
for r in res:
if precision != 'simple':
if r['ongoing_inv_start_datetime'] == "1-01-01 00:00:00":
r['ongoing_inv_start_datetime'] = ""
r['ongoing_inv_start_datetime'] = default_inventory_start_datetime
if r['date_last_product_added'] == "1-01-01":
r['date_last_product_added'] = ""
coop_logger.info(str(r))
......
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