I am editing my custom xml code and want to enable no_create only if another model's field is a certain value.
i.e. options="{"no_create": [('field_x', '=', 1)]}"
Currently I can only get the no_create option to work by setting it to True. Is there a particular syntax I may be missing to enable the use case described above?