mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix chinese
This commit is contained in:
@@ -44,9 +44,6 @@ def post_init_hook(cr, registry):
|
|||||||
('id', '=', 2)
|
('id', '=', 2)
|
||||||
])
|
])
|
||||||
ids.write({'tz': "Asia/Shanghai"})
|
ids.write({'tz': "Asia/Shanghai"})
|
||||||
# 中国排序第一
|
|
||||||
ids = env.ref('base.cn')
|
|
||||||
ids.write({'sequence': 1})
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise Warning(e)
|
raise Warning(e)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user