I am not able to close a fiscal year, i am using the latest trunk version server,client and addons and when i try to run the wizard close fiscal year it generates this...
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1946]: File "/home/nch/openERP/latest/addons/account/account_move_line.py", line 820, in create
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1947]: self.pool.get('account.move').write(cr, uid, [move_id], {'date':vals['date']}, context=context)
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1948]: File "/home/nch/openERP/latest/addons/account/account.py", line 806, in write
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1949]: result = super(osv.osv, self).write(cr, uid, ids, vals, c)
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1950]: File "/home/nch/openERP/latest/server/bin/osv/orm.py", line 2230, in write
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1951]: self._validate(cr, user, ids, context)
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1952]: File "/home/nch/openERP/latest/server/bin/osv/orm.py", line 670, in _validate
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1953]: if not fun(self, cr, uid, ids):
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1954]: File "/home/nch/openERP/latest/addons/account/account.py", line 748, in _check_centralisation
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1955]: if move.journal_id.centralisation:
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1956]: File "/home/nch/openERP/latest/server/bin/osv/orm.py", line 208, in __getattr__
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1957]: return self[name]
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1958]: File "/home/nch/openERP/latest/server/bin/osv/orm.py", line 175, in __getitem__
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1959]: datas = self._table.read(self._cr, self._uid, ids, fffields, context=self._context, load="_classic_write")
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1960]: File "/home/nch/openERP/latest/server/bin/osv/orm.py", line 1836, in read
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1961]: self.pool.get('ir.model.access').check(cr, user, self._name, 'read')
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1962]: File "/home/nch/openERP/latest/server/bin/tools/misc.py", line 630, in cached_result
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1963]: for key, id in self._generate_keys(cr.dbname, kwargs2):
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1964]: File "/home/nch/openERP/latest/server/bin/tools/misc.py", line 567, in _generate_keys
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1965]: key = (('dbname', dbname),) + to_tuple(kwargs2)
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1966]: File "/home/nch/openERP/latest/server/bin/tools/misc.py", line 563, in to_tuple
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1967]: i.sort()
[Thu Jan 08 2009 11:26:01] ERROR:web-services:[1968]: RuntimeError: maximum recursion depth exceeded in cmp
[Thu Jan 08 2009 12:09:49] INFO:shutdown:Shutdown Server! - SIGINT
regards,
I can't reproduce this bug
I made a change in the cache system. Can you retry with a least "1581 <email address hidden>" ?
I also fix the "close fiscal year" wizard, so also update the addons to "2086 <email address hidden>"