stopping agreement error
3 posts • Page 1 of 1
stopping agreement errorAfter upgrading I am getting the following error when I try to stop an agreement:
Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/netsvc.py", line 244, in dispatch result = LocalService(service_name)(method, *params) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__ return getattr(self, method)(*params) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 583, in execute res = service.execute(db, uid, object, method, *args) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 59, in wrapper return f(self, dbname, *args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 118, in execute res = pool.execute_cr(cr, uid, obj, method, *args, **kw) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 110, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/addons/account_invoicing.zip/account_invoicing/invoicing.py", line 1816, in set_done self.pool.get('ir.cron').write(cr, uid, r.cron_id.id, {'active':False}) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_cron.py", line 133, in write self._poolJobs(cr.dbname) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_cron.py", line 97, in _poolJobs self._callback(cr, job['user_id'], job['model'], job['function'], job['args']) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_cron.py", line 73, in _callback f(cr, uid, *args) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/addons/account_invoicing.zip/account_invoicing/invoicing.py", line 1547, in _prolong_optimized cron = self.pool.get('ir.cron').read(cr, uid, obj.cron_id.id, ['numbercall']) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2084, in read result = self._read_flat(cr, user, select, fields, context, load) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2138, in _read_flat self._order), sub_ids) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/sql_db.py", line 76, in wrapper return f(self, *args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/openerp-server/sql_db.py", line 120, in execute res = self._obj.execute(query, params) ProgrammingError: operator does not exist: integer = boolean LINE 1: SELECT "numbercall",id FROM "ir_cron" WHERE id IN (false) OR... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Re: stopping agreement errorThis is working now. Now sure what changed.
Re: stopping agreement errorAfter deleting the advanced expression in the method's calc field it started working.
3 posts • Page 1 of 1
|
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED