Defatult Expense Category Account disregarded

Bug #1084819 reported by tdombos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

When adding a line on a supplier invoice the account field is automatically filled in. However, rather than filling it with the Expense Category Account set in the Account Chart Template, the Income Category Account is used instead.

The problem lies in:

file addons\account\account_invoice.py

line 1388 property_account_income_categ is hardcoded and disregards whether the invoice is incoming or outgoing.

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Josse Colpaert (OpenERP) (jco-openerp) wrote :

I did not encounter this problem on trunk.

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

Hello Josee,

Problem still exist on trunk, Please see the attached video.

Thank you!

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Josse Colpaert (OpenERP) (jco-openerp) wrote :

Thanks a lot Amit for the video. It could not be clearer that way. I will do a merge proposal.

Revision history for this message
Hiral Patel (OpenERP) (hip-openerp) wrote :

Hello,

           It has been Fixed in http://bazaar.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1084819-jco
           Revno: 8447
           Revision ID: <email address hidden>

Thanks

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
qdp (OpenERP) (qdp) wrote :

fix released in revision 8694 (v7)

thanks for reporting

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

Other bug subscribers

Remote bug watches

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