Community mailing list archives

community@mail.odoo.com

Change format date

by
rogerf_moreno
- 02/11/2015 07:51:10

Hello,

I need modify date format  02/01/2015 00:00:00 to 02/01/2015 in Qweb, the report is sale_order, thanks.

 

                <div t-if="o.date_order" class="col-xs-3">

                  <strong t-if="o.state not in [''draft'',''sent'']">Date Ordered:</strong>

                  <strong t-if="o.state in [''draft'',''sent'']">Quotation Date:</strong>

                  <p t-field="o.date_order"/>

                </div>