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