You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the real world, a camera won't become an asset all of a sudden. Also, each asset type is treated differently, like camera assets can be linked with multiple beds. However, an HL7 monitor shouldn't be allowed to be linked with multiple beds.
So, the asset type of an asset should not be modifiable once created.
The text was updated successfully, but these errors were encountered:
* fixes#1324, disallow asset type modifications
* fixes#1323, rectify bed_is_occupied filter for patient asset bed view
* fixes#1322, cascade delete `AssetBed`
* fixes#1319, disallow linking asset beds of same asset type
* fix queryset delete of AssetBed
* oops, forgot to run the migration :)
* delete assetbed before asset/bed
* only allow setting asset class on creation (or updation if asset class is not set)
Related to #1319
In the real world, a camera won't become an asset all of a sudden. Also, each asset type is treated differently, like camera assets can be linked with multiple beds. However, an HL7 monitor shouldn't be allowed to be linked with multiple beds.
So, the asset type of an asset should not be modifiable once created.
The text was updated successfully, but these errors were encountered: