spree/spree — pull request #1669 by msevestre (2012-06-14 13:10:59+00:00)
Title: Tax rate label adjust

This PR allows to easily customize the label display in an tax line item. Right now it is always set to the name of the tax category. In Canada however, and certainly in other countries, a product can be subject to more than one tax (PST and GST for instance) and we need 2 lines with two tax-rates. For legal reasons (and also traceability for the buyer) the label displayed cannot be the same on both lines.

A Canadian shop could easily create a decorator for the TaxRate model and simply override with a class_eval the `create_label` method instead of overriding the whole `adjust(order)` method.

Let me know if it needs more clarification

Michael