Suppose I have a DocType like Quotation that contains a child table, containing links to Item. In the Dashboard of a single Item I would like to see a link to all Quotations containing this Item.
Based on what I know from [doctype]_dashboard.py from v12, your expectations for the way Links works is wrong. To me it looks like it is expecting a standard field called item_code in the Quotation doctype, which matches up with the error Frappe is giving you.
Put another way, in order to find the data in the field of a sub-table, you would need three inputs:
the Doctype
the field name for the child table in your Doctype
the name of the field in the child table Doctype that you want to retrieve
Thanks for your reply. It seems that, in v12 dashboards, the frappe framework was smart enough to also check for links in the child tables, without me having to specify it. This feature is what I’m missing in v13 (or the option to provide the three inputs you mentioned).
True, I just noticed that they don’t provide the same functionality. I didn’t check if the feature i’m missing would still be working with code-defined dashboards.