← 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

 

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

-- 
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):
  In Progress

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