Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4468 Näkymät

I'm sort of getting the hang of report editing via custom code.  I wish the documentation was better!  Anyhow, I moved the sales order date field up to the top of the page, but I would also like to display it as a simple date, instead of a timestamp.  Can anybody point me to documentation for changing the format of a field in Qweb reports?  Or, is this even possible?
 

Avatar
Hylkää
Tekijä Paras vastaus

Actually found some info. . . under v6 documentation.

https://doc.odoo.com/trunk/server/06_ir_qweb/

Just have to use a t-field-options attribute with the field.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
lokak. 22
6150
2
tammik. 25
9468
1
maalisk. 15
10724
4
tammik. 25
44303
0
lokak. 24
1362