← 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

 

** Attachment added: "scr1.png"
   https://bugs.launchpad.net/openobject-addons/+bug/1046751/+attachment/3295762/+files/scr1.png

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