Navigation

    Odoo 中文社区

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

    由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

    本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

    开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

    如果您登录系统碰到问题,请在微信公众号留言:

    谢谢大家 。求助,在 “ir.actions.client” 页面上,再次“ir.actions.client” 如何实现面包屑

    Odoo 开发与实施交流
    3
    5
    36
    Loading More Posts
    • 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
      like_odoo last edited by

      通过菜单按钮(图1)跳转至client页面,再此页面的基础上,再次实现点击跳转事件(另外一个“ir.actions.client” 图二) 则丢失了导航面包屑,请问如何解决? 如果第二次跳转是“ir.actions.act_window” 则会自动加载面包屑 显示正常。。求助 谢谢了
      dcaa8894-8a22-4a29-9baa-dc64fbdbebe5-image.png

      84cda478-1985-432a-9251-49702d2a8868-image.png

      1 Reply Last reply Reply Quote 0
      • S
        staytai2020 last edited by

        尝试target:new试试,

        L 1 Reply Last reply Reply Quote 0
        • 静静
          静静 last edited by

          do_action 应该是有对应的参数. 类似这样的,自己可以去试试。

           this.do_action({
                  type: 'ir.actions.client',
                  tag: 'import',
                  params: {
                      model: this.dataset.model,
                      // this.dataset.get_context() could be a compound?
                      // not sure. action's context should be evaluated
                      // so safer bet. Odd that timezone & al in it
                      // though
                      context: this.getParent().action.context,
                  }
              }, {
                  on_reverse_breadcrumb: function () {
                      return self.reload();
                  },
              });
          
          L 1 Reply Last reply Reply Quote 0
          • L
            like_odoo @staytai2020 last edited by

            @staytai2020 这个是 不行的 new 是弹窗

            1 Reply Last reply Reply Quote 0
            • L
              like_odoo @静静 last edited by

              @静静 option 总共这么多参数 感觉没有一个是处理自己添加的

              d03519eb-fada-4faa-936a-6eb9dbdbbe9b-image.png

              1 Reply Last reply Reply Quote 0
              • First post
                Last post