Amit Dodiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-bug-785742-ado into 
lp:openobject-addons/6.0.

Requested reviews:
  Jay Vora (OpenERP) (jvo-openerp)
Related bugs:
  Bug #785742 in OpenERP Addons: "[6.0] record rule for account.tax is 
incorrect"
  https://bugs.launchpad.net/openobject-addons/+bug/785742

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-bug-785742-ado/+merge/66552

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. 
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-bug-785742-ado/+merge/66552
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-bug-785742-ado.
=== modified file 'account/security/account_security.xml'
--- account/security/account_security.xml	2011-02-28 13:57:54 +0000
+++ account/security/account_security.xml	2011-07-01 06:53:52 +0000
@@ -79,7 +79,7 @@
          <field name="name">Tax multi-company</field>
         <field model="ir.model" name="model_id" ref="model_account_tax"/>
         <field eval="True" name="global"/>
-        <field name="domain_force">['|',('company_id','=',False),('company_id','=',user.company_id.id)]</field>
+        <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',user.company_id.id)]</field>
     </record>
 
     <record id="tax_code_comp_rule" model="ir.rule">

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to