{"id":887,"date":"2022-02-08T19:22:15","date_gmt":"2022-02-08T13:22:15","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=887"},"modified":"2022-02-08T19:22:15","modified_gmt":"2022-02-08T13:22:15","slug":"odoo-time-showing-in-form-view-does-not-match-time-in-qweb-report-timezone-mismatch","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/odoo-time-showing-in-form-view-does-not-match-time-in-qweb-report-timezone-mismatch.html","title":{"rendered":"Odoo Time Showing in Form View does not match Time in Qweb Report &#8211; Timezone Mismatch"},"content":{"rendered":"\n<p><strong>Synopsis<\/strong><\/p>\n\n\n\n<p>You are seeing a time in the Odoo form view, which is using the correct timezone, but when you try to download the report of the same form view data, you see, the timezone is changed to UTC or something else. How to fix this?<\/p>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<p>The issue appears when the user has configured a different timezone or has not, while the Odoo system uses a central timezone. Make sure to set the timezone for the user to same as the one Odoo uses. You may do so, from<\/p>\n\n\n\n<p>Odoo >> Settings >> Users >> Select User >> Edit >> Preference >> Set Timezone<\/p>\n\n\n\n<p>If this does not solve the problem, then the problem probably appears because Odoobot is set to use a different timezone, and your report is generated using &#8216;sudo()&#8217; function. To set the timezone for Odoobot<\/p>\n\n\n\n<p>Odoo >> Settings >> Users >> From the Filters, select &#8216;Inactive Users&#8217; >> Click on Odoobot >> Edit >> Preference >> Set the Timezone<\/p>\n\n\n\n<p>Hope this helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Synopsis You are seeing a time in the Odoo form view, which is using the correct timezone, but when you try to download the report of the same form view data, you see, the timezone is changed to UTC or something else. How to fix this? Solution The issue appears when the user has configured &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/odoo-time-showing-in-form-view-does-not-match-time-in-qweb-report-timezone-mismatch.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Odoo Time Showing in Form View does not match Time in Qweb Report &#8211; Timezone Mismatch&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[292],"tags":[297,676,232],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/887"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=887"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/887\/revisions"}],"predecessor-version":[{"id":888,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/887\/revisions\/888"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}