How can we set specific timezone for website rental app. Not UTC
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
84
Vistas
Hi Umar,
By default the Rental app on the website uses the company’s timezone (or UTC if nothing is set). To change it you can:
- Go to Settings → General Settings → Localization → Timezone and make sure your company has the correct timezone set.
- In the Rental app, dates shown on the website follow that company timezone. If you want a different one only for the website, you’d need a small customization: override the QWeb template or controller to convert the UTC values into your desired timezone using fields.Datetime.context_timestamp().
There’s no per-website timezone setting out-of-the-box, it’s either company-wide or requires a little custom code.
Hope this helps!
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
sept 25
|
206 | ||
|
2
ago 25
|
524 | ||
|
1
ago 25
|
269 | ||
|
1
ago 25
|
879 | ||
|
0
ago 25
|
180 |