Crash when trying to pay a just made supplier invoice

Reported by Ibone on 2012-02-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Web Client
Undecided
Unassigned

Bug Description

Using 6.0 Openerp version:

After validating a new supplier invoice, if I want to pay it immediately using "pay" button, I obtain the following error:

Traceback (most recent call last):
  File "/home/avanzosc/openerp/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/avanzosc/openerp/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/avanzosc/openerp/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/avanzosc/openerp/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/avanzosc/openerp/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/nan_external_prices/external_prices.py", line 301, in write
    result = super( account_invoice, self ).write( cr, uid, ids, vals, context )
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/nan_account_extension/invoice.py", line 82, in write
    result = super(account_invoice, self).write(cr, uid, ids, vals, context)
  File "/home/avanzosc/openerp/server/bin/osv/orm.py", line 3410, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/avanzosc/openerp/server/bin/sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/avanzosc/openerp/server/bin/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
DataError: invalid input syntax for type date: ""
LINE 1: update account_invoice set "date_due"=E'',write_uid=6,write_...

Thanks

Ibone (ibonejuaristi) on 2012-02-15
Changed in openobject-client-web:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers