add sum fields from different models in U-I Field

What code is the error coming from?

If you reload the page with your console open, you should be able to expand the error and see the call stack. On the right side of the console, you’ll see what the source and line number of the code the call is coming from.