Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3560 Vizualizări

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


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 25
2510
0
apr. 21
5332
1
sept. 23
3199
0
nov. 23
2234
1
ian. 23
2682