fix notify

This commit is contained in:
Ivan Office
2024-08-14 21:28:02 +08:00
parent 5b786cfbec
commit 912eb14967
2 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
{
'name': 'odoo中文版套件之基础,中国会计基础,Chinese Enhance All in One',
'version': '24.06.21',
'version': '24.08.14',
'author': 'odooai.cn',
'category': 'Base',
'website': 'https://www.odooai.cn',

View File

@@ -9,8 +9,9 @@
<function model="ir.default" name="set"
eval="('res.partner', 'tz', 'Etc/GMT-8')"/>
<!--设置用户email在odoo内提醒-->
<function model="ir.default" name="set"
eval="('res.users', 'notification_type', 'inbox')"/>
<!-- fix此处不可设置因为门户用户只能通过 email不能 inbox-->
<!-- <function model="ir.default" name="set"-->
<!-- eval="('res.users', 'notification_type', 'inbox')"/>-->
<!--设置产品默认是可库存产品-->
<function model="ir.default" name="set"
eval="('product.template', 'detailed_type', 'product')"/>