On our custom application we have a kind of item doctype, and we want to set indicator on listview file dynamically. If the item is in sales order then we want “In order” indicator and if the item is sold (Exist in sales invoice) then we want “Sold” indicator in list view file.
Basically we want to verify the link doctype and set the indicator by calling a python function.
Is it possible to call a python function from listview.js file? if not then what is the best idea to implement this features.
Kindly suggest, Thank you.