← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Stephane and Amit,

Thanks for information here.

But, this is not a bug or a forgotten line; but rather a really intended
behavior.

As far as the taxes are concerned, men should be allowed to see only the
taxes related to the current company used. This fix the problem of a
product company neutral with several taxes defined (one for each
existing company): previously the onchange was setting all the taxes on
invoice/SO/PO/... lines instead of just the one for the current company.

So, stable version 6.0 behaves pretty normally. Instead, the fix on trunk would have some consequences, hence it should be fixed in trunk.
Refer to : http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/revision/3164.118.592
Thanks.

** Changed in: openobject-addons
     Assignee: OpenERP Publisher's Warranty Team (openerp-opw) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
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