[FIX] pos_loyalty: wrong syntax for super call

The call to super was wrong, it was called in the old way this._super().

This has now been corrected with the new method
super().`function name`()

closes odoo/odoo#132022

Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
This commit is contained in:
David Monnom (moda)
2023-08-16 17:47:31 +02:00
parent 33cc629001
commit 4295c88f94
@@ -108,9 +108,9 @@ patch(ProductScreen.prototype, {
this.currentOrder._updateRewards();
},
async _showDecreaseQuantityPopup() {
const result = await this._super();
if (result){
const result = await super._showDecreaseQuantityPopup();
if (result) {
this.currentOrder._updateRewards();
}
}
},
});