Hi everyone. Like the title said, I am trying to get the total amount value of invoices to show in the sale order tree view. However, I am at a loss right now and I don't know the direction I should follow to do that. For example, in the picture the total amount of invoices is more than 5000, and I want to add a column in the tree view of the second picture that shows the amount. If anyone had any idea and was willing to share, I would very appreciate your help and many thanks in advance.
The images:
https://drive.google.com/file/d/1mZwnV4RtUbY6CZ5KEOS8pJcpMl5QYs5U/view?usp=sharing
https://drive.google.com/file/d/1IFr823tSId-c32PSYnWrJ5jnlF4qTfd9/view?usp=sharing