[FIX] pos_mercury: make forcing validation work again

The POS will asks the user to confirm certain things that could be a
user error. Examples of this are attempting to validate an order with a
very big payment compared to the amount to pay on the order. Another
example is paying an amount of 0 for an order with a total amount to pay
that is negative (manual refund).

The issue was that pos_mercury overwrote validate_order(), and didn't
call _super() correctly, losing the user confirmation for these type of
actions.
This commit is contained in:
Joren Van Onder
2015-11-10 12:50:51 +01:00
parent aae980b458
commit fc21b00144
@@ -667,7 +667,7 @@ PaymentScreenWidget.include({
}
}
this._super();
this._super(force_validation);
}
});