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. 如何在列表tree view 设定字段显示长度??

如何在列表tree view 设定字段显示长度??

Scheduled Pinned Locked Moved Odoo 开发与实施交流
4 Posts 3 Posters 2.8k Views 1 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.
  • 佳 Offline
    佳 Offline
    佳先生
    wrote on last edited by
    #1

    因为char的长度是500,文字有点多,所以都显示在列表内,会把旁边的都挤到一块儿去,样式会很难看。

    要怎么设定显示的长度啊??  请指教。。

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wjfonhand
      wrote on last edited by
      #2

      http://git.oschina.net/osbzr/openerp-china/tree/master/openerp/addons/osbzr_draggable

      可以拖动改宽度

      GoodERP -- Odoo China fork

      1 Reply Last reply
      0
      • X Offline
        X Offline
        xtjie
        wrote on last edited by
        #3

        写一个函数字段,想显示多少就显示多少。

        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