tax report error in multi company
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello,
I have set-up two companies, unlinked to each other.
When I login in one of the companies with a user that has been set-up specifically for that company, and attempt to run the tax report, the system throws an error message indicating that the user does not have permission to read the object tax.code.
I'm debugging, and find that the account.tax.report report attempts to read during the call to _set_context to a tax code that belongs to the other company.
When I login with a user on the other company, the report is run with no errors.
So, looks like the report attempts to read a random tax code during the initial set-up regardless of what company does the tax code belongs to....
Any ideas??
Regards,
Jordi
www.eficent.com
Hello Jordi,
I just checked here and found no issues whatsoever.
Where exactly do you suspect random company_id and tax code being malformed?
I have seen the code and I think everything is ok.
Would you please make sure of any record rule?
Thanks,
Atul,
Serpent Consulting Services.