Hi,
building my first script report
here is my get_columns function :
def get_columns():
return [
{
"label": _("Item Code"),
"fieldname": "item_code",
"fieldtype": "Link",
"options": "Item",
"width": 100
}]
the result is a column containing a link showing “[item_code]:[item_name]”
how should I do to get only “[item_code]”?