تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4574 أدوات العرض

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?
 

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أكتوبر 22
6260
2
يناير 25
9573
1
مارس 15
10794
4
يناير 25
44503
0
أكتوبر 24
1435