V12 Server Error - AttributeError: ‘EnergyPointRule’ object has no attribute 'for_assigned_users’

Hi,

I need help in figuring out why I’m getting below error when posting a document. Temporarily we disabled energy point and error is not showing- but I need to know why the error and how to fix so we don’t need to disable the energy point:

Server Error
AttributeError: ‘EnergyPointRule’ object has no attribute ‘for_assigned_users’
image

Please assist.
Thank you in advance.

If you are self hosted on the server check here frappe-bench/logs/* for a record of the error.

Copy and paste the error traceback here so the community can help troubleshoot this.