diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml index 42e405d7d7024e6c9f4ea5245fda8a88c7caacee..b85a0612c185b33b7715585bbd06c63afbc4e989 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_createTermListForTranslation.xml @@ -66,6 +66,7 @@ for i in catalog(portal_type=\'Glossary Term\',\n business_field = english_term.getBusinessField()\n \n if catalog.getResultValue(portal_type=\'Glossary Term\',\n + causality_uid=english_term.getUid(),\n reference=reference,\n business_field_title=business_field,\n language_id=language) is not None:\n @@ -77,7 +78,8 @@ for i in catalog(portal_type=\'Glossary Term\',\n language=language,\n title=english_term.getTitle(),\n description=english_term.getDescription(),\n - comment=english_term.getComment()\n + comment=english_term.getComment(),\n + causality=english_term.getRelativeUrl()\n )\n \n portal_status_message = context.Base_translateString(\'Terms created.\')\n diff --git a/bt5/erp5_forge/bt/change_log b/bt5/erp5_forge/bt/change_log index ae8f50db18ccc262c08e597969684c51f73477fa..255be28637a92447d129d04df47df6c9fd58026b 100644 --- a/bt5/erp5_forge/bt/change_log +++ b/bt5/erp5_forge/bt/change_log @@ -1,3 +1,6 @@ +2008-10-6 yusei +* Set original English term to a new term when create a new term from English ones. + 2008-10-2 yusei * Added a causality field to Glossary Term to specify a original English term. diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision index c0db21d808434d1d2d318e959bc4c7c190a76dcf..cbafdca534b6a2ba9e4ac1da16571516aa607b2d 100644 --- a/bt5/erp5_forge/bt/revision +++ b/bt5/erp5_forge/bt/revision @@ -1 +1 @@ -392 \ No newline at end of file +393 \ No newline at end of file