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 ef0c92b6991..22c23bbf4db 100644 --- a/doc/migrate/3.4.0-4.0.0/pre.py +++ b/doc/migrate/3.4.0-4.0.0/pre.py @@ -93,4 +93,13 @@ def change_column(cr, table, column, new_type, copy): change_column(cr, 'crm_case', 'date_closed', 'timestamp', True) cr.commit() +# ----------------------------------------------------- # +# add some fields (which cannot be added automatically) # +# ----------------------------------------------------- # + +for line in ( + "ALTER TABLE ir_module_module ADD demo BOOLEAN SET DEFAULT False", + ): + cr.execute(line) + cr.close()