← Back to team overview

openerp-india team mailing list archive

[Bug 1287748] [NEW] Wrong data when invoicing working time

 

Public bug reported:


I am using module "hr_timesheet_invoice" to invoice task work (account analytic lines).

When I want to invoice a project I goto "Sales/Invoicing/Time & Materials to Invoice". Then I filter my desired entries, select them and create an invoice my using "More".
After pressing "Create Invoice" a new invoice is created.

The problem is that there are different invoice positions with the same
product. Also the positions description is the same.

Investigation:
===========
in "hr_timesheet_invoice/hr_timesheet_invoice.py" the Method "invoice_cost_create" groups by product_id and user_id. 
Therefore if there are several users working on the same project, this error occurs.
Instead of only having one invoice position per product where is one invoice position per product and user.

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

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

Title:
  Wrong data when invoicing working time

Status in OpenERP Addons (modules):
  New

Bug description:
  
  I am using module "hr_timesheet_invoice" to invoice task work (account analytic lines).

  When I want to invoice a project I goto "Sales/Invoicing/Time & Materials to Invoice". Then I filter my desired entries, select them and create an invoice my using "More".
  After pressing "Create Invoice" a new invoice is created.

  The problem is that there are different invoice positions with the
  same product. Also the positions description is the same.

  Investigation:
  ===========
  in "hr_timesheet_invoice/hr_timesheet_invoice.py" the Method "invoice_cost_create" groups by product_id and user_id. 
  Therefore if there are several users working on the same project, this error occurs.
  Instead of only having one invoice position per product where is one invoice position per product and user.

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


Follow ups

References