← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Attachment added: "calc_invoice_patch.diff"
   https://bugs.launchpad.net/bugs/1219380/+attachment/3797495/+files/calc_invoice_patch.diff

-- 
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):
  New

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


Follow ups

References