修改坯料冗余

This commit is contained in:
胡尧
2024-11-19 11:56:49 +08:00
parent d53f3837c3
commit f99a35932f
7 changed files with 29 additions and 16 deletions

View File

@@ -1,6 +0,0 @@
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;
""")