Ir al contenido
Menú
Se marcó esta pregunta

I have created a new row in child "project.task"model tree view below but I want parent model "project.project" to show a filed value in the new row.

<t t-extend="ListView">

        <t t-jquery="thead" t-operation="before">

            <t t-if="options.action.res_model=='project.task'">

                <button type="button" class="btn btn-sm btn-primary o_list_button_add" accesskey="C">

                    <t t-esc="options.action.res_model"/>

                </button>

            </t>

        </t>

    </t>

Please help

Avatar
Descartar

You can use something like, task.project_id.field_value...

Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 15
7854
1
jul 23
2322
2
ene 21
5912
4
nov 20
6528
1
mar 19
3278