From 7eda0912a0e96ba5b80022fd687aec6095ae21c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 10 Jan 2006 19:07:05 +0000
Subject: [PATCH] Add missing categoriess acquired from career. Document
 categories

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5088 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Person.py | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/PropertySheet/Person.py b/product/ERP5/PropertySheet/Person.py
index 3e5bbc3c64..33141c3522 100755
--- a/product/ERP5/PropertySheet/Person.py
+++ b/product/ERP5/PropertySheet/Person.py
@@ -169,6 +169,14 @@ class Person:
     },
   )
 
-  _categories = ( 'region', 'gender', 'product_line', 'nationality', 'marital_status',
-                  'subordination', 'destination_region' )
+  _categories = (  # set on the Person directly
+                  'gender', 'nationality', 'marital_status',
+                  'product_line', # (product interest)
+                   # acquired from address
+                  'region',
+                   # acquired from career
+                  'subordination', 'role', 'function', 'salary_level',
+                   # needed for movements having a Person as destination / source
+                  'destination_region', 'source_region',
+                 )
 
-- 
2.30.9