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 43e9f39040de4fb29709c920cf1385c7fcc64d25..3d421510c80c9acb6c09fb998bb26a7e59caf784 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 6e1f823714990e1af24d547f31c09c5a456a5658..e332ba81892e03822614f0b1c73c006bc43a7987 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 9e16784f93253da5ad6d233b058e662b6a286d6a..c5c161017f3ce7357b2ba29d80e9e56dfc071c8b 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 801e004cff2fbc201337f644e47eb7e018455761..1e68416c8f4d8efca43f230aa198366454a1145c 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 52ff928cc07a8ffa52e9c086ef26c8af4c50f037..d35094eef5f0ab89926e55afb7a2a19b3c5a77d9 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 8a412de930ded3e092f166679c5a8079b531a07c..f212545eb748174aa4599504d71e544c0f470c38 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