From 5cb3cfbc2002b5f1391d073ea33164b088f0ffc9 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Wed, 8 Mar 2006 11:17:09 +0000
Subject: [PATCH] added mobile phone

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6035 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Organisation.py | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/PropertySheet/Organisation.py b/product/ERP5/PropertySheet/Organisation.py
index 3651273fbb..bb1ada0407 100755
--- a/product/ERP5/PropertySheet/Organisation.py
+++ b/product/ERP5/PropertySheet/Organisation.py
@@ -115,7 +115,7 @@ class Organisation:
       'mode'        : 'w' },
     { 'id'          : 'telephone',
       'storage_id'  : 'default_telephone',
-      'description' : 'The organisations this persons works for',
+      'description' : 'The default phone for this organisation',
       'type'        : 'content',
       'portal_type' : ('Telephone'),
       'acquisition_base_category' : ('region', ),
@@ -126,6 +126,19 @@ class Organisation:
       'acquisition_accessor_id'   : 'getDefaultTelephoneValue',
       'acquisition_depends'       : None,
       'mode'        : 'w' },
+    { 'id'          : 'mobile_telephone',
+      'storage_id'  : 'mobile_telephone',
+      'description' : 'A default mobile phone for this organisation',
+      'type'        : 'content',
+      'portal_type' : ('Telephone'),
+      'acquisition_base_category' : ('region', ),
+      'acquisition_portal_type'   : ('Category',),
+      'acquisition_copy_value'    : 0,
+      'acquisition_mask_value'    : 1,
+      'acquisition_sync_value'    : 0,
+      'acquisition_accessor_id'   : 'getDefaultMobileTelephoneValue',
+      'acquisition_depends'       : None,
+      'mode'        : 'w' },
     { 'id'          : 'fax',
       'storage_id'  : 'default_fax',
       'description' : 'The organisations this persons works for',
-- 
2.30.9