← Back to team overview

openerp-india team mailing list archive

[Bug 1099536] Re: Incorrect product on invoice by timesheet

 

Hello Matt,

Agree with you, It always takes the product from employee instead of
"Invoice Price Rate per User" . If there is a product on "Invoice Price
Rate per User " then it should be select the product from here for
invoice line, and if there is no product then employees product will be
fine. So finally we have to give a priority for the product_id for
timesheet invoice.

One more thing I saw the unit price is correct on invoice line which I
have assigned on "Invoice Price Rate per User".

Thank you!

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

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

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


References