[ADD]added new wizzard account_financial_report_qweb/wizard/balance_sheet_wizard_view.xml
parent
1257b53e77
commit
8ea92c016b
|
@ -25,6 +25,8 @@
|
||||||
'wizard/balance_common_wizard_view.xml',
|
'wizard/balance_common_wizard_view.xml',
|
||||||
'wizard/partner_balance_wizard_view.xml',
|
'wizard/partner_balance_wizard_view.xml',
|
||||||
'wizard/trial_balance_wizard_view.xml',
|
'wizard/trial_balance_wizard_view.xml',
|
||||||
|
'wizard/balance_sheet_wizard_view.xml',
|
||||||
|
#'wizard/profit_loss_wizard_view.xml',
|
||||||
'views/report_menus.xml',
|
'views/report_menus.xml',
|
||||||
'menuitems.xml',
|
'menuitems.xml',
|
||||||
'reports.xml',
|
'reports.xml',
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
<menuitem icon="STOCK_PRINT" name="Trial Balance"
|
<menuitem icon="STOCK_PRINT" name="Trial Balance"
|
||||||
parent="menu_account_balance_common" action="action_account_trial_balance_wizard_view"
|
parent="menu_account_balance_common" action="action_account_trial_balance_wizard_view"
|
||||||
groups="account.group_account_manager,account.group_account_user" id="menu_account_trial_balance_report"/>
|
groups="account.group_account_manager,account.group_account_user" id="menu_account_trial_balance_report"/>
|
||||||
|
<menuitem icon="STOCK_PRINT" name="Balance Sheet"
|
||||||
|
parent="menu_account_balance_common" action="action_account_balance_sheet_wizard_view"
|
||||||
|
groups="account.group_account_manager,account.group_account_user" id="menu_account_sheet_balance_report"/>
|
||||||
|
<menuitem icon="STOCK_PRINT" name="Profit & Loss"
|
||||||
|
parent="menu_account_balance_common" action="action_account_profit_loss_wizard_view"
|
||||||
|
groups="account.group_account_manager,account.group_account_user" id="menu_account_profit_loss_report"/>
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<openerp>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<record id="account_balance_sheet_wizard_view" model="ir.ui.view">
|
||||||
|
<field name="name">Trial Balance Wizard</field>
|
||||||
|
<field name="model">account.common.balance.report</field>
|
||||||
|
<field name="mode">primary</field>
|
||||||
|
<field name="inherit_id" ref="account_balance_common_wizard_view"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<data>
|
||||||
|
<notebook position="attributes">
|
||||||
|
<attribute name="invisible">True</attribute>
|
||||||
|
</notebook>
|
||||||
|
<notebook position="before">
|
||||||
|
<group>
|
||||||
|
<!--<field name="comparison_date_range"/>-->
|
||||||
|
<field name="comparison_date_start"/>
|
||||||
|
<field name="comparison_date_end"/>
|
||||||
|
</group>
|
||||||
|
</notebook>
|
||||||
|
</data>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="action_account_balance_sheet_wizard_view" model="ir.actions.act_window">
|
||||||
|
<!--field name="name">Balance Sheet </field -->
|
||||||
|
<field name="type">ir.actions.act_window</field>
|
||||||
|
<field name="res_model">account.common.balance.report</field>
|
||||||
|
<field name="view_type">form</field>
|
||||||
|
<field name="view_mode">form</field>
|
||||||
|
<field name="view_id" ref="account_balance_sheet_wizard_view"/>
|
||||||
|
<field name="target">new</field>
|
||||||
|
<field name="context">{'balance_common': 'balance_sheet'}</field>
|
||||||
|
</record>
|
||||||
|
<record id="action_account_profit_loss_wizard_view" model="ir.actions.act_window">
|
||||||
|
<field name="name">Profit & Loss</field>
|
||||||
|
<field name="type">ir.actions.act_window</field>
|
||||||
|
<field name="res_model">account.common.balance.report</field>
|
||||||
|
<field name="view_type">form</field>
|
||||||
|
<field name="view_mode">form</field>
|
||||||
|
<field name="view_id" ref="account_balance_sheet_wizard_view"/>
|
||||||
|
<field name="target">new</field>
|
||||||
|
<field name="context">{'balance_common': 'profit_loss'}</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</openerp>
|
|
@ -10,7 +10,6 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<data>
|
<data>
|
||||||
<field name="company_id" position="before">
|
<field name="company_id" position="before">
|
||||||
<separator string="Partner Balance" colspan="4"/>
|
|
||||||
<label nolabel="1" colspan="4" string="This report is an analysis done by a partner, It is a PDF report containing one line per partner representing the cumulative credit balance"/>
|
<label nolabel="1" colspan="4" string="This report is an analysis done by a partner, It is a PDF report containing one line per partner representing the cumulative credit balance"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="debit_credit" position="attributes">
|
<field name="debit_credit" position="attributes">
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<data>
|
<data>
|
||||||
<field name="company_id" position="before">
|
<field name="company_id" position="before">
|
||||||
<separator string="Trial Balance" colspan="4"/>
|
|
||||||
<label nolabel="1" colspan="4" string="This report allows you to print or generate a pdf of your trial balance allowing you to quickly check the balance of each of your accounts in a single report"/>
|
<label nolabel="1" colspan="4" string="This report allows you to print or generate a pdf of your trial balance allowing you to quickly check the balance of each of your accounts in a single report"/>
|
||||||
</field>
|
</field>
|
||||||
<field name="debit_credit" position="attributes">
|
<field name="debit_credit" position="attributes">
|
||||||
|
@ -25,7 +24,7 @@
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="action_account_trial_balance_wizard_view" model="ir.actions.act_window">
|
<record id="action_account_trial_balance_wizard_view" model="ir.actions.act_window">
|
||||||
<field name="name">Trial Balance</field>
|
<!--field name="name">Trial Balance</field -->
|
||||||
<field name="type">ir.actions.act_window</field>
|
<field name="type">ir.actions.act_window</field>
|
||||||
<field name="res_model">account.common.balance.report</field>
|
<field name="res_model">account.common.balance.report</field>
|
||||||
<field name="view_type">form</field>
|
<field name="view_type">form</field>
|
||||||
|
|
Loading…
Reference in New Issue