优化依赖

This commit is contained in:
guohuadeng
2017-12-31 16:32:33 +08:00
parent 78759ec5ac
commit 85947e963d
4 changed files with 9 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ def pre_init_hook(cr):
:return: void
"""
cr.execute("UPDATE product_product "
"SET default_code = '!!DP!!' || id "
"SET default_code = '!!PR!!' || id "
"WHERE default_code IS NULL OR default_code = 'New';")
cr.execute("UPDATE product_template "