msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

Asset Import doesn't save Replacement Date #4399

Closed jmbrunskill closed 4 weeks ago

jmbrunskill commented 1 month ago

What went wrong? 😲

Noticed that the import seems to validate the replacement due date ok

telegram-cloud-photo-size-1-4934212593657163008-y

but when I look at the asset there is no actual date populated

telegram-cloud-photo-size-1-4934212593657163009-y

Expected behaviour 🤔

Date should save correctly

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Go to Cold Chain -> Equipment
  2. Import an asset with with replacement date
  3. Check if replacement due shows up

Your environment 🌱

mark-prins commented 1 month ago

The replacement date isn't being sent as part of the mutation:

image