تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4069 أدوات العرض

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...

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
7891
1
يوليو 23
2381
2
يناير 21
5969
4
نوفمبر 20
6587
1
مارس 19
3308