Hello,
I am searching the function that execute when I press the button “Get Advances Paid” in purchase invoice
Please I have been in this for a lot of days.
Hello,
I am searching the function that execute when I press the button “Get Advances Paid” in purchase invoice
Please I have been in this for a lot of days.
Hi Daniel,
in V13, Button is renamed to Get Advances Received, and it calls the set_advances() function
you will find it in erpnext/controllers/accounts_controller.py
you can use it in your code (sales invoice as an example) as:
sales_invoice_document.set_advances()