I'm a odoo new developer and i have a question about the form event (create,edit and more).
I wanna edit the variable value if the form event is edit or modifier.
Or be readonly if the form event is edit :
Form.eventIs == "edit":
myVar = "You're editing the form"
myVar = "You'are creating a new row into the treeview"