← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 671323] Re: [6.0.RC1] convert "purchase requisition" into "requests for quotation"

 

*** This bug is a duplicate of bug 663662 ***
    https://bugs.launchpad.net/bugs/663662

** This bug has been marked a duplicate of bug 663662
   [6.0rc1] bug in 'request a quotation' from PR
 * You can subscribe to bug 663662 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/663662/+subscribe

-- 
[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