c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03022
[Bug 671323] Re: [6.0.RC1] convert "purchase requisition" into "requests for quotation"
Hello,
i cannot reproduce and i don't have the same code at line 90 of affected
file,so i'm setting this bug as invalid. Can you please update and let
us know if you still have the error?
Thanks for the contribution,
Quentin
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Invalid
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
[6.0.RC1] convert "purchase requisition" into "requests for quotation"
https://bugs.launchpad.net/bugs/671323
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Invalid
Bug description:
Hello,
With function "Purchase requisition" into TAB "Quotations" we could convert Requisition into PO Quotation.
- I choose button "Request a Quotation"
- Then I select a supplier partner
- And confirm with button "Create a quotation"
System crash (I am using client which is installed on the Ubuntu server)
Copy and past from TAB Detail (crash windows)
Environment Information :
System : Linux-2.6.32-21-server-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-21-server
Operating System Version : #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : fr_CH.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/audittrail/audittrail.py", line 504, in execute
res = my_fct(db, uid, model, method, *args)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/audittrail/audittrail.py", line 488, in my_fct
return fct_src(db, uid, model, method, *args)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/purchase_requisition/wizard/purchase_requisition_partner.py", line 90, in create_order
newdate = newdate -(delay or datetime.strptime(tender.date_start, '%Y-%m-%d %H:%M:%S') )
TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'int'
References