update chinese city base

This commit is contained in:
ivan deng
2020-01-11 21:28:08 +08:00
parent 28a5ef67d2
commit 4a3419706f
9 changed files with 91 additions and 12 deletions

View File

@@ -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)