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. [已解决]odoo10外网登录后,打印格式错误

[已解决]odoo10外网登录后,打印格式错误

Scheduled Pinned Locked Moved Odoo 开发与实施交流
5 Posts 3 Posters 2.9k Views 3 Watching
  • 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
    eric2017
    wrote on last edited by eric2017
    #1

    现象:
    1.只要从外网登录,打印格式就没了(无样式,内容没问题);只要从内网登录,打印格式就好了。
    目前只有登录操作会产生影响,暂时没有发现其他操作会产生影响。

    2.出现问题时,将url改成html的格式,显示出的样式是没有问题的

    3.用的是山东移动的网络。我把电脑拿到外地,就不会出现这样的问题。

    这里只有移动的网络,有没有不换网络的解决办法?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Siyuan
      wrote on last edited by
      #2

      开 debug 模式,

      看下系统参数里是不是没有配 report.url 或者 web.base.url 的值

      1 Reply Last reply
      0
      • E Offline
        E Offline
        eric2017
        wrote on last edited by
        #3

        @Siyuan 非常感谢!!!

        系统参数里有web.base.url配置,没有report.url配置。
        我看了它的文档,web.base.url参数会随着Administrator用户的登录而改变。按照文档的说明,将report.url配置为 http://localhost:8069后,就没有该问题了。

        H 1 Reply Last reply
        0
        • E eric2017

          @Siyuan 非常感谢!!!

          系统参数里有web.base.url配置,没有report.url配置。
          我看了它的文档,web.base.url参数会随着Administrator用户的登录而改变。按照文档的说明,将report.url配置为 http://localhost:8069后,就没有该问题了。

          H Offline
          H Offline
          hui
          wrote on last edited by
          #4

          @eric2017
          你看的这些参数在哪个文档里面啊?

          E 1 Reply Last reply
          0
          • H hui

            @eric2017
            你看的这些参数在哪个文档里面啊?

            E Offline
            E Offline
            eric2017
            wrote on last edited by
            #5

            @hui 在odoo的根目录下,有个doc文件夹。在该文件夹下,全文搜索web.base.url,就能找到。
            至于全部系统参数,我就不知道哪里有这样的列表了🤔

            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