增加坯料冗余量

This commit is contained in:
胡尧
2024-11-19 08:59:52 +08:00
parent 21f961d893
commit d53f3837c3
10 changed files with 60 additions and 20 deletions

View 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;
""")