Pragmatic – Leading provider of open source business applications OpenERP, Ruby on Rails, Node.js, Talend, jaspersoft  – Pragmatic
Beyonce Adams

Things to note while migrating OpenERP 5 modules to OpenERP 6 (OpenERP 5 to OpenERP 6 module Migration)

Wizard

OpenERP V5
1. Both normal and memory wizards are used.
2. Normal Wizard created by single .py file, which is created in wizard folder of our module.
3. To call normal wizard we need following code in .xml file which is outside the wizard folder.

<wizard
            id="wizard_student"
            model="student.student"
            name="student.student.wizard"
            string="Student Detail"/>

4. To call memory wizard we need following code in .xml file which is outside the wizard folder. If we call wizard on button.

<button name="%(act_student_memory_wizard)d" string="Memory Wizard" type="action"/>

OpenERP V6
1. Only memory wizards are used.
2. Wizard in V6 is similar to memory wizard in V5.
3. To call wizard we need following code in .xml file which is outside the wizard folder. If we call wizard on button.

<button name="%(student.act_student_memory_wizard)d" string="Memory Wizard" type="action"/>

4. if we call the wizard through Action menu then we need following code to call given wizard

<act_window name="Student Detail"
            res_model="student.detail.bymarks"
            src_model="student.student"
            key2="client_action_multi"
            multi="True"
            view_mode="form"
            view_type="form"
            target="new"
            id="action_student_onmarks"/>

Search views

OpenERP V5:
1. The only facility of search is there in list view(treeview).
OpenERP V6:
1. Improves over built-in search features in v5
2. Always associated with other view: list, calendar, …
New view type: <search>
    Two main building blocks:
        <field name=’…’>
        <filter domain=’…’ context=’…’>
    Structured with:
        <group>
        <separator>