Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4588 Lượt xem

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?
 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 22
6279
2
thg 1 25
9625
1
thg 3 15
10804
4
thg 1 25
44564
0
thg 10 24
1461