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.5k Views 4 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.
  • C Offline
    C Offline
    CCFF
    wrote on last edited by
    #1

    我现在正在做一个导入的向导模块,但是每次点击按钮进行检查的时候向导就自动关闭了,请问有什么方法可以阻止向导自动关闭,并由我做的动作来进行关闭??

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

      在向导中,点任何按钮都会关闭向导。
      使它看起来像没有关闭的方法是:在按钮的最后,重新打开该向导

      至于有没有保持不关闭的方法,我不知道。

      C 1 Reply Last reply
      1
      • C Offline
        C Offline
        CCFF
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • E eric2017

          在向导中,点任何按钮都会关闭向导。
          使它看起来像没有关闭的方法是:在按钮的最后,重新打开该向导

          至于有没有保持不关闭的方法,我不知道。

          C Offline
          C Offline
          CCFF
          wrote on last edited by
          #4

          @eric2017 在 odoo10中怎样控制向导的关闭?? 中说:

          在向导中,点任何按钮都会关闭向导。
          使它看起来像没有关闭的方法是:在按钮的最后,重新打开该向导

          至于有没有保持不关闭的方法,我不知道。

          谢谢,我已经在试着做了,在函数中返回相同记录的向导视图,确实可以,结果也是我想要的😉

          S 1 Reply Last reply
          0
          • C CCFF

            @eric2017 在 odoo10中怎样控制向导的关闭?? 中说:

            在向导中,点任何按钮都会关闭向导。
            使它看起来像没有关闭的方法是:在按钮的最后,重新打开该向导

            至于有没有保持不关闭的方法,我不知道。

            谢谢,我已经在试着做了,在函数中返回相同记录的向导视图,确实可以,结果也是我想要的😉

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

            @ccff 如果用的是 TransientModel,

            系统好像会自删除记录,

            理论上你这套流程可能会存在一个问题,

            打开一个向导后,

            很长一段时间不操作,

            然后进行接下来的操作的时候就会报记录找不到的错误

            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