chages in date required field in purchase order=vir
authorapa-tiny <patelamit2003@gmail.com>
Thu, 13 Nov 2008 09:05:11 +0000 (14:35 +0530)
committerapa-tiny <patelamit2003@gmail.com>
Thu, 13 Nov 2008 09:05:11 +0000 (14:35 +0530)
bzr revid: patelamit2003@gmail.com-20081113090511-9dmp0mhsrp4grxs7

addons/purchase/report/order.rml

index e136e95..9ebbe93 100755 (executable)
             <para style="terp_default_9">[[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]</para>
           </td>
           <td>
-            <para style="terp_default_Centre_9">[[ line.date_planned]]</para>
+            <para style="terp_default_Centre_9">[[ time.strftime('%m/%d/%Y', time.strptime( line.date_planned, '%Y-%m-%d %H:%M:%S')) ]]</para>
           </td>
           <td>
             <para style="terp_default_Right_9">[[ line.product_qty ]] </para>