installation of new german accounting chart fails

Bug #357594 reported by Thorsten Vocks (OpenBig.org)

This bug report was converted into a question: question #66841: installation of new german accounting chart fails.

2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Jay Vora (Serpent Consulting Services)

Bug Description

I would like to provide a new module l10n_chart_de_ikr.
Installation of chart template is ok, but if i process action "generate chart of accounts from a template"
i got the following error. I attached the module.

Traceback (most recent call last):
  File "/home/vockst/openerp/client/bin/widget/view/form_gtk/parser.py", line 117, in button_clicked
    [id], model.context_get()
  File "/home/vockst/openerp/client/bin/rpc.py", line 169, in rpc_exec_auth
    return sock.exec_auth(method, *args)
  File "/home/vockst/openerp/client/bin/rpc.py", line 112, in exec_auth
    res = self.execute(method, self._uid, self._passwd, *args)
  File "/home/vockst/openerp/client/bin/rpc.py", line 118, in execute
    res = self._sock.myreceive()
  File "/home/vockst/openerp/client/bin/tiny_socket.py", line 80, in myreceive
    raise Myexception(str(res[0]), str(res[1]))
tiny_socket.Myexception: ('77', 'Traceback (most recent call last):\n File "/home/vockst/openerp/server/bin/netsvc.py", line 231, in dispatch\n result = LocalService(service_name)(method, *params)\n File "/home/vockst/openerp/server/bin/netsvc.py", line 74, in __call__\n return getattr(self, method)(*params)\n File "/home/vockst/openerp/server/bin/service/web_services.py", line 481, in execute\n res = service.execute(db, uid, object, method, *args)\n File "/home/vockst/openerp/server/bin/osv/osv.py", line 59, in wrapper\n return f(self, dbname, *args, **kwargs)\n File "/home/vockst/openerp/server/bin/osv/osv.py", line 119, in execute\n res = pool.execute_cr(cr, uid, obj, method, *args, **kw)\n File "/home/vockst/openerp/server/bin/osv/osv.py", line 111, in execute_cr\n return getattr(object, method)(cr, uid, *args, **kw)\n File "/home/vockst/openerp/server/bin/addons/account/account.py", line 2137, in action_create\n \'account_collected_id\': acc_template_ref[value[\'account_collected_id\']],\nKeyError: 77\n')

Revision history for this message
Thorsten Vocks (OpenBig.org) (openbig.org) wrote :
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

I am trying to figure out.
Thanks.

Changed in openobject-addons:
assignee: nobody → jvo-openerp
status: New → In Progress
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Thorsten Vocks,

Your module is a good one.
At initial steps, I got the same error , I traced it back...

The recipe needs few changes for getting it ready for errorless installation.

1. Account code has to be unique .
 -- > Assign unique code to template which in turn are to be applied to account.account.

2. There should be only 1 root of the account.

Thanks.

Changed in openobject-addons:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.