← Back to team overview

openerp-india team mailing list archive

[Bug 938675] Re: import party with bank bugs out

 

** Attachment added: "model description error"
   https://bugs.launchpad.net/openobject-addons/+bug/938675/+attachment/2770603/+files/ir.model.overview.pdf

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

Title:
  import party with bank bugs out

Status in OpenERP Addons (modules):
  New

Bug description:
  importing csv with party info containing:
  Customer	Supplier	name	address/street	address/street2	address/zip	address/city	address/phone	address/fax	bank_ids/acc_number	bank_ids/bank_bic	

  the server log contains:
  2012-02-22 13:23:38,729 16095 ERROR ? openerp.sql_db: bad query: insert into "res_partner_bank" (id,"city","owner_name","name","zip","bank_code","footer","country_id","street","state_id","partner_id",create_uid,create_date) values (9,'','','/','','DE3630007999990426149100031','False',NULL,'',NULL,325,1,now())
  Traceback (most recent call last):
    File "/home/richard/src/openerp/server/trunk/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  IntegrityError: null value in column "state" violates not-null constraint

  and the screen shows (capture included):
  L'import a échoué à cause de :Error during import: Line 5 : null value in column "state" violates not-null constraint

  in France (Europe) and working with IBAN, only the IBAN and BIC are
  necessary.

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


References