Hello,

I have faced the same traceback. So I have attached the video for
reproduce.

Thanks for attachment!

** Attachment added: "reproduce_import.ogv"
   
https://bugs.launchpad.net/openobject-addons/+bug/938675/+attachment/2861905/+files/reproduce_import.ogv

** Project changed: openobject-addons => openobject-server

** Changed in: openobject-server
       Status: Incomplete => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

** Changed in: openobject-server
   Importance: Undecided => Low

-- 
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 Server:
  Confirmed

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-server/+bug/938675/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to