Reputation: 666
I am trying to keep a check box "unchecked" in my custom module, Any Idea on this?
Upvotes: 1
Views: 1582
Reputation: 2129
Just make this changes to field.boolean("string",default=False,readonly=False, ,required=False)
It will works, Thanks
Upvotes: 0
Reputation: 10189
If you want to do that, you must set it as readonly, that way no user will be able to set it as True.
Upvotes: 1