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
23 stars 14 forks source link

Add "Activity Log" entries to item_variant, packaging_variant and bundled_item #5341

Open CarlosNZ opened 3 weeks ago

CarlosNZ commented 3 weeks ago

As raised here

It looks like this will be the first time we're creating an activity log entry for an "Upsert" mutation rather than distinct "Insert" and "Update"s, so need to decide what the correct thing to do should be. If the activity log needs to discriminate between "Insert" and "Update", then we'll need to do additional work for the service layer to tell which it is.

lache-melvin commented 3 weeks ago

Recommending easy option to always do 'ITEM_VARIANT_UPDATED', and just know that the first one was the creation event.

andreievg commented 5 days ago

I think this is a good issue to put into carry over epic (and close for now), sounds like low priority