when i make a sales invoice i am able to change the mode of payment in the payments table freely.
but when i make a sales return to that sales invoice for some reason the mode of payment always reverts back to the default mode of payment of the pos profile that was used in the invoice return after saving.
i tried checking the selling settings the system settings accounts settings pos setting and found nothing
i am not sure if this is a bug or i am missing something
this happens only in sales return and not in the invoice itself.