← Back to team overview

openerp-india team mailing list archive

[Bug 1046751] Re: [6.1] hr_timesheet_invoice: Analytic lines created by confirmed customer invoices are also marked to be invoiced

 

*** This bug is a duplicate of bug 948876 ***
    https://bugs.launchpad.net/bugs/948876

** This bug has been marked a duplicate of bug 948876
   Invoice tasks creates new tasks to invoice

-- 
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/1046751

Title:
  [6.1] hr_timesheet_invoice: Analytic lines created by confirmed
  customer invoices are also marked to be invoiced

Status in OpenERP Addons (modules):
  New

Bug description:
  When I confirm invoices created by pressing "Create invoice" button
  from Analytic account view (see scr1.png), OpenERP generates analytic
  lines also marked to be invoiced. So, after creating an invoice,
  "Lines to invoice" view correctly hides the source analytic lines, but
  show newly generated lines linked to invoice, which I think is not
  correct.

  I propose a small patch to hr_timesheet_invoice.py (specifically to
  account_move_line class) which disables setting the "to_invoiced"
  field for analytic lines posted to sale journals (attached
  patch.diff).

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


References