This question has been flagged

How can I set an automatic email when a sale.order state offer to state sale contract?
and how can I set automatic email when someone buy a shop product, so that a sale.order creates?

thanksss

Avatar
Discard
Best Answer

Override shop/payment/confirm and do the thing

or define @api.onchange('state')  in side sale.order and  do the thing

Avatar
Discard
Author

Override shop/payment/confirm and do the thing, where ??????? where I need to overwrite this

inherit the website_sale controller

Author

is there a way to do it without making a new modul, it should be a standard function, to send an email when someone buyed a product in the odoo shop.