c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08952
[Bug 692863] Re: Procurement Order make_po method getting error
Hello,
I have tested your scenario at my end which worked fine with the latest
code. Would you please check this with the latest code and notify us. In
newly created PO object date_order comes from _defaults. So please check
this at your side. It may occurred due to customized code.
Thanks.
** Changed in: openobject-addons
Status: New => Invalid
--
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:
Invalid
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.
References