0 votes
39 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) | 39 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
204 questions
180 answers
37 comments
268,164 users