← Back to team overview

openerp-india team mailing list archive

[Bug 915481] Re: mrp, procurements: does not round up product qty on order

 

Hello,

We need to double check before implementing this. We might have to ceil
the rounding in the case the rounding precision of the UoM is different
from that of the purchase UoM (or supplier min qty).

The default rounding behaviour might not be appropriate because it's
ROUND_HALF_UP, so it rounds down for .0 < qty < .5, due to this there
may be cases where we can't cover unless we go and change the precision
every time we notice an error... perhaps the system should behave better
by default.

Thanks.


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

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

Title:
  mrp, procurements: does not round up product qty on order

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Using v6.0 addons revision 4996 with a demo database
  Using trunk addons revision  6339 with a demo database

  Steps to reproduce:
  in v6.0
  1) create new Bill of Materials with
  in trunk
  1) modify existing bill of Materials with

  - Product [RCK100] Rack 100cm
  - Product Qty: 9.00
  - Components:
     [LIN40] Wood Lintel 4m  x Product Qty 1.00

  = the rest is common =

  2) Create and confirm MO:
  - Product [RCK100] Rack 100cm
  - Product Qty: 10.00

  3) Run procurement schedular with automatic order point ticked.

  Expected results:
  MO consumed products: LIN40 qty 1.111
  PO quotation: LIN40 qty 2

  Actual results:
  MO consumed products: LIN40 qty 1.111
  PO quotation: LIN40 qty 1

  The bug:
  Even when the procurement will be completed there will not be enough stock to consume.

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


References