[Trunk/7.0] account_analytic_analysis - Invoiced amount on contracts includes purchase

Bug #1219380 reported by John B
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

On contracts, the invoiced amount calculation includes purchases. Recreated by adding a contract and selecting fixed price. Enter a purchase order with the PO line using the analytic account of the contract and validate invoice. 'Invoiced' amount on Contract fixed price line will increase by amount of invoice line.

Looks like the the _ca_invoiced_calc() function just needs an additional item added to the search: ('invoice_id.type','=','out_invoice')

Patch attached for trunk.

Tags: costing

Related branches

Revision history for this message
John B (johnb-ca) wrote :
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
Amit Parik (amit-parik)
tags: added: costing
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Chirag Dodiya(OpenERP) (chirag.dodiya-openerp) wrote :

Hello,

It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1219380-cod.

revision-id: <email address hidden>

revno: 8955.

It will be available in trunk soon.

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.