From 01c50b14acd102be816e3f635db539bd32318102 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 27 Mar 2007 11:37:10 +0000 Subject: [PATCH] rewind the change in rev.13571 since it became needless by the change in rev.13691-13692. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13705 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_accounting/AccountModule_getAccountList.xml | 3 +-- .../AccountModule_getAccountingTransactionCount.xml | 3 +-- .../portal_skins/erp5_accounting/AccountModule_getBalance.xml | 3 +-- .../portal_skins/erp5_accounting/AccountModule_statBalance.xml | 3 +-- .../erp5_accounting/Node_getAccountingTransactionList.xml | 3 +-- .../erp5_accounting/Node_statAccountingBalance.xml | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml index 43e9f39040..3d421510c8 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml @@ -83,8 +83,7 @@ if not id:\n kwd[\'select_expression\'] = "\'%s\' AS accounting_transaction_line_currency" % id\n \n # precision for editable fields\n -params = context.ERP5Accounting_getParams(selection_name=selection_name,\n - selection=selection)\n +params = context.ERP5Accounting_getParams(selection_name)\n if params.get(\'precision\', None) is not None:\n context.REQUEST.set(\'precision\', params[\'precision\'])\n \n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml index 6e1f823714..e332ba8189 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml @@ -68,8 +68,7 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>kwd = context.ERP5Accounting_getParams(selection_name=selection_name,\n - selection=selection)\n + <value> <string>kwd = context.ERP5Accounting_getParams(selection_name)\n \n # XXX missing :(\n # this may fail if we have movements on something else than accounts\n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml index 9e16784f93..c5c161017f 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml @@ -69,8 +69,7 @@ <item> <key> <string>_body</string> </key> <value> <string>portal = context.getPortalObject()\n -params = portal.ERP5Accounting_getParams(selection_name=selection_name,\n - selection=selection)\n +params = portal.ERP5Accounting_getParams(selection_name)\n params[\'omit_input\'] = omit_input\n params[\'omit_output\'] = omit_output\n \n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_statBalance.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_statBalance.xml index 801e004cff..1e68416c8f 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_statBalance.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_statBalance.xml @@ -69,8 +69,7 @@ <item> <key> <string>_body</string> </key> <value> <string>portal = context.getPortalObject()\n -params = portal.ERP5Accounting_getParams(selection_name=selection_name,\n - selection=selection)\n +params = portal.ERP5Accounting_getParams(selection_name)\n selection_params = context.portal_selections.getSelectionParamsFor(selection_name)\n \n params[\'omit_input\'] = omit_input\n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml index 52ff928cc0..d35094eef5 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml @@ -72,8 +72,7 @@ from Products.ERP5Type.Message import Message\n portal = context.getPortalObject()\n -params = portal.ERP5Accounting_getParams(selection_name=selection_name,\n - selection=selection)\n +params = portal.ERP5Accounting_getParams(selection_name)\n N_ = lambda msg: Message(\'erp5_ui\', msg)\n \n if params.get(\'precision\', None) is not None:\n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml index 8a412de930..f212545eb7 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml @@ -69,8 +69,7 @@ <item> <key> <string>_body</string> </key> <value> <string>portal = context.getPortalObject()\n -params = portal.ERP5Accounting_getParams(selection_name=selection_name,\n - selection=selection)\n +params = portal.ERP5Accounting_getParams(selection_name)\n \n if kw.get(\'node_uid\'):\n params[\'node_uid\'] = kw[\'node_uid\']\n -- 2.30.9