← Back to team overview

openerp-india team mailing list archive

[Bug 1240265] Re: [7.0] unable to update openerp if ln10_fr is installed (related to VAT change)

 

It's a bit too late to change back to the previous XML IDs, as some
people may have installed new databases with the new XML IDs, and they
will have the exact problem you describe if they later update and the
IDs have changed again.

I'd prefer a solution that works in all cases when you update, which is
why I suggested an extra <delete/> node at the beginning of the chart.
It should avoid the error without causing a new one.

The fix has been merged in addons 7.0 at revision 9535 rev-id:
odo@xxxxxxxxxxx-20131021124748-x4jnibwyab4gam23

** Changed in: openobject-addons
       Status: Confirmed => Fix Released

-- 
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/1240265

Title:
  [7.0] unable to update openerp if ln10_fr is installed (related to VAT
  change)

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Hi.

  I think there is a bug introduced in the rev 9515.

  == Initial config :
  ~openerp/openobject-addons/7.0 - revision #9514
  ~openerp/openobject-server/7.0 - revision #5100
  ~openerp/openerp-web/7.0/ - revision #4037

  == Step to reproduce the bug : 
  - Create a new database ; 
  - Install l10n_fr ; 
  - Configuring accounting data, choose "France - Comptabilité" and follow with default values ; 
  - Stop server
  - bzr pull at last revision openobject-addons (tested with #9523)
  - run server, updating all
  - You have an error.

  "2013-10-15 22:34:59,700 6483 ERROR base_created_9514 openerp.sql_db:
  bad query: delete from account_tax_template where id IN (11)"

  (See attachment for complete stacktrace)

  Possible origin : 
  There is some mistake in the last MP #9515. xml_ids are deleted. (Maybe it's better to create new account.tax.template instead of replace existing account.tax.template)

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


References