I need reload the doc of py function return on my callback function.
Error:
TypeError: doc.reload_doc is not a function
py function return a document:
https://github.com/leonardoaugt/financeiro/blob/master/financeiro/financeiro/doctype/titulos/titulos.py#L71
js take the document and do a reload:
https://github.com/leonardoaugt/financeiro/blob/master/financeiro/public/js/payment_entry_doctype.js#L9