base_contact_installer barfs on big data
Bug #605640 reported by
Martin Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Rucha (Open ERP) |
Bug Description
I'm trying to convert my stuff to trunk...
Installing base_contact module failed saying:
DataError: value too long for type character varying(30)
The culprit is line 56 in base_contact_
cr.execute("INSERT into res_partner_contact (name, title, email, first_name, website) (SELECT coalesce(name, 'Noname'), title, email, function , to_char(id, '99999999') from res_partner_
which is trying to cram 64 bytes into 30 with the name field.
The solution is to change the field lengths in res_partner_contact class so they match the corresponding field lengths in res_partner_
Related branches
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | nobody → rpa (Open ERP) (rpa-openerp) |
To post a comment you must log in.
Thanks for pointing out,
it has been fixed in trunk-addons,
revision-id: <email address hidden>
revision-no: 4412.