Purchase order from procurement : scheduled date error

Bug #766916 reported by Vincent Renaville@camptocamp
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

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

Tags: maintenance

Related branches

description: updated
description: updated
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
tags: added: maintenance
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Well Anup,
Its just fixed in trunk,
wait a min...

Changed in openobject-addons:
assignee: OpenERP Publisher's Warranty Team (openerp-opw) → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Revision history for this message
Rohan Nayani(Open ERP) (ron-tinyerp) wrote :

Hello,

Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-766916-ron
Revision ID: <email address hidden>
Revision num:4658.

It will be available in trunk soon,

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Vincent,

   It has been fixed by revision 4543 <email address hidden> in the branch lp:~openerp-dev/openobject-addons/6.0-opw-5351-ach.

   It will be merged soon in the stable.

Thanks.

qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
Changed in openobject-addons:
milestone: none → 6.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.