Yes this is ok and intuitive for python programmers.
I just assume that not all administrators and coder will be firm enough in python to realize that deleting / omitting
<field name="context">{}</field>
will not set the db-entry correctly.
why this: because obviously nowhere in the xml files a line
<field name="context">{}</field>
is found as example as it is not necessary.
So I strongly suggest to add this trick as hint in the documentation.
Yes this is ok and intuitive for python programmers.
I just assume that not all administrators and coder will be firm enough in python to realize that deleting / omitting >{}</field>
<field name="context"
will not set the db-entry correctly.
why this: because obviously nowhere in the xml files a line >{}</field>
<field name="context"
is found as example as it is not necessary.
So I strongly suggest to add this trick as hint in the documentation.