Getting wrong tax_processor when tax is user dependent

Create issue
Issue #1383 duplicate
Gunnar Scherf created an issue

In tax.templatetags.satchmo_tax the function _get_taxprocessor is storing the tax_processor with set_thread_variable with a key independent from the user. If the tax_processor uses the user object from init to calculate the tax, eventually a wrong tax processor is later returned. This happens only in a mutithreaded enviroment.

Comments (2)

  1. Log in to comment