← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 750082] [NEW] Bad price on invoice line when invoicing an expense from analytic account

 

Public bug reported:

Hi there.

I've installed hr_expense to be able to add variable expenses to a
project's analytic account. I defined a product as purchasable, sellable
and "expendable". Keeping in mind that this product would eventually fit
any variable expense, I set purchase and sell price to 0.

I created an expense linked to that product, defining in the expense
form its value to 50€. When I validated the expense invoice, it appeared
in the analytic account of the project which I linked the expense to.
Thereafter, if I create an invoice from the analytic account of the
project, the line corresponding to the expense has its price set to 0,
the original value of the product, instead of 50€, the value I set on
the expense form.

Could this be a bug, or is it a desired behavior?

Thanks in advance,

Jordi

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/750082

Title:
  Bad price on invoice line when invoicing an expense from analytic
  account

Status in OpenERP Server:
  New

Bug description:
  Hi there.

  I've installed hr_expense to be able to add variable expenses to a
  project's analytic account. I defined a product as purchasable,
  sellable and "expendable". Keeping in mind that this product would
  eventually fit any variable expense, I set purchase and sell price to
  0.

  I created an expense linked to that product, defining in the expense
  form its value to 50€. When I validated the expense invoice, it
  appeared in the analytic account of the project which I linked the
  expense to. Thereafter, if I create an invoice from the analytic
  account of the project, the line corresponding to the expense has its
  price set to 0, the original value of the product, instead of 50€, the
  value I set on the expense form.

  Could this be a bug, or is it a desired behavior?

  Thanks in advance,

  Jordi



Follow ups

References