[FIX] account, l10n_be: disable/remove WIP references to financial reports

To be done under @qdp-odoo's supervision
This commit is contained in:
Olivier Dony
2015-06-15 04:36:24 +02:00
parent a29e291b69
commit 839b739ab5
4 changed files with 4 additions and 99 deletions
@@ -65,8 +65,6 @@ access_account_journal_sale_manager,account.journal sale manager,model_account_j
access_account_invoice_tax_sale_manager,account.invoice.tax sale manager,model_account_invoice_tax,base.group_sale_salesman,1,0,0,0
access_account_financial_report,account.financial.report,model_account_financial_report,account.group_account_user,1,1,1,1
access_account_financial_report_invoice,account.financial.report invoice,model_account_financial_report,account.group_account_invoice,1,0,0,0
access_account_financial_report_line,account.financial.report.line,model_account_financial_report_line,account.group_account_user,1,1,1,1
access_account_financial_report_line_invoice,account.financial.report.line invoice,model_account_financial_report_line,account.group_account_invoice,1,0,0,0
access_account_account_tax,account.account.tag,model_account_account_tag,account.group_account_user,1,0,0,0
access_account_account_tax_user,account.account.tag,model_account_account_tag,account.group_account_invoice,1,0,0,0
access_account_operation_template,account.operation.template,model_account_operation_template,account.group_account_user,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
65 access_account_invoice_tax_sale_manager account.invoice.tax sale manager model_account_invoice_tax base.group_sale_salesman 1 0 0 0
66 access_account_financial_report account.financial.report model_account_financial_report account.group_account_user 1 1 1 1
67 access_account_financial_report_invoice account.financial.report invoice model_account_financial_report account.group_account_invoice 1 0 0 0
access_account_financial_report_line account.financial.report.line model_account_financial_report_line account.group_account_user 1 1 1 1
access_account_financial_report_line_invoice account.financial.report.line invoice model_account_financial_report_line account.group_account_invoice 1 0 0 0
68 access_account_account_tax account.account.tag model_account_account_tag account.group_account_user 1 0 0 0
69 access_account_account_tax_user account.account.tag model_account_account_tag account.group_account_invoice 1 0 0 0
70 access_account_operation_template account.operation.template model_account_operation_template account.group_account_user 1 1 1 1
-93
View File
@@ -1782,99 +1782,6 @@
parent="menu_finance_payables"
action="base.action_partner_supplier_form" sequence="100"/>
<!-- Account Reports -->
<record id="view_account_financial_report_form" model="ir.ui.view">
<field name="name">account.financial.report.form</field>
<field name="model">account.financial.report</field>
<field name="arch" type="xml">
<form string="Account Report">
<sheet>
<group col="4">
<field colspan="4" name="name"/>
<field name="debit_credit"/>
<field name="report_type"/>
<field colspan="4" name="line_ids" nolabel="1"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="view_account_financial_report_tree" model="ir.ui.view">
<field name="name">account.financial.report.tree</field>
<field name="model">account.financial.report</field>
<field name="arch" type="xml">
<tree string="Account Report">
<field name="name"/>
</tree>
</field>
</record>
<record id="view_account_financial_report_search" model="ir.ui.view">
<field name="name">account.financial.report.search</field>
<field name="model">account.financial.report</field>
<field name="arch" type="xml">
<search string="Account Report">
<field name="name" string="Account Report"/>
<group expand="0" string="Group By">
<filter string="Report Type" context="{'group_by':'report_type'}"/>
</group>
</search>
</field>
</record>
<record id="action_account_financial_report_tree" model="ir.actions.act_window">
<field name="name">Financial Reports</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.financial.report</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_account_financial_report_search"/>
<field name="view_id" ref="view_account_financial_report_tree"/>
</record>
<menuitem id="menu_account_financial_reports_tree" name="Financial Reports" parent="account_management_menu" action="action_account_financial_report_tree" groups="base.group_no_one"/>
<record id="view_account_financial_report_line_form" model="ir.ui.view">
<field name="name">account.financial.report.line.form</field>
<field name="model">account.financial.report.line</field>
<field name="arch" type="xml">
<form string="Report Line">
<group>
<group string="Main Info">
<field name="name"/>
<field name="code"/>
<field name="sequence"/>
<field name="parent_id"/>
</group>
<group string="Computation">
<field name="formulas"/>
<field name="domain"/>
<field name="groupby"/>
<field name="special_date_changer"/>
</group>
<group string="Cosmetics">
<field name="level"/>
<field name="green_on_positive"/>
<field name="figure_type"/>
<field name="show_domain"/>
</group>
<group string="Children Lines">
<field name="children_ids" nolabel="1"/>
</group>
</group>
</form>
</field>
</record>
<record id="view_account_financial_report_line_tree" model="ir.ui.view">
<field name="name">account.financial.report.line.tree</field>
<field name="model">account.financial.report.line</field>
<field name="arch" type="xml">
<tree string="Report Lines">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="code"/>
<field name="level"/>
<field name="figure_type"/>
</tree>
</field>
</record>
</data>
</openerp>
+2 -2
View File
@@ -2,5 +2,5 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import wizard
import xml_export
import partner_vat_listing
#import xml_export
#import partner_vat_listing
+2 -2
View File
@@ -43,7 +43,7 @@ Wizards provided by this module:
],
'data': [
'account_chart_template.xml',
'account_financial_report.xml',
#'account_financial_report.xml',
'account_pcmn_belgium.xml',
'account_tax_template.xml',
#'wizard/l10n_be_account_vat_declaration_view.xml',
@@ -55,7 +55,7 @@ Wizards provided by this module:
'account_chart_template.yml',
'security/ir.model.access.csv',
'views/report_vatintraprint.xml',
'report_vat_statement.xml',
#'report_vat_statement.xml',
],
'demo': [
'demo/l10n_be_demo.yml',