Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer

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

Publications associées Réponses Vues Activité
1
mars 15
7891
1
juil. 23
2385
2
janv. 21
5976
4
nov. 20
6589
1
mars 19
3312