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. 一个模块共用多个视图 如何button跳转以后指定对应的list和form呢

一个模块共用多个视图 如何button跳转以后指定对应的list和form呢

Scheduled Pinned Locked Moved Odoo 开发与实施交流
7 Posts 3 Posters 3.7k 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.
  • L Offline
    L Offline
    languid
    wrote on last edited by
    #1

    view_id可以指定一个list或者form的视图
    但是我想先跳转到指定的list 然后打开list里的视图也是对应的
    当我指定了view_id源码里限制view_mode就只能填一个了
    请问大神们应该怎么解决 蟹蟹

    1 Reply Last reply
    0
    • L Offline
      L Offline
      languid
      wrote on last edited by
      #2

      解决了😧 views多写一个就行了
      上面title一直增加有什么参数可以刷新吗

      1 Reply Last reply
      0
      • 万 Offline
        万 Offline
        万叶言雨
        wrote on last edited by
        #3

        你好,请问下怎么实现的多个视图用一个模块呀?想问下你实现后行级规则是作用于所有视图吗,比如说对某个角色做了行级限制,是不是几个视图看到的是同样记录啊?

        L S 2 Replies Last reply
        0
        • 万 万叶言雨

          你好,请问下怎么实现的多个视图用一个模块呀?想问下你实现后行级规则是作用于所有视图吗,比如说对某个角色做了行级限制,是不是几个视图看到的是同样记录啊?

          L Offline
          L Offline
          languid
          wrote on last edited by
          #4

          @万叶言雨 在原来的form和list表单后面再写一个新的list和form就可以了,但是我现在权限有问题,从别的模块去那个模块还是会跳到原来的视图😧

          1 Reply Last reply
          0
          • 万 Offline
            万 Offline
            万叶言雨
            wrote on last edited by
            #5

            谢谢回复。我也在整这个,一起进步😁

            1 Reply Last reply
            0
            • 万 Offline
              万 Offline
              万叶言雨
              wrote on last edited by
              #6

              你可以试试这个,从其他模块跳转直接绑定动作,动作下绑定的对应表单
              链接文本

              1 Reply Last reply
              0
              • 万 万叶言雨

                你好,请问下怎么实现的多个视图用一个模块呀?想问下你实现后行级规则是作用于所有视图吗,比如说对某个角色做了行级限制,是不是几个视图看到的是同样记录啊?

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

                @万叶言雨 不指定view_id, 默认跳转 priority 数值最小的view

                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