← Back to team overview

openerp-india team mailing list archive

[Bug 1110189] Re: tax report error in multi company

 

Well, active_ids is being passed into the report as a tax.code object. I
understand that the wizard is associated to the tax.code object.

I don't really understand the role of active_ids in the wizard...

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1110189

Title:
  tax report error in multi company

Status in OpenERP Addons (modules):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1110189/+subscriptions


References