Merge lp:~sylvain-legal/openupgrade-addons/migration-analytic into lp:openupgrade-addons
Proposed by
Sylvain LE GAL (GRAP)
Status: | Rejected |
---|---|
Rejected by: | Holger Brunn (Therp) |
Proposed branch: | lp:~sylvain-legal/openupgrade-addons/migration-analytic |
Merge into: | lp:openupgrade-addons |
Diff against target: |
143 lines (+129/-0) 3 files modified
analytic/migrations/7.0.1.1/openupgrade_analysis_worker.txt (+34/-0) analytic/migrations/7.0.1.1/post-migration.py (+64/-0) analytic/migrations/7.0.1.1/pre-migration.py (+31/-0) |
To merge this branch: | bzr merge lp:~sylvain-legal/openupgrade-addons/migration-analytic |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | Approve | ||
Stefan Rijnhart (Opener) | Approve | ||
Review via email: mp+174751@code.launchpad.net |
Commit message
[ADD] migration scripts for 'analytic' module.
Description of the change
Hi.
[ADD] migration scripts for 'analytic' module.
- pre-migration.py ;
- post-migration.py ("empty")
- openupgrade_
Warning : do not merge before an other branch is merged in an other project (openupgrade-
'OpenUpgrade-
(https:/
To post a comment you must log in.
Thanks! Here are my comments,
- The analytic sequences are not new but come from the account module, and need to be renamed here because analytic is a dependency of account.
- 'type' is now required. You may want to replace empty values in the database with the new default 'normal' just to be sure.
- 'manager_id' is set by an onchange method to the partner's salesperson ('user_id'). It would be nice if you could retrieve and store this value for all existing analytic accounts that have a partner_id (in the post script).
Keep up the great work, Sylvain!