← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 785742] Re: [6.0] record rule for account.tax is incorrect

 

Hi Jay,

I'm still rather new around here, so, pardon me if I'm wrong.

I find the approach you mention rather surprising, however. Indeed for
all other objects, a user working on one company can see everything in
the child companies (including accounts, tax codes, etc).

I'm not sure I understand the use case you mention.

In our situation, I want a user on the Parent company to be able to
create Invoices on child companies. Therefore, I believe it is a bit
strong to completely block all taxes of child companies at the level of
a global record rule.

IMHO it would be preferable to address the situation you mention by
applying the correct tax filters in the required forms (such as
Invoices) to ensure consistency.

Best regards,

-sbi

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/785742

Title:
  [6.0] record rule for account.tax is incorrect

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  Hello,

  I noticed that the default record rule for account.tax is
  ['|',('company_id','=',False),('company_id','=',user.company_id.id)]

  It should be
  ['|',('company_id','=',False),('company_id','child_of',user.company_id.id)]
  instead.

  Best regards,

  -sbi


References