[IMP] account: Improve the code so it will consider the check box display_details_per...
[odoo/odoo.git] / addons / account / wizard / account_tax_chart_view.xml
index f60ad39..a4f5860 100644 (file)
             <field name="res_model">account.tax.chart</field>
             <field name="view_type">form</field>
             <field name="view_mode">tree,form</field>
-            <field name="domain">[('parent_id','=',False)]</field>
+            <field name="domain">[]</field>
             <field name="view_id" ref="view_account_tax_chart"/>
             <field name="help">Chart of Taxes is a tree view reflecting the structure of the Tax Cases (or tax codes) and shows the current tax situation. The tax chart represents the amount of each area of the tax declaration for your country. It’s presented in a hierarchical structure, which can be modified to fit your needs.</field>
             <field name="target">new</field>
         </record>
 
-               <menuitem
-                       icon="STOCK_INDENT"
+        <menuitem
+            icon="STOCK_INDENT"
             action="action_account_tax_chart"
             id="menu_action_tax_code_tree"
             parent="menu_finance_charts"
+            groups="group_account_user,group_account_manager"
             sequence="12"/>
 
-       </data>
+    </data>
 </openerp>