From 22fef9f7e12fc56a96e333ade93346f06181a417 Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Mon, 12 Jul 2010 11:41:37 +0000 Subject: [PATCH] 2010-07-12 yusei * Update Node_statAccountingBalance and accept "at_date" parameter. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37040 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_accounting/Node_statAccountingBalance.xml | 3 +++ bt5/erp5_accounting/bt/change_log | 3 +++ bt5/erp5_accounting/bt/revision | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) 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 6bf8f4ad23..2bd2171166 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 @@ -92,6 +92,9 @@ if kw.get(\'node_category\'):\n if kw.get(\'mirror_section_category\'):\n params[\'mirror_section_category\'] = kw[\'mirror_section_category\']\n \n +if kw.get(\'at_date\'):\n + params[\'at_date\'] = kw[\'at_date\'].latestTime()\n +\n ###\n # Get the \'where_expression\' parameter\n # XXX can be removed ?\n diff --git a/bt5/erp5_accounting/bt/change_log b/bt5/erp5_accounting/bt/change_log index 559b6baa9b..26c6481373 100644 --- a/bt5/erp5_accounting/bt/change_log +++ b/bt5/erp5_accounting/bt/change_log @@ -1,3 +1,6 @@ +2010-07-12 yusei +* Update Node_statAccountingBalance and accept "at_date" parameter. + 2010-05-28 lucas * Added quantity into Expandable Properties of the default_accounting_transaction_rule object. diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index f699c94371..5a1a9128c1 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1309 \ No newline at end of file +1310 \ No newline at end of file -- 2.30.9