Crash when trying to pay a just made supplier invoice

Bug #932101 reported by Ibone on 2012-02-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client

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/", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/avanzosc/openerp/server/bin/service/", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/avanzosc/openerp/server/bin/osv/", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/avanzosc/openerp/server/bin/osv/", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/avanzosc/openerp/server/bin/osv/", 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/", 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/", line 82, in write
    result = super(account_invoice, self).write(cr, uid, ids, vals, context)
  File "/home/avanzosc/openerp/server/bin/osv/", line 3410, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/avanzosc/openerp/server/bin/", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/avanzosc/openerp/server/bin/", 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_...


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