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']),