Commit 68f5db49 authored by Tatuya Kamada's avatar Tatuya Kamada

2009-07-09 tatuya

* Fix when printing invoice and setting 'Custom' for payment-trade-date, payment condition returns the custom setting date

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28036 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 02829816
...@@ -115,6 +115,8 @@ def getOrderedDate(date):\n ...@@ -115,6 +115,8 @@ def getOrderedDate(date):\n
return date.strftime(pattern)\n return date.strftime(pattern)\n
\n \n
def getPaymentConditionText(order):\n def getPaymentConditionText(order):\n
if \'custom\' == order.getPaymentConditionTradeDate():\n
return order.getPaymentConditionPaymentDate()\n
end_of_month = order.getPaymentConditionPaymentEndOfMonth()\n end_of_month = order.getPaymentConditionPaymentEndOfMonth()\n
days = order.getPaymentConditionPaymentTerm()\n days = order.getPaymentConditionPaymentTerm()\n
if days:\n if days:\n
......
2009-07-09 tatuya
* Fix when printing invoice and setting 'Custom' for payment-trade-date, payment condition returns the custom setting date
2009-07-03 nicolas 2009-07-03 nicolas
* add cache plugin and memcached plugin for Persistent Caching of document conversions. * add cache plugin and memcached plugin for Persistent Caching of document conversions.
Flare should be installed and running Flare should be installed and running
......
620 625
\ No newline at end of file \ 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