Hello,
I've inherited the Product model in my custom module, and I'm displaying the views in my custom model. In my product template, I've added a boolean field called is_product_medicine to indicate whether a product is a medicine or not. Now, I want to override the create button behavior so that when I create a new product, it should be marked as a medicine by default.
How can I achieve this?