Added logging for trytond-ups. #6040
Logs API requests in sale.py and stock.py.