Browse Source

Hide odoo PDF reports menu

pull/211/head
jcoux 8 years ago
parent
commit
790fae157a
  1. 2
      account_financial_report_qweb/i18n/account_financial_report_qweb.pot
  2. 4
      account_financial_report_qweb/i18n/fr.po
  3. 23
      account_financial_report_qweb/menuitems.xml

2
account_financial_report_qweb/i18n/account_financial_report_qweb.pot

@ -928,7 +928,7 @@ msgstr ""
#. module: account_financial_report_qweb
#: model:ir.ui.menu,name:account_financial_report_qweb.menu_oca_reports
msgid "OCA Reports"
msgid "OCA accounting reports"
msgstr ""
#. module: account_financial_report_qweb

4
account_financial_report_qweb/i18n/fr.po

@ -936,8 +936,8 @@ msgstr "Écritures sans partenaire"
#. module: account_financial_report_qweb
#: model:ir.ui.menu,name:account_financial_report_qweb.menu_oca_reports
msgid "OCA Reports"
msgstr "Rapports OCA"
msgid "OCA accounting reports"
msgstr "Rapports financiers OCA"
#. module: account_financial_report_qweb
#: code:addons/account_financial_report_qweb/report/aged_partner_balance_xlsx.py:60

23
account_financial_report_qweb/menuitems.xml

@ -4,7 +4,7 @@
<menuitem
parent="account.menu_finance_reports"
id="menu_oca_reports"
name="OCA Reports"
name="OCA accounting reports"
groups="account.group_account_manager,account.group_account_user"
/>
@ -36,4 +36,25 @@
sequence="40"
/>
<!-- Hide odoo PDF reports menu -->
<record id="account.menu_general_ledger" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_erp_manager')])]"/>
</record>
<record id="account.menu_general_Balance_report" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_erp_manager')])]"/>
</record>
<record id="account.menu_account_report_bs" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_erp_manager')])]"/>
</record>
<record id="account.menu_account_report_pl" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_erp_manager')])]"/>
</record>
<record id="account.menu_aged_trial_balance" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('base.group_erp_manager')])]"/>
</record>
</odoo>
Loading…
Cancel
Save