adrip-s73
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. 
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: 