Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

Hello,

I'm using Odoo13 Community Edition.


I want to get a parent value for "decoration-danger" if condition, for a one2many field inside a form view. The following tree view is inside a form view:

<tree string="Arbeitaufträge" create="false" editable="bottom" options="{'no_open': True}" decoration-danger="workcenter_id==_id and state in ('ready', 'progress', 'pending')">

<field name="name"/>

<field name="workcenter_id"/>

<field name="state"/>

</tree>


So with "_id" I want to get the id of the record from the form view.

I hope somebody can help me.

Thanks in advance.


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
nov. 20
17804
1
feb. 19
6181
0
mar. 15
4255
2
sept. 24
7909
3
iul. 23
11805