Community mailing list archives
Re: Relations dropped or refactored from V7 to V8by
On 18-06-15 20:54, Harold Tamo wrote:<blockquote cite="mid:CANv9oo2zzFPku+bMaQ6HmsmUnjBg1JSKJ3kGy4yWSCGuUZECPA@mail.gmail.com" type="cite">
I see in the doc (https://doc.therp.nl/openupgrade/modules70-80.html) :
- Empty : No information available : Please see the ‘openupgrade_analysis.txt’ file of the module and share your analyse;
I ran into the same error reported here (https://github.com/OpenUpgrade/OpenUpgrade/issues/214) by running a database migration
I also see that the module survey is not covered yet by openupgrade.
My questions is :
-How can i share my "openupgrade_analysis.txt" file (in the survey module)
-How can i write migration script for this module (survey)
well, first of all, please don't cross post on multiple email lists. It is confusing and may lead to double effort of people who want to help you out by answering your posts.
Not sure what you mean by sharing your analysis file. The analysis file is already included in the distribution: https://github.com/OpenUpgrade/OpenUpgrade/blob/8.0/addons/survey/migrations/188.8.131.52/openupgrade_analysis.txt
As for writing a migration script: read some scripts from other modules, read the API of the library with supporting methods (included in the main documentation). Warning: if you don't have an in-depth knowledge of Odoo internals, then it should be an interesting, though possibly challenging ride judging from the survey module analysis file. The data structure in there has been juggled around quite a bit.
-- Therp - Maatwerk in open ontwikkeling Stefan Rijnhart - Ontwerp en implementatie mail: firstname.lastname@example.org tel: +31 (0) 614478606 web: http://therp.nl