Amit Parik (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-999506-amp into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #999506 in OpenERP Addons: "Missing Company access rule for Entries 
analysis report."
  https://bugs.launchpad.net/openobject-addons/+bug/999506

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-999506-amp/+merge/106353

Added a multi-company access rules for Entry analysis report.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-999506-amp/+merge/106353
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-999506-amp.
=== modified file 'account/security/account_security.xml'
--- account/security/account_security.xml	2012-04-04 09:08:30 +0000
+++ account/security/account_security.xml	2012-05-18 10:58:22 +0000
@@ -107,6 +107,13 @@
         <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
     </record>
 
+    <record id="entry_analysis_comp_rule" model="ir.rule">
+        <field name="name">Entries Analysis multi-company</field>
+        <field model="ir.model" name="model_id" ref="model_account_entries_report"/>
+        <field eval="True" name="global"/>
+        <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
+    </record>
+
     <record id="account_fiscal_position_comp_rule" model="ir.rule">
         <field name="name">Account fiscal Mapping company rule</field>
         <field model="ir.model" name="model_id" ref="model_account_fiscal_position"/>

_______________________________________________
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