Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4300 Vizualizări

Hi I now can add a text next to create button in kanban view.

Is there a way to add a field value next to create button?

What I've done so far is 


<?xml version="1.0" encoding="UTF-8"?>

<templates id="template" xml:space="preserve">

    <t t-extend="KanbanView.buttons">

        <t t-jquery="button.o-kanban-button-new" t-operation="after">

            <t t-if="widget.model=='project.task'">

                <t t-set="o" t-value="doc">

                    <span t-field="o.id"/>

                </t>

            </t>

        </t>

    </t>

</templates>


But I have no idea how to get a field in project.project model to add next to create button.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
dec. 21
3193
1
dec. 23
19111
0
mar. 25
737
1
aug. 24
1586
1
iul. 24
1721