I need to raise a warning while creating a sale record if the customer is outside of a state, but should still be able to continue or reject with the order creation.
Most raise exceptions would stop the execution.
How can I do it without stopping the create function?
Perhaps the OCA's web_notify module could be a solution? See https://github.com/OCA/web/tree/14.0/web_notify
@Yenthe: In this module, i see that they called message by bus.bus, but does this bus.bus need config some how to make it work? I've try to follow this module but not working for odoo 15, i guess i miss some config here.