Cannot add an analytic account in a bank statement

Bug #701105 reported by TeMPO
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

6.0 trunk 4203

I tried to encode a bank statement and added a line with an expense account 67275000 (French account) to encode
a bank fee and I would like to account this bank fee on a specific analytic account.
I cannot
Afetr looking at the code it seems that the analytic account field is filtered to display only View accounts which
are not supposed to get any entries.

Regards

Maurice

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Maurice,

I have tested your scenario with latest code at my end. But i am not able to reproduce it. Would you please elaborate with more or provide the proper steps to reproduce it.

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
TeMPO (info-tempo-consulting) wrote :

Hello Amit

I tried again this morning with the following versions

server : 3244
addons : 4127
web : 4293

I still get the problem plus one more
Attached are the captured screens

I used the demo data
The journal definition is in capture.png
In the bank statement I cannot select an existing analytical account (capture1.png)
I can create a new one but when I validate the line I get a popup error message (capture2.png)

Attached are the captured screens

Maurice

Changed in openobject-addons:
status: Incomplete → Confirmed
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Maurice,

Thanks for reporting and i am confirming this bug.

affects: openobject-addons → openobject-client-web
Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
importance: Undecided → Low
Changed in openobject-client-web:
status: Confirmed → In Progress
Changed in openobject-client-web:
importance: Low → Medium
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello Tempo,

I have checked your scenario in web-client.
I am agree with you got same error as given in your screenshot.

But after try to search for solution i found it is account module problem.
see they have `company_id` (fields.related with readonly=true and not added this field in xml) on bank statement object. So it does not exist on the form view.

And in bank statement line they have applied domain like ('company_id', '=', 'parent.company_id'). For creating dom on the webclient `company_id` must be exist on the form view visible/invisible.

So i request to addons team to check it.

Note: bug can also be appear on cash statement.

Thanks.

affects: openobject-client-web → openobject-addons
Changed in openobject-addons:
assignee: OpenERP SA's Web Client R&D (openerp-dev-web) → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
status: In Progress → Confirmed
Changed in openobject-addons:
milestone: none → 6.0
status: Confirmed → In Progress
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Tempo,

I have fixed the problem in Addons3 branch.
revision-id: mra@mra-laptop-20110117085007-n3k115qodk3n6ra4

Note: Also added missing domain on analytic field of cash register lines.

Thanks for reporting,
mra

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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