From 973fd50187719cf37d5681db704b840d2a946822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 6 Mar 2008 08:38:57 +0000 Subject: [PATCH] When creating related payments in AccountingZuite_createAccountingTransactionList, create those payments with a date after the invoice date git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19711 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../AccountingZuite_createAccountingTransactionList.xml | 4 ++-- bt5/erp5_accounting_ui_test/bt/revision | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml b/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml index ae509c5864..f3e0a0a17d 100644 --- a/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml +++ b/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createAccountingTransactionList.xml @@ -243,8 +243,8 @@ for month in range(1, month_count + 1):\n source_section=section,\n destination_section=getOrganisationByTitle(client_title),\n created_by_builder=1,\n - start_date=default_date,\n - stop_date=default_date,\n + start_date=default_date + .1, # make sure this will be after the invoice\n + stop_date=default_date + .1,\n resource=euro_resource,\n )\n payment.newContent(portal_type=\'Accounting Transaction Line\',\n diff --git a/bt5/erp5_accounting_ui_test/bt/revision b/bt5/erp5_accounting_ui_test/bt/revision index c147342cbe..9d1ce53f8c 100644 --- a/bt5/erp5_accounting_ui_test/bt/revision +++ b/bt5/erp5_accounting_ui_test/bt/revision @@ -1 +1 @@ -81 \ No newline at end of file +82 \ No newline at end of file -- 2.30.9