MIGRATION: fix for psql 7.4
bzr revid: ced-4a87ee99a1a8af0d6a1eb3cacd5d229b0e179cbe
This commit is contained in:
parent
840953821b
commit
59e8e4e7b1
|
@ -109,7 +109,8 @@ if not cr.rowcount:
|
||||||
# ----------------------------------------------------- #
|
# ----------------------------------------------------- #
|
||||||
|
|
||||||
for line in (
|
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'",
|
"DELETE FROM ir_values WHERE VALUE LIKE '%,False'",
|
||||||
"""UPDATE ir_ui_view set arch='<?xml version="1.0"?><tree string="Menu" toolbar="1"><field icon="icon" name="name"/></tree>' where name='ir.ui.menu.tree' and type='tree' and field_parent='child_id'""",
|
"""UPDATE ir_ui_view set arch='<?xml version="1.0"?><tree string="Menu" toolbar="1"><field icon="icon" name="name"/></tree>' where name='ir.ui.menu.tree' and type='tree' and field_parent='child_id'""",
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in New Issue