Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2550 Zobrazení

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?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvc 25
8860
1
kvě 25
1115
0
led 24
1806
1
úno 22
23974
5
pro 21
16786