Hello,
I used to have very similar problem.
I used “dirty” workaround: go to frappe core code: frappe/frappe/model/document.py and delete this section (row 646 - 652):
Then I save the changes in custom doctype and then I put the above section back for “clear” core.
Next savings in custom dcts are ok.
If anyone has a better solution, I’d love to know it ![]()
Jirka