← Back to team overview

openupgrade-drivers team mailing list archive

[Question #227303]: what to do in post/pre migration scripts with NEW fields

 

New question #227303 on OpenUpgrade Server:
https://answers.launchpad.net/openupgrade-server/+question/227303

I have run this grep expression: grep -r "NEW required: required" --include="*.txt" * -n
on the addon folders of openupgrade, but it seems that almost everywhere, there is no need for code in pre en post migration files,
when a NEW field is added to a class, that is required.

Why is that?
In case the there is a default value for new and required fields, this problem is automatically solved by openERP?
In other words, the default value is automatically given?

-- 
You received this question notification because you are a member of
OpenUpgrade Drivers, which is an answer contact for OpenUpgrade Server.