← Back to team overview

openupgrade-drivers team mailing list archive

Re: [Question #250185]: No-Null-Constraint in purchase/sale/invoice/picking_warn by migration 6.1 to 7.0

 

Question #250185 on OpenUpgrade Server changed:
https://answers.launchpad.net/openupgrade-server/+question/250185

Stefan Rijnhart (Therp) posted a new comment:
For reference, I'm posting my comment that I only seem to have sent out
to the mailing list:

this happens when the users' partners are created. As the comment in
that part of the base module's pre script says:

    If other modules set additional columns to
    required, the following will break. We may
    want to have a look at disabling triggers
    at that point.

It seems wiser to refactor to pass defaults in this query depending on
the module install base. For now, if you know a bit of Python you can
simply hack the 'no-message' default value for these columns into the
query.

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