From 950d1cd26e64ac0a4e991f78b2ec692df9baa69d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 18 Jun 2013 17:37:43 +0200
Subject: [PATCH] Display translated title of accounts in the module

---
 .../PortalTypeTemplateItem/portal_types/Account.xml           | 4 +---
 .../erp5_accounting/AccountModule_viewAccountList/listbox.xml | 4 ++--
 bt5/erp5_accounting/bt/revision                               | 2 +-
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account.xml b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account.xml
index a0a56154b3..5a24533073 100644
--- a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account.xml
+++ b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account.xml
@@ -107,9 +107,7 @@
       <dictionary>
         <item>
             <key> <string>domain_name</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string>content_translation</string> </value>
         </item>
         <item>
             <key> <string>property_name</string> </key>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox.xml
index 1541a6b82c..d13e88adf5 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox.xml
@@ -162,7 +162,7 @@
                           <string>GAP Number</string>
                         </tuple>
                         <tuple>
-                          <string>title</string>
+                          <string>translated_title</string>
                           <string>Account Name</string>
                         </tuple>
                         <tuple>
@@ -283,7 +283,7 @@
                           <string>preferred_gap_id</string>
                         </tuple>
                         <tuple>
-                          <string>title</string>
+                          <string>translated_title</string>
                           <string>Account Name</string>
                         </tuple>
                         <tuple>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index e378ae73e4..4b3506d6fd 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1533
\ No newline at end of file
+1534
\ No newline at end of file
-- 
2.30.9