hi hda,
as allways thanks for you promt reply. I had this defined and I cleared the
account to do it again. Now when I try to put the account I get the followng
error:
Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : es_ES.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call
last):
File "/usr/lib/openerp-server/netsvc.py", line 242, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/openerp-server/netsvc.py", line 73, in __call__
return getattr(self, method)(*params)
File "/usr/lib/openerp-server/service/web_services.py", line 583, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/openerp-server/osv/osv.py", line 59, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/openerp-server/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/openerp-server/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/openerp-server/osv/orm.py", line 2490, in write
self.pool.get(table).write(cr, user, nids, v, context)
File "/usr/lib/openerp-server/osv/orm.py", line 2474, in write
self._columns[field].set(cr, self, id, field, vals[field], user,
context=rel_context)
File "/usr/lib/openerp-server/osv/fields.py", line 654, in set
self._fnct_inv(obj, cr, user, id, name, value, self._fnct_inv_arg, context)
File "/usr/lib/openerp-server/osv/fields.py", line 806, in _fnct_write
'name': propdef.name,
File "/usr/lib/openerp-server/osv/orm.py", line 229, in __getattr__
return self[name]
File "/usr/lib/openerp-server/osv/orm.py", line 225, in __getitem__
return self._data[self._id][name]
KeyError: 'name'
If I do not put any account this works but obviulsy this goes to the starndar
purcahase journal account, and I need to define a different one.
Many thanks
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=42352#42352
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users