← Back to team overview

openerp-india team mailing list archive

[Bug 1104279] Re: noupdate ignored on xml import files

 

*** This bug is a duplicate of bug 1058113 ***
    https://bugs.launchpad.net/bugs/1058113

This is not a duplication
On bug 1058113 xml files were ignored by the update (in fact i have sent a patch for that, because the update condition in general was not well handled by the update method)

In this bug, I am talking about the attribute on data. There is no code
to take into account what the xml file says.

Let's take the module account as an example. On file
account_security.xml, a half of the file is treated as noupdate=False
and the other half is noupdate=True. The programmers intention is
clearly to allows user modifications in one case and to ignore them in
the other. With the current state of V7.0, both sections will be treated
as noupdate=False, and thus the user's modifications are get LOST
whenever you update the module (intentionally or due to a dependency).
This is clearly not what the programmers think

The provided patch solves the issue.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1104279

Title:
  noupdate ignored on xml import files

Status in OpenERP Server:
  New

Bug description:
  In server v7.0, the attribute noupdate, on tag data is ignored in
  imported xml files. It seems the same problem should be present in
  v6.1

  This causes that any modification introduced by the user on records
  initially loaded on module installation will get lost in case of an
  update (direct o driven by a depedency). In cases where security data
  is loaded, it could potentially lead to a security problem.

  The attached patch solves the problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1104279/+subscriptions


References