mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
优化依赖
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user