From 9187249cd5815dbae3ab2a68d92b21f5b8bc79ca Mon Sep 17 00:00:00 2001 From: Christophe Dumez <christophe@nexedi.com> Date: Wed, 9 Aug 2006 14:00:21 +0000 Subject: [PATCH] - set a reference for Male/Female categories (M/F) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9105 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../CategoryTemplateItem/portal_categories/gender.xml | 8 ++++++-- .../PathTemplateItem/portal_categories/gender/female.xml | 4 ++++ .../PathTemplateItem/portal_categories/gender/male.xml | 4 ++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_base/CategoryTemplateItem/portal_categories/gender.xml b/bt5/erp5_base/CategoryTemplateItem/portal_categories/gender.xml index fa831bcb69..8f5e543604 100644 --- a/bt5/erp5_base/CategoryTemplateItem/portal_categories/gender.xml +++ b/bt5/erp5_base/CategoryTemplateItem/portal_categories/gender.xml @@ -385,7 +385,9 @@ </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>fallback_base_category</string> </key> @@ -403,7 +405,9 @@ </item> <item> <key> <string>title</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>uid</string> </key> diff --git a/bt5/erp5_base/PathTemplateItem/portal_categories/gender/female.xml b/bt5/erp5_base/PathTemplateItem/portal_categories/gender/female.xml index c1c640ec92..843e55b89c 100644 --- a/bt5/erp5_base/PathTemplateItem/portal_categories/gender/female.xml +++ b/bt5/erp5_base/PathTemplateItem/portal_categories/gender/female.xml @@ -46,6 +46,10 @@ <key> <string>codification</string> </key> <value> <string>F</string> </value> </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>F</string> </value> + </item> <item> <key> <string>id</string> </key> <value> <string>female</string> </value> diff --git a/bt5/erp5_base/PathTemplateItem/portal_categories/gender/male.xml b/bt5/erp5_base/PathTemplateItem/portal_categories/gender/male.xml index 4de914cca8..9350894b01 100644 --- a/bt5/erp5_base/PathTemplateItem/portal_categories/gender/male.xml +++ b/bt5/erp5_base/PathTemplateItem/portal_categories/gender/male.xml @@ -46,6 +46,10 @@ <key> <string>codification</string> </key> <value> <string>M</string> </value> </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>M</string> </value> + </item> <item> <key> <string>id</string> </key> <value> <string>male</string> </value> -- 2.30.9