i wondering is there any way i could do refresh a field when open a document with some queries to sql…
i want to have list of invoices in some doctype and set the invoice status there… but there is no hooks that can notify when the invoice updated to be paid