By default there is no ir_rule on res.currency but there is a default company_id set on res.currency that is the base.main_company id.
When you have a browse of res.currency from time to time the browse will do a read_flat and will ty to load the value of the related company that is protected by it's own ir.rule.
I do not know what is the best solution, put a rule on res.currency to be coherent with the rest of the models, or modify the creation of res.currency in order not to have company_id on it ?
Ok I have identified the source of the bug.
By default there is no ir_rule on res.currency but there is a default company_id set on res.currency that is the base.main_company id.
When you have a browse of res.currency from time to time the browse will do a read_flat and will ty to load the value of the related company that is protected by it's own ir.rule.
I do not know what is the best solution, put a rule on res.currency to be coherent with the rest of the models, or modify the creation of res.currency in order not to have company_id on it ?
Regards
Nicolas