From 229774f6271c4c897f5939b7048796b8cd993a7c Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Tue, 15 Feb 2005 13:38:51 +0000
Subject: [PATCH] Added source_region and destination_region base category

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2474 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Arrow.py        | 5 ++++-
 product/ERP5/PropertySheet/Organisation.py | 5 ++++-
 product/ERP5/PropertySheet/Person.py       | 4 +++-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/PropertySheet/Arrow.py b/product/ERP5/PropertySheet/Arrow.py
index 89649fcdc6..efb9e6f6ea 100755
--- a/product/ERP5/PropertySheet/Arrow.py
+++ b/product/ERP5/PropertySheet/Arrow.py
@@ -718,5 +718,8 @@ class Arrow:
                     'source_administration', 'destination_administration',
                     'source_payment', 'destination_payment',
                     'source_project', 'destination_project',
-                    'source_budget', 'destination_budget',)
+                    'source_budget', 'destination_budget',
+                    # Virtual categories
+                    'source_region', 'destination_region',
+                    )
 
diff --git a/product/ERP5/PropertySheet/Organisation.py b/product/ERP5/PropertySheet/Organisation.py
index 1acc1d8d70..c40136372b 100755
--- a/product/ERP5/PropertySheet/Organisation.py
+++ b/product/ERP5/PropertySheet/Organisation.py
@@ -182,4 +182,7 @@ class Organisation:
 
   _categories = ( 'role', 'group', 'activity', 'skill', 'market_segment', 'region',
                   'social_form', 'function', 'source', 'destination', 'source_section',
-                  'destination_section', 'price_currency')
+                  'destination_section', 'price_currency',
+                  # Virtual Categories
+                  'source_region', 'destination_region', )
+                  
diff --git a/product/ERP5/PropertySheet/Person.py b/product/ERP5/PropertySheet/Person.py
index a6a20f2822..02d72121c5 100755
--- a/product/ERP5/PropertySheet/Person.py
+++ b/product/ERP5/PropertySheet/Person.py
@@ -141,5 +141,7 @@ class Person:
 
     _categories = ( 'group', 'market_segment', 'region', 'role', 'function', 'activity',
                     'gender', 'product_line', 'subordination', 'assignment', 'nationality',
-		    'marital_status',)
+                    'marital_status', 
+                    # Virtual Categories
+                    'source_region', 'destination_region', )
 
-- 
2.30.9