← Back to team overview

openerp-india team mailing list archive

[Bug 1099536] [NEW] Incorrect product on invoice by timesheet

 

Public bug reported:

1) Reproduction recipe:

a) On a blank OpenERP database, install the accounting, account_analytic_analysis, and the analytic_user_function modules.
b) Create a user, employee, customer and a new product (leave the default 'Service' product as-is)
c) Create a new contract, and under the 'Invoice Price Rate Per User' create a new item, selecting the newly created user and newly created product.
d) Create a timesheet for the employee and select the newly created contract from the drop-down.
e) Create an invoice for the newly created contract.

2) Observed results:

A new invoice is created, with 2 invoice lines.  One is for the correct
product as attributed to the user in step 3 above.  The 2nd is for the
default 'Service' product.

3) Expected results:

A new invoice should be created, with a single invoice line for the
product attributed to the user in step 3 above

3a) Investigation:

Things appear to go wrong at step 1d.  The row in the
account_analytic_line table corresponding to the first date on the
timesheet contains the incorrect product_id value.

4) Platform:

Fedora 17.  Firefox-17.0.1

5) OpenERP version:

7.0-20130112-002227

** 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/1099536

Title:
  Incorrect product on invoice by timesheet

Status in OpenERP Addons (modules):
  New

Bug description:
  1) Reproduction recipe:

  a) On a blank OpenERP database, install the accounting, account_analytic_analysis, and the analytic_user_function modules.
  b) Create a user, employee, customer and a new product (leave the default 'Service' product as-is)
  c) Create a new contract, and under the 'Invoice Price Rate Per User' create a new item, selecting the newly created user and newly created product.
  d) Create a timesheet for the employee and select the newly created contract from the drop-down.
  e) Create an invoice for the newly created contract.

  2) Observed results:

  A new invoice is created, with 2 invoice lines.  One is for the
  correct product as attributed to the user in step 3 above.  The 2nd is
  for the default 'Service' product.

  3) Expected results:

  A new invoice should be created, with a single invoice line for the
  product attributed to the user in step 3 above

  3a) Investigation:

  Things appear to go wrong at step 1d.  The row in the
  account_analytic_line table corresponding to the first date on the
  timesheet contains the incorrect product_id value.

  4) Platform:

  Fedora 17.  Firefox-17.0.1

  5) OpenERP version:

  7.0-20130112-002227

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


Follow ups

References