Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4161 มุมมอง

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

อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
7942
1
ก.ค. 23
2437
2
ม.ค. 21
6067
4
พ.ย. 20
6702
Why can't i find some models in db? แก้ไขแล้ว
1
มี.ค. 19
3356