[FIX] pos_gift_card : Setting customer reset price
Current behavior: When creating a gift card in a PoS the price was reset to 0 when modifying the customer Steps to reproduce: - Set PoS gift card mode in Generate a new barcode and set a price - Modify the current customer - The price of the gift card is reset to 0 opw-2666917 closes odoo/odoo#83452 X-original-commit: ffc2e11e92a5b528fa2cda855ecdf1d83a54f4bb Signed-off-by: Masereel Pierre <pim@odoo.com>
This commit is contained in:
@@ -55,6 +55,7 @@ odoo.define("pos_gift_card.GiftCardPopup", function (require) {
|
||||
quantity: 1,
|
||||
merge: false,
|
||||
generated_gift_card_ids: giftCard ? giftCard.id : false,
|
||||
extras: { price_manually_set: true },
|
||||
});
|
||||
} else {
|
||||
await this.showPopup('ErrorPopup', {
|
||||
|
||||
Reference in New Issue
Block a user