Added logging for trytond-ups. #6040

Logs API requests in sale.py and stock.py.
Fixed test_ups.py by adding sale to transaction context.