تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2513 أدوات العرض

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
يوليو 25
8830
1
مايو 25
1101
0
يناير 24
1796
1
فبراير 22
23947
5
ديسمبر 21
16767