[FIX] Update reference to obsolete field on payment order

This commit is contained in:
Stefan Rijnhart
2013-05-28 15:56:55 +02:00
parent 0bc3cdaa8f
commit cd80149d3a

View File

@@ -194,8 +194,8 @@ class banking_export_clieop_wizard(osv.osv_memory):
runs[payment_type] = [payment_order]
if payment_order.date_prefered == 'fixed':
if payment_order.date_planned:
execution_date = strpdate(payment_order.date_planned)
if payment_order.date_scheduled:
execution_date = strpdate(payment_order.date_scheduled)
else:
execution_date = today
elif payment_order.date_prefered == 'now':