← Back to team overview

openerp-india team mailing list archive

[Bug 1082405] Re: UOM conversion in invoice line

 

*** This bug is a duplicate of bug 938728 ***
    https://bugs.launchpad.net/bugs/938728

It doesn't "look like" it happens in the latest trunk on runbot if you
test using the "_all" databases (with all modules installed) because the
product_visible_discount module alters the behavior of the on_change
methods of account.invoice, hiding the problem. Uninstall it to see the
issue.

This is also a duplicate of bug 938728, marking it so. A proper patch
will be provided soon, the on_change methods are indeed incorrect.

Thanks for reporting, Leonardo!

** This bug has been marked a duplicate of bug 938728
   invoice line unit price

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

Title:
  UOM conversion in invoice line

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Observed in trunk, latest from runbot
  (Build 25820)
  server (4582)
  addons (8105)
  web (3486)

  Same thing happens on latest 6.1

  To reproduce:

  - install account module
  - for user admin, enable groups "technical features, multiple units of measure"
  - create a new sale invoice
  - add a line with product "on site assistance"

  The product "on site assistance" has a price of 38.25 per Hour.
  In the invoice, the price is 4.78 per Hour.
  I was expecting to read 38.25 per hour in the invoice line.

  Thus, The system is dividing the price by the conversion factor from
  days to hours (8), which should not happen in that case.

  If we try the same process in a sale order, the result is correct.

  Thanks!

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


References