增加坯料冗余量
This commit is contained in:
6
sf_manufacturing/migrations/1.1/pre-migrate.py
Normal file
6
sf_manufacturing/migrations/1.1/pre-migrate.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def migrate(cr, version):
|
||||
cr.execute("""
|
||||
UPDATE sf_model_type
|
||||
SET embryo_tolerance = (SELECT id FROM sf_embryo_redundancy LIMIT 1)
|
||||
WHERE embryo_tolerance = 0;
|
||||
""")
|
||||
Reference in New Issue
Block a user