frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
20.56k stars 7.1k forks source link

Action if Accumulated Monthly Budget Exceeded- calculation different between v10.1.73 and v11.03 beta 25 #16152

Open EliZABZ opened 5 years ago

EliZABZ commented 5 years ago

If you set up a budget against a project and set the action to 'Stop' when Action if Annual Budget Exceeded, the message displayed when a transaction is posted against that budget is different between v10.1.73 and v11.03 beta 25.

The calculation performed in v10.1.73 is incorrect whilst that on v11.03 beta 25. is correct.

I have tested the same data on both these versions and can confirm that the underlying code is different.

image

image

clarkejj commented 5 years ago

Please refer to this discussion https://discuss.erpnext.com/t/action-if-accumulated-monthly-budget-exceeded-calculation-different-between-v10-1-73-and-v11-03-beta-25/43264