Merge lp:~openerp-dev/openobject-addons/6.0-bug-785742-ado into lp:openobject-addons/6.0

Proposed by Amit Dodiya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 4684
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-bug-785742-ado
Merge into: lp:openobject-addons/6.0
Diff against target: 12 lines (+1/-1)
1 file modified
account/security/account_security.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-bug-785742-ado
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Jay Vora (Serpent Consulting Services) Pending
Review via email: mp+66552@code.launchpad.net

Description of the change

Hello Sir,

I have change the behavior of account.tax record rule as the user can see the tax of his child company.

Thanks.
Amit.

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve

Unmerged revisions

4684. By Amit Dodiya (OpenERP)

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/security/account_security.xml'
2--- account/security/account_security.xml 2011-02-28 13:57:54 +0000
3+++ account/security/account_security.xml 2011-07-01 06:53:52 +0000
4@@ -79,7 +79,7 @@
5 <field name="name">Tax multi-company</field>
6 <field model="ir.model" name="model_id" ref="model_account_tax"/>
7 <field eval="True" name="global"/>
8- <field name="domain_force">['|',('company_id','=',False),('company_id','=',user.company_id.id)]</field>
9+ <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',user.company_id.id)]</field>
10 </record>
11
12 <record id="tax_code_comp_rule" model="ir.rule">