Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4044 Tampilan

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
Buang

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

Post Terkait Replies Tampilan Aktivitas
1
Mar 15
7848
1
Jul 23
2320
2
Jan 21
5906
4
Nov 20
6527
1
Mar 19
3273