i have declared a product which i want to do some stuff when it is bought
i need the data of bought product, so i am looking for the function in the source code that fires when the product is bought and user is taken back to the website
i am using Odoo V. 12