Allow to edit amount of line
Some time, you do not have the unit price on the purchase order of the supplier (ex: it gives the unit price and a discount and the total for a line).
So the user has to compute the right unit price. I think it will be more user-friendly if the amount field was editable (but not stored) and update the unit price when changed.