If a project attribute is consumable and match exacly the name of an allocation attribute, autoupdate project attribute usages.
That's probably a function that has to be called when Pi/manager/admin "Approve"/"Renew" an allocation and also when the allocation is deleted, needs to be updated the projectattributeusages in db.
Also, as this feature is enabled it would be really useful if then there's a check on new allocations form when requesting resouces. If the number of the consumable resource asked is > than projectattributeleft throw error
Description
If a project attribute is consumable and match exacly the name of an allocation attribute, autoupdate project attribute usages.
That's probably a function that has to be called when Pi/manager/admin "Approve"/"Renew" an allocation and also when the allocation is deleted, needs to be updated the projectattributeusages in db.
Also, as this feature is enabled it would be really useful if then there's a check on new allocations form when requesting resouces. If the number of the consumable resource asked is > than projectattributeleft throw error
Component
No response
Additional information
No response