add cn account

This commit is contained in:
ivan deng
2018-11-07 01:31:41 +08:00
parent aa0607f15e
commit 08726c632c
94 changed files with 577 additions and 23 deletions

View File

@@ -22,9 +22,6 @@ def pre_init_hook(cr):
数据初始化,只在安装时执行,更新时不执行
"""
try:
cr.execute("UPDATE product_product "
"SET default_code = '!!PR!!' || id "
"WHERE default_code IS NULL OR default_code = 'New';")
pass
except Exception as e:
raise Warning(e)