Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3944 มุมมอง

Hi i applied a field in users preferences and i want check this field value as below:


<openerp>

    <data>

        <template id="jalali_date_view" inherit_id="web.assets_backend">

            <xpath expr="//script[@src='/web/static/src/js/framework/formats.js']" position="replace">

                <t t-if="use_jdv">

                    <script type="text/javascript" src="/jalali_date_view/static/src/js/formats.js"></script>

                </t>

            </xpath>

         </template>

    </data>

</openerp>


How can i check settings fields of current user?

How can i passing a variable to all QWeb templates?(similar context processors in Django)

How can i get current user?

How can i debug and watch current states of variables in server side?(i used t-debug="pdb" but not worked)


Thanks very very very much

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to debug pdf reports แก้ไขแล้ว
2
มิ.ย. 21
8690
1
ก.ค. 25
2011
1
พ.ค. 25
2189
QWeb: use t-if to check birthday date แก้ไขแล้ว
1
เม.ย. 25
2517
1
ก.พ. 25
1800