Merge lp:~camptocamp/openobject-server/trunk-fix_1314680-afe into lp:openobject-server

Proposed by Alexandre Fayolle - camptocamp
Status: Needs review
Proposed branch: lp:~camptocamp/openobject-server/trunk-fix_1314680-afe
Merge into: lp:openobject-server
Diff against target: 12 lines (+1/-1)
1 file modified
openerp/modules/migration.py (+1/-1)
To merge this branch: bzr merge lp:~camptocamp/openobject-server/trunk-fix_1314680-afe
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+218926@code.launchpad.net

Description of the change

[FIX] revert change disabling the running of migration scripts on fresh installation of the database

To post a comment you must log in.

Unmerged revisions

5216. By Alexandre Fayolle - camptocamp on 2014-05-09

[FIX] revert change disabling the running of migration scripts on fresh installation of the database

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'openerp/modules/migration.py'
2--- openerp/modules/migration.py 2014-01-10 16:27:05 +0000
3+++ openerp/modules/migration.py 2014-05-09 07:12:28 +0000
4@@ -90,7 +90,7 @@
5 'post': '[%s>]',
6 }
7
8- if not (hasattr(pkg, 'update') or pkg.state == 'to upgrade') or pkg.installed_version is None:
9+ if not (hasattr(pkg, 'update') or pkg.state == 'to upgrade'):
10 return
11
12 def convert_version(version):