Purchase invoice line amount was not calculated correctly from Check total amount


For invoice lines of a manual purchase invoice, the Amount field was not calculated correctly from the control total amount of the purchase invoice header. We have improved this.