New parameter: Use the trade value as discount.

-When confirm a sale, instead create a new payment with trade total - Use
this value as discount.
-Enable trade of not registered sales

Change-Id: Idebb422e168d56dda1fb782ae5ba8d0c374e06a5