Files
app-odoo/app_base_chinese/data/res_users_data.xml
Ivan Office f1dfb000cc int 17
2023-10-27 14:08:03 +08:00

31 lines
1.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- 默认user使用write处理 -->
<function model="res.users" name="write" context="{'lang': 'zh_CN'}">
<value eval="[ref('base.default_user')]"/>
<value model="res.users" eval="{
'lang': 'zh_CN',
'tz': 'Etc/GMT-8',
'name': '默认内部用户模板',
}"/>
</function>
<function model="res.users" name="write" context="{'lang': 'zh_CN'}">
<value eval="[ref('base.template_portal_user_id')]"/>
<value model="res.users" eval="{
'lang': 'zh_CN',
'tz': 'Etc/GMT-8',
'name': '默认门户用户模板',
}"/>
</function>
<!-- 游客-->
<function model="res.users" name="write" context="{'lang': 'zh_CN'}">
<value eval="[ref('base.public_user')]"/>
<value model="res.users" eval="{
'lang': 'zh_CN',
'tz': 'Etc/GMT-8',
}"/>
</function>
</data>
</odoo>