← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Jas,

On GTK, the behaviour is good.
It seems that the problem occurs only on Web client because when you create a new PO line, the PO is saved with the date of today as expected date.

On my patch, I remove the computation of expected date if no lines. The
expected date isn't a mandatory field, so, if no lines, the PO doesn't
need expected date.

I have attached screen-shots for your reference.

Thanks.

** Attachment added: "Bug_696793.zip"
   https://bugs.launchpad.net/openobject-addons/+bug/696793/+attachment/1783202/+files/Bug_696793.zip

** Changed in: openobject-addons
       Status: Incomplete => 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