Hello all. I am trying to raise a warning when a field changes, for example, party. To accomplish this, I call raise_user_warning() from within the on_change_<field>() method, before returning values. However, these methods run in a rollbacked transaction[1], and it seems that the Warning.check_() method which gets called, tries to perform some delete operations.[2].
This results in an error which says that the DELETE operation cannot be performed in a read-only transaction. Is there a way around this? Perhaps some different approach? I am working on v3.2. Thanks! [1] http://doc.tryton.org/3.2/trytond/doc/ref/models/fields.html#ref-models-fields-on-change [2] https://github.com/tryton/trytond/blob/3.2/trytond/res/user.py#L659
