Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4129 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
7909
1
thg 7 23
2426
2
thg 1 21
6028
4
thg 11 20
6671
1
thg 3 19
3348