← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 692863] [NEW] Procurement Order make_po method getting error

 

Public bug reported:

When Procurement Order Run "make to order" action then error occured.

[2010-12-21 14:10:08,195][monostrade] ERROR:db.cursor:bad query: insert into "purchase_order" (id,"origin","fiscal_position","name","partner_id","partner_address_id","shipped","company_id","invoice_method","state","pricelist_id","date_order","location_id",create_uid,create_date) values (154,E'TEST',NULL,E'PO00280',111,113,E'False',1,E'picking',E'draft',28,NULL,1638,1,now())
Traceback (most recent call last):
  File "/home/jacara/Pydev-workspace/monoserp/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "date_order" violates not-null constraint

Bug is in addons/purchase/purchase.py line: 799 make_po method:

missing value of date_order field.

** Affects: openobject-addons
     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/692863

Title:
  Procurement Order make_po method getting error

Status in OpenObject Addons Modules:
  New

Bug description:
  When Procurement Order Run "make to order" action then error occured.

[2010-12-21 14:10:08,195][monostrade] ERROR:db.cursor:bad query: insert into "purchase_order" (id,"origin","fiscal_position","name","partner_id","partner_address_id","shipped","company_id","invoice_method","state","pricelist_id","date_order","location_id",create_uid,create_date) values (154,E'TEST',NULL,E'PO00280',111,113,E'False',1,E'picking',E'draft',28,NULL,1638,1,now())
Traceback (most recent call last):
  File "/home/jacara/Pydev-workspace/monoserp/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "date_order" violates not-null constraint

Bug is in addons/purchase/purchase.py line: 799 make_po method:

missing value of date_order field.





Follow ups

References