diff --git a/doc/migrate/3.4.0-4.0.0/pre.py b/doc/migrate/3.4.0-4.0.0/pre.py index 62f1d95014a..bcfcbc1601e 100644 --- a/doc/migrate/3.4.0-4.0.0/pre.py +++ b/doc/migrate/3.4.0-4.0.0/pre.py @@ -109,7 +109,8 @@ if not cr.rowcount: # ----------------------------------------------------- # for line in ( - "ALTER TABLE ir_module_module ADD demo BOOLEAN DEFAULT False", + "ALTER TABLE ir_module_module ADD demo BOOLEAN", + "ALTER TABLE ir_module_module SET demo DEFAULT False", "DELETE FROM ir_values WHERE VALUE LIKE '%,False'", """UPDATE ir_ui_view set arch='' where name='ir.ui.menu.tree' and type='tree' and field_parent='child_id'""", ):