Commit 01c50b14 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

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
parent 3cfb601a
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment