Hi friends,
I want to put a Reset button inside a form and if the user clicks this button in edit/draft mode then reset some fields to default values.
Here are my problems:
- Some fields in the form view are of the type required and when I press the Reset button, Odoo makes red these fields before executing my reset function!!! It's annoying.
- Fields are of different types (ex. Monetary and others). How can I reset all to the default value at once?
- Has Odoo any utility to Reset the form?