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. 怎么让框架中的“创建”和“导入”这种自带的按钮不显示,

怎么让框架中的“创建”和“导入”这种自带的按钮不显示,

Scheduled Pinned Locked Moved Odoo 开发与实施交流
6 Posts 5 Posters 5.2k Views 5 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.
  • Y Offline
    Y Offline
    yeko
    wrote on last edited by
    #1

    0_1512727996057_1512727968312273548515.jpg

    G W 2 Replies Last reply
    0
    • D Offline
      D Offline
      digitalsatori
      管理员
      wrote on last edited by
      #2

      不安装base_import模块就没有导入按钮,用户没有创建权限或再列表视图的中添加create="0"

      <tree create="0">
      ...
      </tree>
      

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

      Y 1 Reply Last reply
      0
      • D digitalsatori

        不安装base_import模块就没有导入按钮,用户没有创建权限或再列表视图的中添加create="0"

        <tree create="0">
        ...
        </tree>
        
        Y Offline
        Y Offline
        yeko
        wrote on last edited by
        #3

        @digitalsatori base_import安装了的情况下,怎么让导入导出不显示吗?我测试了一下,create="0“ 的时候,创建不在,导入不显示,
        如果我需要创建按钮存在,但是导入不存在呢

        S 1 Reply Last reply
        0
        • Y yeko

          @digitalsatori base_import安装了的情况下,怎么让导入导出不显示吗?我测试了一下,create="0“ 的时候,创建不在,导入不显示,
          如果我需要创建按钮存在,但是导入不存在呢

          S Offline
          S Offline
          Siyuan
          wrote on last edited by
          #4

          @yeko 一般设置里的:允许用户使用CSV/XLS/XLSX/ODS文件导入数据

          1 Reply Last reply
          0
          • Y yeko

            0_1512727996057_1512727968312273548515.jpg

            G Offline
            G Offline
            ghotiv
            wrote on last edited by
            #5

            @yeko tree里面属性没有 重写wiew form渲染函数

            1 Reply Last reply
            0
            • Y yeko

              0_1512727996057_1512727968312273548515.jpg

              W Offline
              W Offline
              willing_wjb
              wrote on last edited by
              #6

              @yeko APPS(https://www.odoo.com/apps) 里有个max_web_hide_list_view_import,装上就不显示了。默认非管理员不显示,管理员还是显示,你可以修改js自己控制;

              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