adrip-s73

Results 5 issues of adrip-s73

This change is to prevent the unit price from being recalculated since when making a refund invoice the price is recalculated and the price of the product is taken.

When we have a invoice with returned_payment the invoice report gives an error because is_exchange don't exist. We make this fix to avoid that.

Check if "commitment_date" exists in vals to aviod the error bellow when we change line quantity. ![image](https://github.com/user-attachments/assets/37c80719-e8f4-4543-8039-980a01946ff9)

This fix is ​​to correct the error that occurs when using the "Loyalty" base module when using any suggested template. As you try to create a variant by code, it...

Correction of indexes in expressions to avoid the following error: ![image (37)](https://github.com/user-attachments/assets/06ac364e-1c4a-4517-8dc8-79389571d99a)