From ee97a4ada7559f39440f57bb1accee6be91a03c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 11 Dec 2012 18:00:37 +0100 Subject: [PATCH] Fix typo skip -> skype --- contact_mechanism.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact_mechanism.py b/contact_mechanism.py index 11d62b27ad..84e0d7cb00 100644 --- a/contact_mechanism.py +++ b/contact_mechanism.py @@ -74,7 +74,7 @@ class ContactMechanism(ModelSQL, ModelView): depends=['value', 'type', 'active']), 'get_value', setter='set_value') url = fields.Function(fields.Char('URL', states={ - 'invisible': (~Eval('type').in_(['email', 'website', 'skip', + 'invisible': (~Eval('type').in_(['email', 'website', 'skype', 'sip']) | ~Eval('url')), }, depends=['type']),