Hello,
I would like to restrict the from editing after, after its creation.
Any example ?
Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I would like to restrict the from editing after, after its creation.
Any example ?
Thank you.
Hello Zakaria,
You can add attribute edit="false" in Form view to restrict Editing after Creation.
For Example : <form edit="false">
I hope this will help you.
Thanks!
Thank you it work
Hi,
You can make this by the following steps.
1. Add an extra field in the form(Boolean, invisible).
2. Make all fields readonly if the boolean field is True.
3. Then inherit the create function and return the dictionary of fields also with the boolean field with value as True.
Thank you.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up