From 36fa2abaaafaf2e990a2d7d1371d7c191c0869ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 21 Dec 2005 19:21:39 +0000
Subject: [PATCH] use getPortalAccountingTransactionTypeList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4847 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...odule_getOtherPartiesReportSectionList.xml | 125 +++++++-------
 .../listbox.xml                               |  33 +++-
 ...le_getJournalAccountingTransactionList.xml | 159 +++++++++---------
 ...ntingTransactionModule_getSourceCredit.xml |  72 ++++----
 ...untingTransactionModule_getSourceDebit.xml |  75 ++++-----
 .../listbox.xml                               |  27 +--
 .../my_transaction_portal_type.xml            |  23 ++-
 ...AccountingTransaction_deleteEmptyLines.xml |  57 +++----
 .../BankAccount_statSourceBalance.xml         |   2 +-
 .../listbox.xml                               |  33 +++-
 10 files changed, 328 insertions(+), 278 deletions(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
index 869c2fd582..312c4c2a24 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
@@ -83,6 +83,7 @@ role_filter_list = request.get(\'entity_role\', None)\n
 omit_balanced_accounts = request[\'omit_balanced_accounts\']\n
 omit_empty_accounts = request[\'omit_empty_accounts\']\n
 from_date = request.get(\'from_date\', None)\n
+accounting_transaction_line_currency = request.get(\'accounting_transaction_line_currency\', None)\n
 \n
 # role_filter_list == None means no filter on the role\n
 if role_filter_list == [\'\'] : \n
@@ -162,75 +163,76 @@ return result\n
         </item>
         <item>
             <key> <string>_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FAIbAgABCQEJAQkBCQEJAQkB
+CQEJAQkBDwIUARoEJAEZAhkABgESATABBwEjARoCBgENASwBBAEsAQQCIwEsAhUBCQEVAhsEBgEG
+ASECGQEoAQAAAHMuAAAAQWNjb3VudE1vZHVsZV9nZXRPdGhlclBhcnRpZXNSZXBvcnRTZWN0aW9u
+TGlzdCgBAAAAcy4AAABBY2NvdW50TW9kdWxlX2dldE90aGVyUGFydGllc1JlcG9ydFNlY3Rpb25M
+aXN0KAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
         </item>
         <item>
             <key> <string>_filepath</string> </key>
-            <value> <string>Script (Python):/nexedi/erp5_accounting/AccountModule_getOtherPartiesReportSectionList</string> </value>
+            <value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList</string> </value>
         </item>
         <item>
             <key> <string>_params</string> </key>
@@ -282,6 +284,7 @@ AAAAAA==</string> </value>
                             <string>omit_balanced_accounts</string>
                             <string>omit_empty_accounts</string>
                             <string>from_date</string>
+                            <string>accounting_transaction_line_currency</string>
                             <string>result</string>
                             <string>params</string>
                             <string>_write_</string>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_viewAccountingTransactionList/listbox.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_viewAccountingTransactionList/listbox.xml
index bdc3dc5ec0..588db3d3a5 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_viewAccountingTransactionList/listbox.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_viewAccountingTransactionList/listbox.xml
@@ -186,6 +186,10 @@
                     <key> <string>columns</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>count_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>css_class</string> </key>
                     <value> <string></string> </value>
@@ -252,7 +256,9 @@
                 </item>
                 <item>
                     <key> <string>portal_types</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>report_root_list</string> </key>
@@ -476,7 +482,7 @@
                 <item>
                     <key> <string>list_method</string> </key>
                     <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                     </value>
                 </item>
                 <item>
@@ -582,7 +588,7 @@
                 <item>
                     <key> <string>stat_method</string> </key>
                     <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
@@ -618,6 +624,25 @@
     </pickle>
   </record>
   <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.Formulator.TALESField</string>
+          <string>TALESMethod</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string>python:[(x, x) for x in here.getPortalAccountingTransactionTypeList()]</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
       <tuple>
         <tuple>
@@ -636,7 +661,7 @@
       </dictionary>
     </pickle>
   </record>
-  <record id="3" aka="AAAAAAAAAAM=">
+  <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
       <tuple>
         <tuple>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalAccountingTransactionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalAccountingTransactionList.xml
index 56d66fb740..a5b8514609 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalAccountingTransactionList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalAccountingTransactionList.xml
@@ -122,11 +122,7 @@ for transaction in context\\\n
 \n
     result.append(transaction_dict)\n
     transaction_lines = transaction.contentValues(\n
-      filter = {\'portal_type\' : [ \'Accounting Transaction Line\',\n
-                                  \'Sale Invoice Transaction Line\',\n
-                                  \'Purchase Invoice Transaction Line\',\n
-                                  \'Pay Sheet Transaction Line\',\n
-                                  \'Balance Transaction Line\']})\n
+      filter = {\'portal_type\' : context.getPortalAccountingMovementTypeList()})\n
 \n
     transaction_lines.sort(lambda x,y: cmp(y.getObject().getSourceDebit(),\n
                                            x.getObject().getSourceDebit()))\n
@@ -201,90 +197,87 @@ return result + [{"journal_total_debit": journal_total_debit, "journal_total_cre
         <item>
             <key> <string>_code</string> </key>
             <value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAABoAAABKAAAAQwAA
-AHMVBgAAdAAAdAEAZAEAgwIAfQIAdAMAfAIAZAIAgwIAfQQAdAMAfAIAZAMAgwIAfQUAdAMAfAIA
+AHMSBgAAdAAAdAEAZAEAgwIAfQIAdAMAfAIAZAIAgwIAfQQAdAMAfAIAZAMAgwIAfQUAdAMAfAIA
 ZAQAgwIAfQYAdAMAfAIAZAUAgwIAfQcAdAAAfAIAZAYAgwIAZAcAdAgAgwIAfQkAaAAABGQIAGQJ
 AAM8BGQCAHwEAAM8BGQKAHwGAAM8BGQLAHwFAAM8BGQMAHwHAAM8fQoAfAkAbxQAAXwJAHQLAHwK
-AIMBAGQHADxuAQABZwAAfQwAZA0AfQ0AZA0AfQ4AeC4FdA8AdBAAdAAAdAEAZA4AgwIAZA8AfAoA
-ZBAAdAgAfAoAjQECgwEARF0CBX0RAHQAAHwRAGQRAIMCAIMAAH0RAGcAAH0SAGgAAARkE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cBGgIWAyUBJAESARQBGQEGAQ8BFwEfAwYB
+DwEXAhUBEAEMARIBCQEZARQBDwETAgcBGgIiAigBAAAAcz8AAABBY2NvdW50aW5nVHJhbnNhY3Rp
+b25Nb2R1bGVfZ2V0Sm91cm5hbEFjY291bnRpbmdUcmFuc2FjdGlvbkxpc3QoAQAAAHM/AAAAQWNj
+b3VudGluZ1RyYW5zYWN0aW9uTW9kdWxlX2dldEpvdXJuYWxBY2NvdW50aW5nVHJhbnNhY3Rpb25M
+aXN0KAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
         </item>
         <item>
             <key> <string>_dav_writelocks</string> </key>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceCredit.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceCredit.xml
index 306cb0e59f..9689623132 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceCredit.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceCredit.xml
@@ -66,12 +66,8 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>accounting_transaction_lines_portal_types = [\'Accounting Transaction Line\', \n
-                                             \'Sale Invoice Transaction Line\',\n
-                                             \'Purchase Invoice Transaction Line\', \n
-                                             \'Pay Sheet Transaction Line\',\n
-                                             \'Payment Transaction Line\',\n
-                                             \'Balance Transaction Line\']\n
+            <value> <string>accounting_transaction_lines_portal_types = context.getPortalAccountingMovementTypeList()\n
+\n
 transaction = brain.getObject()\n
 credit = 0\n
 for line in transaction.objectValues() :\n
@@ -96,37 +92,35 @@ return float(\'%.02f\' % (row.quantity or 0.0))\n
         </item>
         <item>
             <key> <string>_code</string> </key>
-            <value> <string encoding="base64">YwAAAAAAAAAAAwAAAE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AAAAA
+cw8AAABTY3JpcHQgKFB5dGhvbilzKwAAAEFjY291bnRpbmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRT
+b3VyY2VDcmVkaXQBAAAAcyQAAAASAhIBBgEZAAYBGQEaASUBHgEEAxIBBgEfARABEAEcAh4BDwEo
+AgAAAHMEAAAATm9uZXMrAAAAQWNjb3VudGluZ1RyYW5zYWN0aW9uTW9kdWxlX2dldFNvdXJjZUNy
+ZWRpdCgCAAAAcwQAAABOb25lcysAAABBY2NvdW50aW5nVHJhbnNhY3Rpb25Nb2R1bGVfZ2V0U291
+cmNlQ3JlZGl0KAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABz
+AAAAAA==</string> </value>
         </item>
         <item>
             <key> <string>_filepath</string> </key>
@@ -163,15 +157,15 @@ AAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </
                             <string>brain</string>
                             <string>selection</string>
                             <string>kw</string>
-                            <string>accounting_transaction_lines_portal_types</string>
                             <string>_getattr_</string>
+                            <string>context</string>
+                            <string>accounting_transaction_lines_portal_types</string>
                             <string>transaction</string>
                             <string>credit</string>
                             <string>_getiter_</string>
                             <string>line</string>
                             <string>params</string>
                             <string>_write_</string>
-                            <string>context</string>
                             <string>_apply_</string>
                             <string>result</string>
                             <string>_getitem_</string>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceDebit.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceDebit.xml
index 859a2d3352..7190685951 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceDebit.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getSourceDebit.xml
@@ -66,12 +66,8 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>accounting_transaction_lines_portal_types = [\'Accounting Transaction Line\', \n
-                                             \'Sale Invoice Transaction Line\',\n
-                                             \'Purchase Invoice Transaction Line\', \n
-                                             \'Pay Sheet Transaction Line\',\n
-                                             \'Payment Transaction Line\',\n
-                                             \'Balance Transaction Line\']\n
+            <value> <string>accounting_transaction_lines_portal_types = context.getPortalAccountingMovementTypeList()\n
+\n
 transaction = brain.getObject()\n
 debit = 0\n
 for line in transaction.objectValues() :\n
@@ -99,39 +95,36 @@ return float(\'%.02f\' % (row.quantity and - row.quantity or 0.0))\n
         </item>
         <item>
             <key> <string>_code</string> </key>
-            <value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGUAAGQBAIQCAFoBAGQAAFMoAgAAAE5jAgAAABIAAAAR
-AAAASwAAAHO5AQAAZAEAZAIAZAMAZAQAZAUAZAYAZwYAfQMAdAEAfAAAZAcAgwIAgwAAfQUAZAgA
-fQYAeJIAdAUAdAEAfAUAZAkAgwIAgwAAgwEARF14AH0IAHQBAHwIAGQKAIMCAIMAAHwDAGoGAG8a
-AAF8BgB0AQB8CABkCwCDAgCDAAA3fQYAbgEAAXQBAHwIAGQMAIMCAIMAAHQBAHwIAGQNAIMCAIMA
-AGoCAG8aAAF8BgB0AQB8CABkCwCDAgCDAAA3fQYAcUkAAXFJAFd8BgBTfAEAdAgAagkAbxYAAXQB
-AHwBAGQOAIMCAIMAAH0KAG4HAAFoAAB9CgBoAAB9AgB0AQB8CgBkDwCDAgBkEACDAQB0CwB8AgCD
-AQBkEAA8ZBEAdAsAfAIAgwEAZBIAPGQRAHQLAHwCAIMBAGQTADx0AQB0DABkFACDAgCDAAB0CwB8
-AgCDAQBkFQA8dA0AdAEAdAwAZBYAgwIAZBcAfAEAZBgAfAIAfAIAjQECfQ4AdA8AfA4AZAgAgwIA
-fRAAdBEAZBkAdAEAfBAAZBoAgwIAbw4AAXQBAHwQAGQaAIMCAAtwBAABZBsAFoMB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YWxfdHlw
+ZXNzBQAAAGJyYWlucwsAAAB0cmFuc2FjdGlvbnMFAAAAZGViaXRzCQAAAF9nZXRpdGVyX3MEAAAA
+bGluZXMJAAAAc2VsZWN0aW9ucwQAAABOb25lcwYAAABwYXJhbXNzAgAAAGt3cwcAAABfd3JpdGVf
+cwcAAABfYXBwbHlfcwYAAAByZXN1bHRzCQAAAF9nZXRpdGVtX3MDAAAAcm93cwUAAABmbG9hdCgS
+AAAAcwUAAABicmFpbnMJAAAAc2VsZWN0aW9ucwIAAABrd3MJAAAAX2dldGF0dHJfcwcAAABjb250
+ZXh0cykAAABhY2NvdW50aW5nX3RyYW5zYWN0aW9uX2xpbmVzX3BvcnRhbF90eXBlc3MLAAAAdHJh
+bnNhY3Rpb25zBQAAAGRlYml0cwkAAABfZ2V0aXRlcl9zBAAAAGxpbmVzBAAAAE5vbmVzBgAAAHBh
+cmFtc3MHAAAAX3dyaXRlX3MHAAAAX2FwcGx5X3MGAAAAcmVzdWx0cwkAAABfZ2V0aXRlbV9zAwAA
+AHJvd3MFAAAAZmxvYXQoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzKgAAAEFjY291bnRp
+bmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRTb3VyY2VEZWJpdAEAAABzKAAAABICEgEGARkABgEZARoB
+JQEeAQQDDQEWAgYBBgEfARABEAEcAiQBDwEoAgAAAHMEAAAATm9uZXMqAAAAQWNjb3VudGluZ1Ry
+YW5zYWN0aW9uTW9kdWxlX2dldFNvdXJjZURlYml0KAIAAABzBAAAAE5vbmVzKgAAAEFjY291bnRp
+bmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRTb3VyY2VEZWJpdCgAAAAAKAAAAABzDwAAAFNjcmlwdCAo
+UHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
         </item>
         <item>
             <key> <string>_filepath</string> </key>
@@ -168,8 +161,9 @@ PG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
                             <string>brain</string>
                             <string>selection</string>
                             <string>kw</string>
-                            <string>accounting_transaction_lines_portal_types</string>
                             <string>_getattr_</string>
+                            <string>context</string>
+                            <string>accounting_transaction_lines_portal_types</string>
                             <string>transaction</string>
                             <string>debit</string>
                             <string>_getiter_</string>
@@ -177,7 +171,6 @@ PG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
                             <string>None</string>
                             <string>params</string>
                             <string>_write_</string>
-                            <string>context</string>
                             <string>_apply_</string>
                             <string>result</string>
                             <string>_getitem_</string>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewAccountingTransactionList/listbox.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewAccountingTransactionList/listbox.xml
index 7d5f543e56..0ef38125bc 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewAccountingTransactionList/listbox.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewAccountingTransactionList/listbox.xml
@@ -334,7 +334,7 @@
                           <string>Type</string>
                         </tuple>
                         <tuple>
-                          <string>delivery.stop_date</string>
+                          <string>delivery.start_date</string>
                           <string>Date</string>
                         </tuple>
                         <tuple>
@@ -388,19 +388,19 @@
                         </tuple>
                         <tuple>
                           <string>translated_portal_type</string>
-                          <string>Type</string>
+                          <string>Transaction Type</string>
                         </tuple>
                         <tuple>
-                          <string>delivery.stop_date</string>
-                          <string>Date</string>
+                          <string>delivery.start_date</string>
+                          <string>Accounting Operation Date</string>
                         </tuple>
                         <tuple>
                           <string>reference</string>
-                          <string>Invoice Number</string>
+                          <string>Document Reference</string>
                         </tuple>
                         <tuple>
                           <string>source_reference</string>
-                          <string>Source Reference</string>
+                          <string>Transaction Reference</string>
                         </tuple>
                         <tuple>
                           <string>translated_simulation_state_title</string>
@@ -458,7 +458,12 @@
                 <item>
                     <key> <string>editable_columns</string> </key>
                     <value>
-                      <list/>
+                      <list>
+                        <tuple>
+                          <string>source_reference</string>
+                          <string>Source Reference</string>
+                        </tuple>
+                      </list>
                     </value>
                 </item>
                 <item>
@@ -497,7 +502,7 @@
                 </item>
                 <item>
                     <key> <string>lines</string> </key>
-                    <value> <int>20</int> </value>
+                    <value> <int>18</int> </value>
                 </item>
                 <item>
                     <key> <string>list_action</string> </key>
@@ -589,7 +594,7 @@
                           <string>Type</string>
                         </tuple>
                         <tuple>
-                          <string>delivery.stop_date</string>
+                          <string>delivery.start_date</string>
                           <string>Date</string>
                         </tuple>
                         <tuple>
@@ -624,8 +629,8 @@
                     <value>
                       <list>
                         <tuple>
-                          <string>delivery.stop_date</string>
-                          <string>delivery.stop_date</string>
+                          <string>delivery.start_date</string>
+                          <string>delivery.start_date</string>
                         </tuple>
                       </list>
                     </value>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalDialog/my_transaction_portal_type.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalDialog/my_transaction_portal_type.xml
index 30cc517f1a..812d3dbe7c 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalDialog/my_transaction_portal_type.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalDialog/my_transaction_portal_type.xml
@@ -156,7 +156,9 @@
                 </item>
                 <item>
                     <key> <string>items</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>required</string> </key>
@@ -326,4 +328,23 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.Formulator.TALESField</string>
+          <string>TALESMethod</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string>python:[(x, x) for x in here.getPortalAccountingTransactionTypeList()]</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_deleteEmptyLines.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_deleteEmptyLines.xml
index b8875c282f..4ee24be850 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_deleteEmptyLines.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_deleteEmptyLines.xml
@@ -70,13 +70,7 @@
 This script deletes all empty (ie. with balance == 0) lines in an accounting transaction\n
 """\n
 \n
-lines_portal_type = (\'Accounting Transaction Line\', \n
-                     \'Sale Invoice Transaction Line\',\n
-                     \'Purchase Invoice Transaction Line\', \n
-                     \'Pay Sheet Transaction Line\',\n
-                     \'Payment Transaction Line\',\n
-                     \'Balance Transaction Line\',)\n
-\n
+lines_portal_type = context.getPortalAccountingMovementTypeList()\n
 transaction = context.getObject()\n
 \n
 for line in transaction.objectValues(portal_type=lines_portal_type) : \n
@@ -96,31 +90,28 @@ if redirect :\n
         <item>
             <key> <string>_code</string> </key>
             <value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGQBAGQCAIQBAFoAAGQAAFMoAwAAAE5pAAAAAGMBAAAACQAA
-ABEAAABDAAAAc08BAABkAQBkAgBkAwBkBABkBQBkBgBmBgB9AQB0AQB0AgBkBwCDAgCDAAB9BAB4
-yQB0BAB0AQB8BABkCACDAgBkCQB8AQCDAAGDAQBEXakAfQYAdAEAfAYAZAcAgwIAgwAAfQYAdAYA
-dAEAfAYAZAoAgwIAZAkAZAsAgwABdAEAfAYAZAwAgwIAZA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SARICHwAGARIDGwAgASIBEAEo
+AhABGwEoAQAAAHMmAAAAQWNjb3VudGluZ1RyYW5zYWN0aW9uX2RlbGV0ZUVtcHR5TGluZXMoAQAA
+AHMmAAAAQWNjb3VudGluZ1RyYW5zYWN0aW9uX2RlbGV0ZUVtcHR5TGluZXMoAAAAACgAAAAAcw8A
+AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
         </item>
         <item>
             <key> <string>_filepath</string> </key>
@@ -155,9 +146,9 @@ dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
                         <value>
                           <tuple>
                             <string>redirect</string>
-                            <string>lines_portal_type</string>
                             <string>_getattr_</string>
                             <string>context</string>
+                            <string>lines_portal_type</string>
                             <string>transaction</string>
                             <string>_getiter_</string>
                             <string>line</string>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_statSourceBalance.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_statSourceBalance.xml
index 2572fdb523..b4f233381f 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_statSourceBalance.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/BankAccount_statSourceBalance.xml
@@ -143,7 +143,7 @@ AHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
         </item>
         <item>
             <key> <string>_filepath</string> </key>
-            <value> <string>Script (Python):/nexedi/erp5_accounting/BankAccount_statSourceBalance</string> </value>
+            <value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/BankAccount_statSourceBalance</string> </value>
         </item>
         <item>
             <key> <string>_params</string> </key>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_viewAccountingTransactionList/listbox.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_viewAccountingTransactionList/listbox.xml
index 3fe8acb41d..02e6dc8732 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_viewAccountingTransactionList/listbox.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_viewAccountingTransactionList/listbox.xml
@@ -186,6 +186,10 @@
                     <key> <string>columns</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>count_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>css_class</string> </key>
                     <value> <string></string> </value>
@@ -252,7 +256,9 @@
                 </item>
                 <item>
                     <key> <string>portal_types</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>report_root_list</string> </key>
@@ -490,7 +496,7 @@
                 <item>
                     <key> <string>list_method</string> </key>
                     <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                     </value>
                 </item>
                 <item>
@@ -600,7 +606,7 @@
                 <item>
                     <key> <string>stat_method</string> </key>
                     <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
@@ -636,6 +642,25 @@
     </pickle>
   </record>
   <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.Formulator.TALESField</string>
+          <string>TALESMethod</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string>python:[(x, x) for x in here.getPortalAccountingTransactionTypeList()]</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
       <tuple>
         <tuple>
@@ -654,7 +679,7 @@
       </dictionary>
     </pickle>
   </record>
-  <record id="3" aka="AAAAAAAAAAM=">
+  <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
       <tuple>
         <tuple>
-- 
2.30.9