Commit 644a4ca8 authored by Élodie Thiéblin's avatar Élodie Thiéblin
Browse files

Remove Miss option from civility

To comply with the 2012 recommendation of the french State Concil to use Mrs as
an equivalent to Mr in forms "to not prejudge the marital status of women"
parent c71dc1fe6e5a
......@@ -4,7 +4,7 @@
modname = 'person'
distname = "cubicweb-%s" % modname
numversion = (1, 11, 0)
numversion = (1, 12, 0)
version = '.'.join(str(num) for num in numversion)
license = 'LGPL'
......
cnx.execute('SET X civility "Mrs" WHERE X is Person, X civility "Ms"')
sync_schema_props_perms()
......@@ -11,7 +11,7 @@ class Person(EntityType):
surname = String(required=True, fulltextindexed=True, indexed=True, maxsize=64)
firstname = String(fulltextindexed=True, maxsize=64)
civility = String(required=True, internationalizable=True,
vocabulary=(_('Mr'), _('Ms'), _('Mrs')),
vocabulary=(_('Mr'), _('Mrs')),
default='Mr')
description = RichString(fulltextindexed=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment