Comment 22 for bug 1111298

Revision history for this message
Agustín (atin81) wrote :

I'm agree with #20, the main problem is the way ORM manages the cache data. I'm getting problems on a multi company environment used with Point of Sale and taxes configured to be included on product price.

Problem is on account.py on compute_all function

        if taxes and taxes[0].company_id.tax_calculation_rounding_method == 'round_globally':
            tax_compute_precision += 5

when calling __get_item__ for get the tax_calculation_rounding_method server is checking read permission for companies {1: {'id': 1}, 4: {'id': 4}}