0 votes
2 views

I create template in module labs.

 <template id="worbook_employee_miss_message">
                                    <t t-if="time_research">
                                        <div>
                                            <span style="color: red">test</span>
                                        </div>
                                    </t>
                                </template>

I call it in formview

<t t-call="labs.worbook_employee_miss_message">
                                <t t-set="time_research" t-value="time_research"/>

                            </t>

But there is no block div on form. time_research field is not empty.

in Back-end by (10.5k points) | 2 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
202 questions
178 answers
34 comments
112,141 users