← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 766916] Re: Purchase order from procurement : scheduled date error

 

** This bug is no longer a duplicate of bug 780337
   in some scenario reception is set in the past

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

Title:
  Purchase order from procurement : scheduled date error

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Hello,

  We have a problem with purchase order when it's created by scheduler
  based on a procurement: this is our step :

  - I create a product and I select 1 supplier and I specified a delay of 10 days for him.
  - I create an sale order with this product on the 1 of may
  - It will create a procurement for this product, It will compute the scheduled date by adding the current date and the first supplier delay (whenever you have multiple suppliers) so I will be plan on the 10 of may
  - I run the scheduler
  - It will create a purchase order, the date of the purchase order is today (1 of may), but the scheduled date for the product is yesterday in every case (30 april).
    It occurs because the scheduler make the reverse computation of the procurement scheduled date to compute the scheduled date of the purchase order minus the company delivery security parameter in our case 1 days.
  so the scheduled date is yesterday.

  It occurs in the V5 and also in V6

  Thanks for your help,

  Vincent

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


References