Commit 973fd501 authored by Jérome Perrin's avatar Jérome Perrin

When creating related payments in...

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
parent 4297a3ee
......@@ -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
......
81
\ No newline at end of file
82
\ No newline at end of file
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