in the past we had @api.constraint function that checks amount_total of purchase_order. If some condition was true it raised an ValidationError. This worked fine.
But now we need some other logic that only shows a Warning-Messagebox when Save-Button is clicked in purchase order (if some condition is true), but the Save-Logic still should go On. Raising a ValidationError stops this logic.
can this be achieved with @aoi.constraint? Any other ideas to make such logic?
I doubt you can do this... not with the default Save/Create buttons.