Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 新手求助
  4. win1- + odoo10中,新建订单时间快了8小时,要如何设置

win1- + odoo10中,新建订单时间快了8小时,要如何设置

Scheduled Pinned Locked Moved Odoo 新手求助
14 Posts 5 Posters 13.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eremiter
    wrote on last edited by
    #3

    总监请看,环境win10 俄罗斯精简版,白纸黑字,清清楚楚0_1491803741808_时间差.png

    1 Reply Last reply
    0
    • M mrshelly

      你把快8小时的界面发一下呢?
      你不会是从数据库里看的吧?

      E Offline
      E Offline
      eremiter
      wrote on last edited by
      #4

      @mrshelly 请看,真真切切,是快了8小时,至今无解。
      linux系统正常,win10时间会快替代文字

      jefferyJ 1 Reply Last reply
      0
      • D Offline
        D Offline
        digitalsatori
        管理员
        wrote on last edited by digitalsatori
        #5

        检查一下操作用户的时区设置,在用户的Preference设置里

        【上海先安科技】(tony AT openerp.cn)

        E 1 Reply Last reply
        0
        • M Offline
          M Offline
          mrshelly
          wrote on last edited by
          #6

          在runbot 上, 没有什么问题...

          0_1491824065668_upload-fc8c89ae-6657-4551-af12-35735ac834fe

          备份后.你可以尝试更新一下代码...

          E 1 Reply Last reply
          0
          • D digitalsatori

            检查一下操作用户的时区设置,在用户的Preference设置里

            E Offline
            E Offline
            eremiter
            wrote on last edited by
            #7

            @digitalsatori
            odoo的首选项,选择 asia/shanghai 上海时区,这个有错嘛

            1 Reply Last reply
            0
            • M mrshelly

              在runbot 上, 没有什么问题...

              0_1491824065668_upload-fc8c89ae-6657-4551-af12-35735ac834fe

              备份后.你可以尝试更新一下代码...

              E Offline
              E Offline
              eremiter
              wrote on last edited by
              #8

              @mrshelly
              你是什么系统,有设置其它的东西嘛

              1 Reply Last reply
              0
              • E Offline
                E Offline
                eremiter
                wrote on last edited by
                #9

                @oldrev2
                安装linux子系统,对这个不是很懂,大牛可以出个教程嘛,并说一下使用vitualbox安装unbuntu有多大的区别,资源节省如何,使用方式有什么不同

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  digitalsatori
                  管理员
                  wrote on last edited by digitalsatori
                  #10

                  你这个错得有意思。我估计在数据库里就已经不是UTC时间而是UTC+8的时间,因为你显示出来的是UTC+16的时间。说明客户端是在UTC+8的基础上+8小时了。

                  有安装过其它什么模块吗?如果方便的话,安装个PGADMIN,用它看看数据库里的记录。

                  【上海先安科技】(tony AT openerp.cn)

                  1 Reply Last reply
                  0
                  • jefferyJ Offline
                    jefferyJ Offline
                    jeffery
                    wrote on last edited by
                    #11

                    这个问题的原因是‘有些模块没有将时间以utc格式存回数据库’

                    具体,请阅 http://www.cnblogs.com/odoouse/p/5523275.html

                    D 1 Reply Last reply
                    0
                    • jefferyJ jeffery

                      这个问题的原因是‘有些模块没有将时间以utc格式存回数据库’

                      具体,请阅 http://www.cnblogs.com/odoouse/p/5523275.html

                      D Offline
                      D Offline
                      digitalsatori
                      管理员
                      wrote on last edited by
                      #12

                      @jeffery 在 win1- + odoo10中,新建订单时间快了8小时,要如何设置 中说:

                      这个问题的原因是‘有些模块没有将时间以utc格式存回数据库’

                      具体,请阅 http://www.cnblogs.com/odoouse/p/5523275.html

                      @jeffery 去扫了一下10.0代码,仍然有一些你提到的系统默认值的时差问题。🐂👍

                      不过楼主提到的问题,好象是那些magic field的,与您提到的问题不一样,应该是另有原因。不知道有没有装了第三方模块。

                      【上海先安科技】(tony AT openerp.cn)

                      1 Reply Last reply
                      0
                      • E eremiter

                        @mrshelly 请看,真真切切,是快了8小时,至今无解。
                        linux系统正常,win10时间会快替代文字

                        jefferyJ Offline
                        jefferyJ Offline
                        jeffery
                        wrote on last edited by
                        #13

                        @eremiter 界面上显示 的时间 根据用户的时区 调整过, 数据库里面存储时,一律用 utc-0存储, 例如 用户个人设置时区为 东8区, 而数据库里是 13:52 换算为 东8,界面上显示 21:52

                        出现这个问题的原因是, 订单保存到数据库时,时间 13:52 直接存 的, 而不是 换算为 5:52 存

                        1 Reply Last reply
                        0
                        • I Offline
                          I Offline
                          iooop
                          wrote on last edited by iooop
                          #14
                          This post is deleted!
                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Tags
                          • Popular
                          • Users
                          • Groups