Hello,
I have an issue to close my POS session because I have some order in draft.
I tried to do some refund because I counted twice 2 orders but instead of doing it inside my POS session, I created 2 refunds inside my orders tab.
I linked a paiement but still stuck as "New" Status. And I checked in my paiements Tab and can see these multiple paiements I created for these 2 refunds (Because I was frustrated), but no change in the status of these 2 refund orders.
So I tried to create the refund inside my pos session, and these one look ok as their status is in paid. Is there a way to delete these 2 refunds as their status doesn't want to change even with a paiement link to these. When I try to do it I have an error link to the foreign key of these orders I guess :
In French """
Erreur de validation
Fermer
L'opération ne peut pas être terminée : un autre modèle nécessite la suppression de l'enregistrement. Si possible, archivez-le à la place.
Modèle : Point of Sale Payments (pos.payment)
Contrainte : pos_payment_pos_order_id_fkey"""
I tried to delete the paiement first and then these order but I can't even delete the paiement lines.
Any help as I need to close my POS Session from yesterday ?
Kind regards,