From 89a7b1a7c278171b5f35d07d495d1ad05b784f93 Mon Sep 17 00:00:00 2001 From: Thibaut Deheunynck <thibaut@nexedi.com> Date: Mon, 4 Aug 2008 08:35:42 +0000 Subject: [PATCH] thibaut add two properties in propertySheet M0, because in the M0 form, the field Logo is separate in two fields ( Initials and sign ). update propertySheet PsjOrganisation with two fields ( sign and acronym ). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22846 20353a03-c40f-0410-a6d1-a30d3c3de9de --- bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0.py | 9 +++++++-- .../PropertySheetTemplateItem/PsjOrganisation.py | 8 ++++++++ bt5/erp5_registry_ohada/bt/revision | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0.py b/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0.py index b247b25eb9..4a6811b5c4 100644 --- a/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0.py +++ b/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0.py @@ -60,8 +60,13 @@ class M0: , 'type' : 'string' , 'mode' : 'w' }, - { 'id' : 'logo' - , 'description': 'Enseigne Sigle' + { 'id' : 'initials' + , 'description': 'Acronym' + , 'type' : 'string' + , 'mode' : 'w' + }, + { 'id' : 'sign' + , 'description': 'Sign' , 'type' : 'string' , 'mode' : 'w' }, diff --git a/bt5/erp5_registry_ohada/PropertySheetTemplateItem/PsjOrganisation.py b/bt5/erp5_registry_ohada/PropertySheetTemplateItem/PsjOrganisation.py index 7bee8b035e..c3dcabfe0b 100644 --- a/bt5/erp5_registry_ohada/PropertySheetTemplateItem/PsjOrganisation.py +++ b/bt5/erp5_registry_ohada/PropertySheetTemplateItem/PsjOrganisation.py @@ -69,6 +69,14 @@ class PsjOrganisation: 'description' : 'Capital Social', 'type' : 'string', 'mode' : 'w'}, + { 'id' : 'sign', + 'description' : 'Sign', + 'type' : 'string', + 'mode' : 'w'}, + { 'id' : 'acronym', + 'description' : 'Acronym', + 'type' : 'string', + 'mode' : 'w'}, ) _categories = ( 'role', 'group', 'activity', 'skill', 'market_segment', diff --git a/bt5/erp5_registry_ohada/bt/revision b/bt5/erp5_registry_ohada/bt/revision index 035d0f0c1d..d062eec37b 100644 --- a/bt5/erp5_registry_ohada/bt/revision +++ b/bt5/erp5_registry_ohada/bt/revision @@ -1 +1 @@ -822 \ No newline at end of file +823 \ No newline at end of file -- 2.30.9