← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 756343] [NEW] error in o2m fields when use dragndrop

 

Public bug reported:

 for example in the product supplier view.
I add a new line of supplier and when i try to reorder lines with drag and drop without saving the new lines, I obtain this message.

ERROR:db.cursor:bad query: insert into "product_supplierinfo" (id,"name","product_uom","sequence","company_id","qty","delay","min_qty","product_code","product_name",create_uid,create_date) values (34,2,1,1,1,0.0,1,0.0,NULL,NULL,1,now())
Traceback (most recent call last):
  File "/media/StorageForDev/workspace/oerp_602/server/bin/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
IntegrityError: ERREUR:  une valeur NULL viole la contrainte NOT NULL de la colonne « product_id »

This error is only in the GTK client.

I observe this bug on ubuntu 10.04 and on debian squeeze, in all V6.0
until this message.

Bruno Guibert
Héonium.

** Affects: openobject-client
     Importance: Undecided
         Status: New

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

Title:
  error in o2m fields when use dragndrop

Status in OpenERP GTK Client:
  New

Bug description:
   for example in the product supplier view.
  I add a new line of supplier and when i try to reorder lines with drag and drop without saving the new lines, I obtain this message.

  ERROR:db.cursor:bad query: insert into "product_supplierinfo" (id,"name","product_uom","sequence","company_id","qty","delay","min_qty","product_code","product_name",create_uid,create_date) values (34,2,1,1,1,0.0,1,0.0,NULL,NULL,1,now())
  Traceback (most recent call last):
    File "/media/StorageForDev/workspace/oerp_602/server/bin/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  IntegrityError: ERREUR:  une valeur NULL viole la contrainte NOT NULL de la colonne « product_id »

  This error is only in the GTK client.

  I observe this bug on ubuntu 10.04 and on debian squeeze, in all V6.0
  until this message.

  Bruno Guibert
  Héonium.



Follow ups

References