From 31eee82f55d9f6d0cb2ea98646f7a7c8d0ae4512 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Wed, 7 Jan 2009 09:22:44 +0000 Subject: [PATCH] Reset source_reference and destination_reference after clone git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25024 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_accounting/AccountingTransaction_afterClone.xml | 2 ++ bt5/erp5_accounting/bt/revision | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_afterClone.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_afterClone.xml index e49869a563..06b5a7aac2 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_afterClone.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_afterClone.xml @@ -55,7 +55,9 @@ <key> <string>_body</string> </key> <value> <string>"""Reset references on copied transactions.\n """\n +context.setSourceReference(None)\n context.setReference(None)\n +context.setDestinationReference(None)\n </string> </value> </item> <item> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 3f986b9191..6a34de5d27 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -842 \ No newline at end of file +843 \ No newline at end of file -- 2.30.9