【问题标题】:How I can make specific group of users see export/import?如何让特定的用户组看到导出/导入?
【发布时间】:2015-02-13 13:20:21
【问题描述】:

有没有办法让特定的用户组看到导出/导入

【问题讨论】:

    标签: odoo openerp-8


    【解决方案1】:

    这对我有用。 希望你能从我的回答中得到你的结果。

    <html>
    <template id="export_hide_web" inherit_id="web.assets_backend">
        <xpath expr="//link[@href='/web/static/src/css/data_export.css']" position="replace">
            <link rel="stylesheet" href="/web/static/src/css/data_export.css" groups="Your admin groupe" />
        </xpath>
        <xpath expr="//script[@src='/web/static/src/js/data_export.js']" position="replace">
            <script type="text/javascript" src="/web/static/src/js/data_export.js" groups="Your admin group"></script>
        </xpath>
    </template>
    </html>
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-25
    • 1970-01-01
    • 2019-05-03
    • 1970-01-01
    相关资源
    最近更新 更多