Skip to content

[MIG] survey module migration script - #674

Merged
pedrobaeza merged 3 commits into
OCA:9.0from
Tecnativa:9.0-mig-survey
Nov 25, 2016
Merged

[MIG] survey module migration script#674
pedrobaeza merged 3 commits into
OCA:9.0from
Tecnativa:9.0-mig-survey

Conversation

@cubells

@cubells cubells commented Nov 24, 2016

Copy link
Copy Markdown
Member
  • Created openupgrade_analysis_work.txt
  • Updated module coverage document

 * Created openupgrade_analysis_work.txt
 * Updated module coverage document
@cubells

cubells commented Nov 24, 2016

Copy link
Copy Markdown
Member Author

@Tecnativa

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have found that there's a change in noupdate data:

<?xml version='1.0' encoding='utf-8'?>
<openerp>
  <data>
    <record id="base.group_survey_manager" model="res.groups"><field name="name">Manager</field>
            <field name="category_id" ref="base.module_category_survey"/>
            </record>
    <record id="base.group_survey_user" model="res.groups"><field name="name">User</field>
            <field name="category_id" ref="base.module_category_survey"/>
        </record>
  </data>
</openerp>

Take a look on this to see how to load it:

openupgrade.load_data(cr, 'hr_contract',

|subscription | Nothing to do |
+-----------------------------------+-----------------------------------+
|survey | |
|survey | Nothing to do |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/Nothing to do/Done

@pedrobaeza
pedrobaeza merged commit 5ce0348 into OCA:9.0 Nov 25, 2016
@pedrobaeza
pedrobaeza deleted the 9.0-mig-survey branch November 25, 2016 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants