跳至內容
選單
此問題已被標幟
2510 瀏覽次數

I want to add a link on the order that points to a search in an unrelated model. I have a tree view like this:

<record model="ir.ui.view"
        id="sale_order_email_scheduled_tree">
  <field name="name">sale.order_email.collection.tree</field>
  <field name="model">sale.order_email.scheduled_email</field>
  <field name="type">tree</field>
  <field name="arch" type="xml">
    <tree string="Scheduled Emails"
          create="false">
      <field name="order_id"/>
    </tree>
  </field>
</record>

And I want to link to it being searched such that [('order_id', '=', 'obj.id')]. How would I accomplish that?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
7月 25
8822
1
5月 25
1100
0
1月 24
1791
1
2月 22
23937
5
12月 21
16766