Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3916 Zobrazení

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvn 21
8664
1
čvc 25
1998
1
kvě 25
2140
1
dub 25
2501
1
úno 25
1787