When you enter an actual price at the time of placing an order (adding to a basket) it gets ignored by the db (http://screencast.com/t/7Py5tFyjl6c4). It's not until you receive that that field is populated in the database (http://screencast.com/t/XEtPeYIq).
Given that one of two things needs to happen.
1. Remove actual price from the order form and only have it on receive
2. Leave actual price on the order form and populate the database with the values entered in the form.
Created attachment 5855 [details] [review]
patch to fix the problem
Originally attached to #6879.
Created attachment 5884 [details] [review]
Use unitprice in neworder so that the value is saved in the database and so it will be the same field used as to receive shipments
Signed-off-by: Nicole C. Engard <firstname.lastname@example.org>
Signed off with a note: this doesn't fix everything mentioned in the bug.
It also might clash with bug 4831 and should be tested with that patch.
Signed-off-by: Paul Poulain <email@example.com>
QA comment :
* very explanatory screencast from Nicole
* small & clean code
I don't think it should be filled.
Actual price should only be filled in after the item was received and has an actual price. The valuse should always come from the database. So no calculation done there.
Patch pushed, please test (my 1st push!!!)
Checked that actual price shows up when modifying and receiving an order line.