← Back to team overview

openerp-india team mailing list archive

[Bug 1219380] Re: [Trunk/7.0] account_analytic_analysis - Invoiced amount on contracts includes purchase

 

Hello,

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

revision-id: cod@xxxxxxxxxxx-20131023114601-2oipetwae0vxfwdk

revno: 8955.

It will be available in trunk soon.


** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-1219380-cod

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1219380

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

Status in OpenERP Addons (modules):
  Fix Committed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1219380/+subscriptions


References