Merge lp://qastaging/~numerigraphe/openobject-addons/6.0-extra-migration-populate-fields into lp://qastaging/openobject-addons/extra-6.0
Proposed by
Numérigraphe
Status: | Needs review |
---|---|
Proposed branch: | lp://qastaging/~numerigraphe/openobject-addons/6.0-extra-migration-populate-fields |
Merge into: | lp://qastaging/openobject-addons/extra-6.0 |
Diff against target: |
83 lines (+35/-15) 1 file modified
server_migration/migration.py (+35/-15) |
To merge this branch: | bzr merge lp://qastaging/~numerigraphe/openobject-addons/6.0-extra-migration-populate-fields |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Numérigraphe | target branch | Needs Information | |
Lorenzo Battistini | Approve | ||
Jordi Esteve (www.zikzakmedia.com) | Pending | ||
sraps (Alistek) | Pending | ||
Review via email: mp+88911@code.qastaging.launchpad.net |
Description of the change
This branch make server_migration pre-load the old field when it has the same name as the new field, when you push the button "Get Fields".
To post a comment you must log in.
Unmerged revisions
- 5652. By Numerigraphe - Lionel Sausin <email address hidden>
-
[IMP] server_migration: remove print statements.
- 5651. By Numerigraphe - Lionel Sausin <email address hidden>
-
[IMP] server_migration: ignore function fields in button "get fields" ; more logging"
- 5650. By Numerigraphe - Lionel Sausin <email address hidden>
-
[FIX] server_migration: don't crash when old_model is emptpty
- 5649. By Numerigraphe - Lionel Sausin <email address hidden>
-
[IMP] server_migration: populate the fields from the old model when the field's name is the unchanged.
Thank you Lionel,
I pushed this patch to lp:~openerp-community/domsense-agilebg-addons/server_migration-6.1 bazaar. launchpad. net/~openerp- community/ domsense- agilebg- addons/ server_ migration- 6.1/revision/ 17
See it at http://
I would avoid using the extra branch as it is hard to handle and maintain.
Anyway, I confirm this patch works ;-)