We can easily create statinfo in the current model by using the Odoo studio app.
To do that, open the Studio app, move the mouse pointer over the smart button, and click the '+' icon to bring up a popup.
Include a label, some icons, the relevant field, and then make sure. After that, check in the customer smart buttons and exit the studio app. There will be a new smart button added along with an icon and the name.
This customer's count will be added to the button if they place any orders using coupon codes.
After that, select the tab to access the relevant record.
The corresponding record is displayed in list view in the image above.These are the steps to use the Odoo studio app to add statinfo to models.