I created the object maintenance.contract in the security list, read only by employees.
Final error about sales order is :
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/netsvc.py", line 431, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/service/web_services.py", line 589, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 135, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/osv.py", line 125, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/addons/sale/sale.py", line 391, in create
return super(sale_order, self).create(cr, uid, vals, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/orm.py", line 3563, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/osv/orm.py", line 3685, in _store_set_values
'"'+f+'"='+self._columns[f]._symbol_set[0] + ' where id = %s', (self._columns[f]._symbol_set[1](value),id))
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/sql_db.py", line 74, in wrapper
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9920/sql_db.py", line 123, in execute
res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block
I created the object maintenance. contract in the security list, read only by employees.
Final error about sales order is :
Traceback (most recent call last): lib/python2. 6/dist- packages/ openerp- server_ 9920/netsvc. py", line 431, in dispatch getService( service_ name).dispatch( method, auth, params) lib/python2. 6/dist- packages/ openerp- server_ 9920/service/ web_services. py", line 589, in dispatch lib/python2. 6/dist- packages/ openerp- server_ 9920/osv/ osv.py" , line 57, in wrapper lib/python2. 6/dist- packages/ openerp- server_ 9920/osv/ osv.py" , line 135, in execute lib/python2. 6/dist- packages/ openerp- server_ 9920/osv/ osv.py" , line 125, in execute_cr lib/python2. 6/dist- packages/ openerp- server_ 9920/addons/ sale/sale. py", line 391, in create lib/python2. 6/dist- packages/ openerp- server_ 9920/osv/ orm.py" , line 3563, in create pool.get( object) ._store_ set_values( cr, user, ids, fields2, context) lib/python2. 6/dist- packages/ openerp- server_ 9920/osv/ orm.py" , line 3685, in _store_set_values +f+'"=' +self._ columns[ f]._symbol_ set[0] + ' where id = %s', (self._ columns[ f]._symbol_ set[1]( value), id)) lib/python2. 6/dist- packages/ openerp- server_ 9920/sql_ db.py", line 74, in wrapper lib/python2. 6/dist- packages/ openerp- server_ 9920/sql_ db.py", line 123, in execute execute( query, params)
File "/usr/local/
result = ExportService.
File "/usr/local/
res = fn(db, uid, *params)
File "/usr/local/
return f(self, dbname, *args, **kwargs)
File "/usr/local/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/
return super(sale_order, self).create(cr, uid, vals, context=context)
File "/usr/local/
self.
File "/usr/local/
'"'
File "/usr/local/
return f(self, *args, **kwargs)
File "/usr/local/
res = self._obj.
InternalError: current transaction is aborted, commands ignored until end of transaction block