Analytic Chart of Accounts not displaying
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Dhara Shah (OpenERP) |
Bug Description
In version 5.0.11, was creating new Analytic Accounts with no problems. As long as there were no 'child' analytic accounts, the Analytic Chart of Accounts displayed things fine. Once I added a 'child' analytic account, the Analytic Chart of Accounts no longer displayed the Account Code, Account Name, Date End, or Currency information. (There are no entries against these accounts - am just in the process of setting them up).
No messsages appear on the client side, but the following appears on the server side (running both the client and server through a terminal to catch any messages). Also note that I am running the regular, GTK client, and not the web client (I don't even have the web client installed in this environment):
sh: bzr: not found
No LSB modules are available.
[2010-06-09 21:51:44,734] ERROR:web-
[2010-06-09 21:51:44,734] ERROR:web-
[2010-06-09 21:51:44,734] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,735] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,736] ERROR:web-
[2010-06-09 21:51:44,737] ERROR:web-
[2010-06-09 21:51:44,737] ERROR:web-
[2010-06-09 21:51:44,737] ERROR:web-
affects: | openobject-server → openobject-addons |
Changed in openobject-addons: | |
assignee: | nobody → dsh (Open ERP) (dsh-openerp) |
status: | New → Fix Released |
milestone: | none → 5.0.12 |
Hi
We have the same problem.
My guess is that in the file: /usr/lib/ python2. 5/site- packages/ openerp- server/ addons/ account/ project/ project. py, @ line 117-120, one can read:
cr.execute( "SELECT a.id, r.currency_id "
"FROM account_ analytic_ account a "
"INNER JOIN res_company r ON (a.company_id = r.id) "
"WHERE a.id in %s", (tuple(ids),))
My proposition is that the query should use "tuple(ids2)" instead of "tuple(ids)", because "ids2" contains the children of "ids"