Require full payment when editing the sale payments

If the sale was confirmed and we are editing its payments, we should require
that the sale is still fully paid

If the was was not confirmed yet, we can let the user create partial
payments

Change-Id: Iaf1b104a127daa4f756fa1fcce67b6714044d202