Add option to remove leading and trailing white spaces from char

issue7914
review340511008
This commit is contained in:
Cédric Krier committed 2022-09-19 21:25:55 +02:00
1 parent cc4db65307
commit 62cfcf219b
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ class Sale(metaclass=PoolMeta):
web_shop = fields.Many2One('web.shop', "Web Shop", ondelete='RESTRICT')
web_id = fields.Char(
"Web ID",
"Web ID", strip=False,
states={
'required': Bool(Eval('web_shop')),
'readonly': ~Eval('web_id'),