OpenERP Addons (modules)

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

Reported by Mohammad Alhashash on 2012-12-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Addons
Undecided
Unassigned

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.

summary: - [7.0][account] Cannot update modules with accounts defined in XML
+ [trunk][account] Cannot update modules with accounts defined in XML
description: updated
Amit Parik (amit-parik) wrote :

Hello Mohammnd,

Did not get you exactly, So would you please elaborate more on this issue or you can provide the precious steps to reproduce the same.

Thank you!

Changed in openobject-addons:
status: New → Incomplete
Mohammad Alhashash (alhashash) wrote :

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.

Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Addons because there has been no activity for 60 days.]

Changed in openobject-addons:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers