validator set to false for read_write in setting
This commit is contained in:
parent
2cb3ddf2e8
commit
d00a623fc1
|
@ -145,6 +145,7 @@ class Setting():
|
||||||
|
|
||||||
def read_only(self):
|
def read_only(self):
|
||||||
"convenience method to freeze, hidde and disable"
|
"convenience method to freeze, hidde and disable"
|
||||||
|
# FIXME LE FREEZE NE MARCHE PAS
|
||||||
self.freeze()
|
self.freeze()
|
||||||
self.disable_property('hidden')
|
self.disable_property('hidden')
|
||||||
self.enable_property('disabled')
|
self.enable_property('disabled')
|
||||||
|
@ -153,10 +154,12 @@ class Setting():
|
||||||
|
|
||||||
def read_write(self):
|
def read_write(self):
|
||||||
"convenience method to freeze, hidde and disable"
|
"convenience method to freeze, hidde and disable"
|
||||||
|
# FIXME : POURQUOI UN FREEZE ICI ?
|
||||||
self.freeze()
|
self.freeze()
|
||||||
self.enable_property('hidden')
|
self.enable_property('hidden')
|
||||||
self.enable_property('disabled')
|
self.enable_property('disabled')
|
||||||
self.mandatory = False
|
self.mandatory = False
|
||||||
|
self.validator = False
|
||||||
|
|
||||||
def non_mandatory(self):
|
def non_mandatory(self):
|
||||||
"""mandatory at the Config level means that the Config raises an error
|
"""mandatory at the Config level means that the Config raises an error
|
||||||
|
|
Loading…
Reference in New Issue