Tax of loop not used in determination of taxes
In http://hg.tryton.org/modules/sale_shipment_cost/file/tip/stock.py#l114 there is a loop about the product.customer_taxes_used. But instead of using this tax in calling the apply-method there is a 'None' used.
I think this should be the tax, otherwise there is no correct match depending on tax possible.