← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 663662] Re: [6.0rc1] bug in 'request a quotation' from PR

 

** Changed in: openobject-addons
     Assignee: (unassigned) => DHS(OpenERP) (dhs-openerp)

** Changed in: openobject-addons
       Status: Confirmed => In Progress

-- 
[6.0rc1] bug in 'request a quotation' from PR
https://bugs.launchpad.net/bugs/663662
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: In Progress

Bug description:
1. create a PR
2. click 'request a quotation'
3. select partner
4. click 'create quotation'

bug:

Environment Information : 
System : Linux-2.6.32-21-generic-i686-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-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1635 stephane@xxxxxxxxxxx-20101019233253-jjde4o35qof9gtcn
Traceback (most recent call last):
  File "/home/datrus/openerp-mirror/openobject-server-trunk/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/datrus/openerp-mirror/openobject-server-trunk/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/datrus/openerp-mirror/openobject-server-trunk/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/datrus/openerp-mirror/openobject-server-trunk/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/datrus/openerp-mirror/openobject-server-trunk/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/datrus/openerp-mirror/openobject-server-trunk/bin/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