Lack of validation in accounts receivable or pay in invoices

Bug #1205930 reported by Fernando Rangel - http://www.vauxoo.com
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP Publisher's Warranty Team

Bug Description

1)Steps to reproduce the issue we have observed
Go to customer invoices
Open invoice in draft status
Unedited, click on the invoice accounting account, to go to the account
Edit the accounting account (Internal Type: Payable/ Receivable) switch to Regular/ Other
Save and return to the invoice
Approve the invoice

Can find a demonstrative video here:
http://youtu.be/0r22y96OKmY

2) The result we have observed
The invoice should not be validated, due the fact that the accounting account of the invoice should be
checked in order to warrant that there is __always__ and receivable or payable Account.
9) Given to the fact that there is not receivable or payable account then The residual is zero (0).

3) The result we expect
Validate that the account is receivable or payable dependent on the type of document, before approving the invoice
 The residual must be different than zero (0) whenever untaxed amount plus amount_tax is different that zero (0).

4) The platform your are using
Ubuntu 12.04

 5) The OpenERP version
OpenERP 7.0
server (5037)
addons (9325)
web (4005)

Tags: maintenance

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Fernando,

It has been fixed into lp:~openerp-dev/openobject-addons/7.0-595945-opw-skh with,

Revision ID: <email address hidden>
Revision Number: 9336

This branch is under the review of our experts and will be merge soon into stable 7.0 once it is approved.

Thanks & Regards

Changed in openobject-addons:
status: In Progress → Fix Committed
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.