← Back to team overview

openerp-india team mailing list archive

[Bug 1087573] Re: [trunk][account] Cannot update modules with accounts defined in XML

 

I've a chart of accounts defined in an XML file. Not a template, direct
'account.account' records. When I update the module to add new accounts
or change chart structure, the update fails because the xml data loader
tries to update account code and company even if the information has not
be changed.

The proposed merge fixes this issue by ignoring the restricted fields in
update if the new value is the same as the old value.

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

Title:
  [trunk][account] Cannot update modules with accounts defined in XML

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  The account.account write method raises validation error when updating
  restricted attributes on account that has moves even if the new value
  is exactly the same as the old value.

  This prevents updating modules with accounts defined in XML files as
  the module loader tries to update all defined fields.

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


References