I want to add a new field in a doctype which has “Select” type.
It give me an error “‘list’ object has no attribute ‘split’” when I try to migrate my site.
new_field = {
"label": "custom:promoType",
"fieldname": "promotype",
"fieldtype": "Select",
"options":["FAD","PD","BUY1GET1","BUYXGETY"]
}