Hello. We found a bug in file web/static/src/js/views/form_relation_widgets.js (V10). The bug consists in that for a model that is read-only and we want to visualise it in a popup, the buttons SAVE and DISCARD still appear in the popup, which is wrong because those buttons should not appear.
In line 156 the statement readonly: !self.can_write always assigns false because self.can_write is evaluated as a string instead of a boolean. Please fix this because it is a terrible bug. Or advice if we are wrong.