← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 767283] Re: orm: at csv import, properly report lines with less columns

 

** Branch linked: lp:~openerp-dev/openobject-server/6.0-bug-767283-xrg

** Changed in: openobject-server
       Status: In Progress => Fix Committed

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

Title:
  orm: at csv import, properly report lines with less columns

Status in OpenERP Server:
  Fix Committed

Bug description:
  The "if not line[i]" check would cause an IndexError earlier than the
  exception. Also, report the line number where that happened.
  (the +2 op. is needed because we skip 1 for header and count at 0)


References