Hi, everyone!
I need to show a modal box with a confirmation message when a new client is created.I made it work (via web_confirm_on_save module + new attribute in partner form view) partially, but only when it creates a new client from the partner area. My problem starts when i want the confirmation box to shows when i creates a new client from the new invoice form.
It seems that odoo don't follow the same flow of actions when shows some forms views in a modal box. Por example, it shows the discard modal box when i modify any field in new partner form inside the partner area. If shows this form in a modal box, ej, create new partner from new invoice form, change any field and cancel the operation, it don't shows the discard box any more.