← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     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/766916

Title:
  Purchase order from procurement : scheduled date error

Status in OpenERP Modules (addons):
  New

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


Follow ups

References