← Back to team overview

openerp-india team mailing list archive

[Bug 1064432] Re: Upgrade all throws an error in pricelist version

 

Hi,

I found the solution for this. When the product module is updated the
system tries to create the default pricelist version,  if the version
exists and it was changed then you got the error. The solution is to
remove the old versions (versions for priceliste_id 1 and 2).

Dana

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

Title:
  Upgrade all throws an error in pricelist version

Status in OpenERP Server:
  New

Bug description:
  Hi,

  I run the command -d dbName --update=all when i started the server.
  In pricilste version i had defined several values with empty date, the priceliste_id is different for each version, but i get this error:

  product_data.xml:128:
  <record id="ver0" model="product.pricelist.version">
               <field name="pricelist_id" ref="list0"/>
               <field name="name">Default Public Pricelist Version</field>
           </record>
  ....
  except_orm: ('ValidateError', u'Error occurred while validating the field(s) date_start,date_end: You cannot have 2 pricelist versions that overlap!').

  I'm using  this version of openerp_6.1 - 20120906-232044-1.tar.gz, the server is Ubuntu.      
  Thanks for any advice.

  Dana

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


References