Validation of related entities

Hi,

I have an entity with a o2m field. I show them in a panel-related field in order to provide add/edit/remove features. I’m encountering several issues :

  • First, errors messages are not shown (reported as issue #1073: https://github.com/axelor/axelor-business-suite/issues/1073) ;
  • Second, there seem to be no way to validate stuff globally while in popup. Indeed, the form onSave event is never triggered since record is only saved through parent form save. This is quite counter intuitive as onSave does not have the same semantic (or at least, it violates the rule of least surprise) if you’re editing a record in a standalone mode or in a o2m popup

Is there a way to ensure that all is 100% correct, except by throwing an exception from repository save() method?