← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 696793] Re: [6.0] Purchase expected date wrong value

 

Hello,

I have transfered this issue to addons because, i have found that When user try to modify schedule date from purchase order line than first time its modified successfully, but when user save the purchase order than its changed (update - set) by method "_set_minimum_planned_date" of purchase order. 
i confirmed it with addons team.

and suggested solution also need to merge ( https://code.launchpad.net
/~tempo-openerp/openobject-addons/trunk-bugfix-696793/+merge/45035 )

Please check this issue in purchase.py - line number 66 to 89. 
check the value with po.minimum_planned_date.

Thanks.

** Project changed: openobject-client-web => openobject-addons

** Changed in: openobject-addons
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

** Changed in: openobject-addons
       Status: In Progress => Confirmed

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

Title:
  [6.0] Purchase expected date wrong value

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  Create a purchase order, create two lines with two different products and don't define an expected date on the PO.

1st line : Scheduled date = 01/23/2011
2nd line : Scheduled date = 01/13/2011

If you save the PO, the expected date of the PO is today and the scheduled date of two lines is also today whereas it should be 01/13/2011.

After that, if you remove the expected date on the PO, change the scheduled date on lines with the value defined above and save the PO, values are ok.

Values should be ok at the first saving time.







References