From c444c694a16ea758b6c28128a61f8edbdd30a71b Mon Sep 17 00:00:00 2001
From: Tatuya Kamada <tatuya@nexedi.com>
Date: Mon, 2 Nov 2009 10:40:21 +0000
Subject: [PATCH] Make documents enable to access prefecture property

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

diff --git a/product/ERP5/PropertySheet/Organisation.py b/product/ERP5/PropertySheet/Organisation.py
index 1db06b6ec5..fd2fc1b219 100644
--- a/product/ERP5/PropertySheet/Organisation.py
+++ b/product/ERP5/PropertySheet/Organisation.py
@@ -92,7 +92,8 @@ class Organisation:
       'type'        : 'content',
       'portal_type' : ('Address'),
       'acquired_property_id'      : ( 'text', 'street_address', 'city',
-                                     'zip_code', 'region', 'region_title'),
+                                     'zip_code', 'region', 'region_title',
+                                     'prefecture'),
       'acquisition_base_category' : ('region', ),
       'acquisition_portal_type'   : ('Category',),
       'acquisition_copy_value'    : 0,
diff --git a/product/ERP5/PropertySheet/Person.py b/product/ERP5/PropertySheet/Person.py
index 36768e3cdc..2b22130988 100644
--- a/product/ERP5/PropertySheet/Person.py
+++ b/product/ERP5/PropertySheet/Person.py
@@ -107,7 +107,8 @@ class Person:
     , 'type'                     : 'content'
     , 'portal_type'              : ( 'Address', )
     , 'acquired_property_id'     : ( 'text', 'street_address', 'city',
-                                     'zip_code', 'region', 'region_title')
+                                     'zip_code', 'region', 'region_title',
+                                     'prefecture')
     , 'acquisition_base_category': ( 'subordination', )
     , 'acquisition_portal_type'  : ( 'Organisation', )
     , 'acquisition_copy_value'   : 0
-- 
2.30.9