← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 861271] Re: account installer default chars too small - possibly wide ranging issue

 

** Attachment added: "account_installer.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/861271/+attachment/2556868/+files/account_installer.ogv

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/861271

Title:
  account installer default chars too small - possibly wide ranging
  issue

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  latest trunk (like today)

  We have a few variations of localisations - I went to install one and
  got chucked a nasty traceback.

  [2011-09-28 09:12:57,570][?] ERROR:db.cursor:bad query: insert into "account_installer" (id,"date_stop","sale_tax","date_start","company_id","period","charts","progress","purchase_tax",create_uid,create_date) values (1,E'2012-03-31',0.0,E'2011-04-01',1,E'month',E'l10n_nz_ril_branch',11.0,0.0,1,now())
  Traceback (most recent call last):
    File "/home/graemeg/workspace/trunk/openerp/server/openerp/sql_db.py", line 215, in execute
      res = self._obj.execute(query, params)
  DataError: value too long for type character varying(16)

  Had a look at the code and I see there is no size specified for charts
  field, but it appears that now if a size is not specified it defaults
  to 16.  Is a regression in that the exact same localisation installs
  fine on 6.0.3.  Now I am wondering how many other places this is going
  to occur.

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


References