コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3569 ビュー

Hi there!

We have Business Appointments module, and have a customization module for it.

It displays the times in wrong timezone, it displays them in UTC not local CEST, which is UTC+2.


Here is the code for the fields:

                                    

 To 






Usually T-field uses timezone, and on previous page, times are correctly displayed.
I try an example:
 

But it gives Nontype object error:

Error to render compiling AST
TypeError: 'NoneType' object is not callable
Template: business_appointment_website.ba_contact_info

Can anybody know, whythis example not works, (it is in the odoo source !!), and mostly, why t-field not works? The t-option is not doing anything at all, so there are some serious sneakiness somewhere?


Thanks


  John Doe


アバター
破棄
関連投稿 返信 ビュー 活動
1
3月 25
2518
0
4月 21
5339
1
9月 23
3207
0
11月 23
2242
1
1月 23
2697