← Back to team overview

openerp-india team mailing list archive

[Bug 1007317] Re: [6.1/trunk] Invalid commitment date in sale_order_dates module

 

no, that's depends on the picking policy:

In [direct]: deliver each product as soon as possible -> ok in that case it could be min()
In [one]: deliver all product at once -> in that case it must be max() as we will have to wait for each product to be ready before deliver.

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

Title:
  [6.1/trunk] Invalid commitment date in sale_order_dates module

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  The commitment date which is the "Date on which delivery of products
  is to be made" is badly computed as it is get from: min(dates_list) it
  should be max(dates_list) (I agree that it "could" be min if the
  picking_policy is set to "direct") :

  Consider two sale order lines:

  Product A: delay to deliver: 8 days
  Product B: delay to deliver: 24 days

  The commitment date must obviously be the current date + 24 business
  days

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


References