jcoux
9 years ago
13 changed files with 336 additions and 373 deletions
-
67account_financial_report_qweb/menuitems.xml
-
7account_financial_report_qweb/report/general_ledger.py
-
2account_financial_report_qweb/report/templates/general_ledger.xml
-
2account_financial_report_qweb/report/templates/layouts.xml
-
124account_financial_report_qweb/reports.xml
-
27account_financial_report_qweb/view/account_view.xml
-
9account_financial_report_qweb/wizard/aged_partner_balance_wizard.py
-
90account_financial_report_qweb/wizard/aged_partner_balance_wizard_view.xml
-
110account_financial_report_qweb/wizard/balance_common_wizard_view.xml
-
108account_financial_report_qweb/wizard/general_ledger_wizard_view.xml
-
9account_financial_report_qweb/wizard/open_items_wizard.py
-
90account_financial_report_qweb/wizard/open_items_wizard_view.xml
-
64account_financial_report_qweb/wizard/trial_balance_wizard_view.xml
@ -1,42 +1,39 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<odoo> |
|||
|
|||
<menuitem |
|||
parent="account.menu_finance_reports" |
|||
id="menu_oca_reports" |
|||
name="OCA Reports" |
|||
groups="account.group_account_manager,account.group_account_user" |
|||
/> |
|||
<menuitem |
|||
parent="account.menu_finance_reports" |
|||
id="menu_oca_reports" |
|||
name="OCA Reports" |
|||
groups="account.group_account_manager,account.group_account_user" |
|||
/> |
|||
|
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_general_ledger_wizard" |
|||
id="menu_general_ledger_wizard" |
|||
sequence="10" |
|||
/> |
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_general_ledger_wizard" |
|||
id="menu_general_ledger_wizard" |
|||
sequence="10" |
|||
/> |
|||
|
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_account_trial_balance_wizard_view" |
|||
id="menu_account_trial_balance_report" |
|||
sequence="20" |
|||
/> |
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_account_trial_balance_wizard_view" |
|||
id="menu_account_trial_balance_report" |
|||
sequence="20" |
|||
/> |
|||
|
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_open_items_wizard" |
|||
id="menu_open_items_wizard" |
|||
sequence="30" |
|||
/> |
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_open_items_wizard" |
|||
id="menu_open_items_wizard" |
|||
sequence="30" |
|||
/> |
|||
|
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_aged_partner_balance_wizard" |
|||
id="menu_aged_partner_balance_wizard" |
|||
sequence="40" |
|||
/> |
|||
|
|||
</data> |
|||
</openerp> |
|||
<menuitem |
|||
parent="menu_oca_reports" |
|||
action="action_aged_partner_balance_wizard" |
|||
id="menu_aged_partner_balance_wizard" |
|||
sequence="40" |
|||
/> |
|||
|
|||
</odoo> |
@ -1,76 +1,74 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<odoo> |
|||
|
|||
<!-- PDF REPORTS --> |
|||
<!-- PDF REPORTS --> |
|||
|
|||
<report |
|||
id="action_report_general_ledger_qweb" |
|||
model="report_general_ledger_qweb" |
|||
string="General Ledger" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_general_ledger_qweb" |
|||
file="account_financial_report_qweb.report_general_ledger_qweb" |
|||
/> |
|||
<report |
|||
id="action_report_general_ledger_qweb" |
|||
model="report_general_ledger_qweb" |
|||
string="General Ledger" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_general_ledger_qweb" |
|||
file="account_financial_report_qweb.report_general_ledger_qweb" |
|||
/> |
|||
|
|||
<report |
|||
id="action_report_open_items_qweb" |
|||
model="report_open_items_qweb" |
|||
string="Open Items" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_open_items_qweb" |
|||
file="account_financial_report_qweb.report_open_items_qweb" |
|||
/> |
|||
<report |
|||
id="action_report_open_items_qweb" |
|||
model="report_open_items_qweb" |
|||
string="Open Items" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_open_items_qweb" |
|||
file="account_financial_report_qweb.report_open_items_qweb" |
|||
/> |
|||
|
|||
<report |
|||
id="action_report_aged_partner_balance_qweb" |
|||
model="report_aged_partner_balance_qweb" |
|||
string="Aged Partner Balance" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_aged_partner_balance_qweb" |
|||
file="account_financial_report_qweb.report_aged_partner_balance_qweb" |
|||
/> |
|||
<report |
|||
id="action_report_aged_partner_balance_qweb" |
|||
model="report_aged_partner_balance_qweb" |
|||
string="Aged Partner Balance" |
|||
report_type="qweb-pdf" |
|||
name="account_financial_report_qweb.report_aged_partner_balance_qweb" |
|||
file="account_financial_report_qweb.report_aged_partner_balance_qweb" |
|||
/> |
|||
|
|||
<!-- PDF REPORTS : paperformat --> |
|||
<!-- PDF REPORTS : paperformat --> |
|||
|
|||
<record id="report_qweb_paperformat" model="report.paperformat"> |
|||
<field name="name">Account financial report qweb paperformat</field> |
|||
<field name="default" eval="True"/> |
|||
<field name="format">custom</field> |
|||
<field name="page_height">297</field> |
|||
<field name="page_width">210</field> |
|||
<field name="orientation">Portrait</field> |
|||
<field name="margin_top">12</field> |
|||
<field name="margin_bottom">8</field> |
|||
<field name="margin_left">5</field> |
|||
<field name="margin_right">5</field> |
|||
<field name="header_line" eval="False"/> |
|||
<field name="header_spacing">10</field> |
|||
<field name="dpi">110</field> |
|||
</record> |
|||
<record id="report_qweb_paperformat" model="report.paperformat"> |
|||
<field name="name">Account financial report qweb paperformat</field> |
|||
<field name="default" eval="True"/> |
|||
<field name="format">custom</field> |
|||
<field name="page_height">297</field> |
|||
<field name="page_width">210</field> |
|||
<field name="orientation">Portrait</field> |
|||
<field name="margin_top">12</field> |
|||
<field name="margin_bottom">8</field> |
|||
<field name="margin_left">5</field> |
|||
<field name="margin_right">5</field> |
|||
<field name="header_line" eval="False"/> |
|||
<field name="header_spacing">10</field> |
|||
<field name="dpi">110</field> |
|||
</record> |
|||
|
|||
<record id="action_report_general_ledger_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
<record id="action_report_general_ledger_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_open_items_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
<record id="action_report_open_items_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<record id="action_report_aged_partner_balance_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
<record id="action_report_aged_partner_balance_qweb" model="ir.actions.report.xml"> |
|||
<field name="paperformat_id" ref="report_qweb_paperformat"/> |
|||
</record> |
|||
|
|||
<!-- XLSX REPORTS --> |
|||
<!-- XLSX REPORTS --> |
|||
|
|||
<record id="action_report_general_ledger_xlsx" model="ir.actions.report.xml"> |
|||
<field name="name">General Ledger XLSX</field> |
|||
<field name="model">report_general_ledger_qweb</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">account_financial_report_qweb.report_general_ledger_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
<record id="action_report_general_ledger_xlsx" model="ir.actions.report.xml"> |
|||
<field name="name">General Ledger XLSX</field> |
|||
<field name="model">report_general_ledger_qweb</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">account_financial_report_qweb.report_general_ledger_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
</odoo> |
@ -1,17 +1,14 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record model="ir.ui.view" id="view_account_specific_form"> |
|||
<field name="name">account.account.form.inherit</field> |
|||
<field name="inherit_id" ref="account.view_account_form"/> |
|||
<field name="model">account.account</field> |
|||
<field name="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<field name="deprecated" position="after"> |
|||
<field name="centralized"/> |
|||
</field> |
|||
<odoo> |
|||
<record model="ir.ui.view" id="view_account_specific_form"> |
|||
<field name="name">account.account.form.inherit</field> |
|||
<field name="inherit_id" ref="account.view_account_form"/> |
|||
<field name="model">account.account</field> |
|||
<field name="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<field name="deprecated" position="after"> |
|||
<field name="centralized"/> |
|||
</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,52 +1,50 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<odoo> |
|||
|
|||
<!-- AGED PARTNER BALANCE --> |
|||
<record id="aged_partner_balance_wizard" model="ir.ui.view"> |
|||
<field name="name">Aged Partner Balance</field> |
|||
<field name="model">aged.partner.balance.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="main_info"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
<!-- AGED PARTNER BALANCE --> |
|||
<record id="aged_partner_balance_wizard" model="ir.ui.view"> |
|||
<field name="name">Aged Partner Balance</field> |
|||
<field name="model">aged.partner.balance.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="main_info"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
</group> |
|||
<group name="filters"> |
|||
<group name="date_ranger"> |
|||
<field name="date_at"/> |
|||
</group> |
|||
<group name="filters"> |
|||
<group name="date_ranger"> |
|||
<field name="date_at"/> |
|||
</group> |
|||
<group name="other_filters"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="show_move_line_details"/> |
|||
</group> |
|||
<group name="other_filters"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="show_move_line_details"/> |
|||
</group> |
|||
<label for="partner_ids"/> |
|||
<field name="partner_ids" nolabel="1"/> |
|||
<group/> |
|||
<label for="account_ids"/> |
|||
<group col="4"> |
|||
<field name="receivable_accounts_only"/> |
|||
<field name="payable_accounts_only"/> |
|||
</group> |
|||
<field name="account_ids" nolabel="1"/> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</group> |
|||
<label for="partner_ids"/> |
|||
<field name="partner_ids" nolabel="1"/> |
|||
<group/> |
|||
<label for="account_ids"/> |
|||
<group col="4"> |
|||
<field name="receivable_accounts_only"/> |
|||
<field name="payable_accounts_only"/> |
|||
</group> |
|||
<field name="account_ids" nolabel="1"/> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_aged_partner_balance_wizard" model="ir.actions.act_window"> |
|||
<field name="name">Aged Partner Balance</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">aged.partner.balance.wizard</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="aged_partner_balance_wizard"/> |
|||
<field name="target">new</field> |
|||
</record> |
|||
<record id="action_aged_partner_balance_wizard" model="ir.actions.act_window"> |
|||
<field name="name">Aged Partner Balance</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">aged.partner.balance.wizard</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="aged_partner_balance_wizard"/> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
</odoo> |
@ -1,59 +1,57 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<odoo> |
|||
|
|||
<record id="account_balance_common_wizard_view" model="ir.ui.view"> |
|||
<field name="name">Balance Common Wizard</field> |
|||
<field name="model">account.common.balance.report</field> |
|||
<field name="mode">primary</field> |
|||
<field name="inherit_id" ref="account.account_common_report_view"/> |
|||
<field name="arch" type="xml"> |
|||
<data> |
|||
<field name="company_id" position='replace'> |
|||
<group name="main_info"> |
|||
<field name="company_id" readonly="0"/> |
|||
</group> |
|||
</field> |
|||
<field name="target_move" position="after"> |
|||
<field name="date_range_id"/> |
|||
<newline/> |
|||
</field> |
|||
<field name="date_to" position="after"> |
|||
<newline/> |
|||
<field name="debit_credit"/> |
|||
</field> |
|||
<footer position="before"> |
|||
<notebook> |
|||
<page string="Accounts Filters" name="accounts"> |
|||
<separator string="Print only" colspan="4"/> |
|||
<field name="account_ids" colspan="4" nolabel="1" domain="[('type', 'in', ['receivable', 'payable'])]"> |
|||
<tree> |
|||
<field name="code"/> |
|||
<field name="name"/> |
|||
<field name="user_type_id"/> |
|||
<field name="company_id"/> |
|||
</tree> |
|||
</field> |
|||
</page> |
|||
<page string="Partners Filters" name="partners"> |
|||
<separator string="Print only" colspan="4"/> |
|||
<field name="partner_ids" colspan="4" nolabel="1"/> |
|||
</page> |
|||
<page string="Comparison" name="comparison"> |
|||
<group> |
|||
<field name="comparison_date_range_id"/> |
|||
<field name="comparison_date_start"/> |
|||
<field name="comparison_date_end"/> |
|||
</group> |
|||
</page> |
|||
</notebook> |
|||
</footer> |
|||
<field name="journal_ids" position="attributes"> |
|||
<attribute name="invisible">True</attribute> |
|||
</field> |
|||
</data> |
|||
</field> |
|||
</record> |
|||
<record id="account_balance_common_wizard_view" model="ir.ui.view"> |
|||
<field name="name">Balance Common Wizard</field> |
|||
<field name="model">account.common.balance.report</field> |
|||
<field name="mode">primary</field> |
|||
<field name="inherit_id" ref="account.account_common_report_view"/> |
|||
<field name="arch" type="xml"> |
|||
<data> |
|||
<field name="company_id" position='replace'> |
|||
<group name="main_info"> |
|||
<field name="company_id" readonly="0"/> |
|||
</group> |
|||
</field> |
|||
<field name="target_move" position="after"> |
|||
<field name="date_range_id"/> |
|||
<newline/> |
|||
</field> |
|||
<field name="date_to" position="after"> |
|||
<newline/> |
|||
<field name="debit_credit"/> |
|||
</field> |
|||
<footer position="before"> |
|||
<notebook> |
|||
<page string="Accounts Filters" name="accounts"> |
|||
<separator string="Print only" colspan="4"/> |
|||
<field name="account_ids" colspan="4" nolabel="1" domain="[('type', 'in', ['receivable', 'payable'])]"> |
|||
<tree> |
|||
<field name="code"/> |
|||
<field name="name"/> |
|||
<field name="user_type_id"/> |
|||
<field name="company_id"/> |
|||
</tree> |
|||
</field> |
|||
</page> |
|||
<page string="Partners Filters" name="partners"> |
|||
<separator string="Print only" colspan="4"/> |
|||
<field name="partner_ids" colspan="4" nolabel="1"/> |
|||
</page> |
|||
<page string="Comparison" name="comparison"> |
|||
<group> |
|||
<field name="comparison_date_range_id"/> |
|||
<field name="comparison_date_start"/> |
|||
<field name="comparison_date_end"/> |
|||
</group> |
|||
</page> |
|||
</notebook> |
|||
</footer> |
|||
<field name="journal_ids" position="attributes"> |
|||
<attribute name="invisible">True</attribute> |
|||
</field> |
|||
</data> |
|||
</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
</odoo> |
@ -1,61 +1,59 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<odoo> |
|||
|
|||
<!-- GENERAL LEDGER --> |
|||
<record id="general_ledger_wizard" model="ir.ui.view"> |
|||
<field name="name">General Ledger</field> |
|||
<field name="model">general.ledger.report.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="main_info"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
<!-- GENERAL LEDGER --> |
|||
<record id="general_ledger_wizard" model="ir.ui.view"> |
|||
<field name="name">General Ledger</field> |
|||
<field name="model">general.ledger.report.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="main_info"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
</group> |
|||
<group name="filters"> |
|||
<group name="date_ranger"> |
|||
<field name="date_range_id" domain="[('company_id','=',company_id)]"/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
<field name="fy_start_date" invisible="1"/> |
|||
</group> |
|||
<group name="filters"> |
|||
<group name="date_ranger"> |
|||
<field name="date_range_id" domain="[('company_id','=',company_id)]"/> |
|||
<field name="date_from"/> |
|||
<field name="date_to"/> |
|||
<field name="fy_start_date" invisible="1"/> |
|||
</group> |
|||
<group name="other_filters"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="centralize"/> |
|||
<field name="hide_account_balance_at_0"/> |
|||
</group> |
|||
<group name="other_filters"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="centralize"/> |
|||
<field name="hide_account_balance_at_0"/> |
|||
</group> |
|||
<label for="cost_center_ids" groups="analytic.group_analytic_accounting"/> |
|||
<field name="cost_center_ids" nolabel="1" groups="analytic.group_analytic_accounting"/> |
|||
<group/> |
|||
<label for="partner_ids"/> |
|||
<field name="partner_ids" nolabel="1"/> |
|||
<group/> |
|||
<label for="account_ids"/> |
|||
<group col="4"> |
|||
<field name="receivable_accounts_only"/> |
|||
<field name="payable_accounts_only"/> |
|||
</group> |
|||
<field name="account_ids" nolabel="1"/> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button name="button_export_xlsx" string="Export XLSX" type="object"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</group> |
|||
<label for="cost_center_ids" groups="analytic.group_analytic_accounting"/> |
|||
<field name="cost_center_ids" nolabel="1" groups="analytic.group_analytic_accounting"/> |
|||
<group/> |
|||
<label for="partner_ids"/> |
|||
<field name="partner_ids" nolabel="1"/> |
|||
<group/> |
|||
<label for="account_ids"/> |
|||
<group col="4"> |
|||
<field name="receivable_accounts_only"/> |
|||
<field name="payable_accounts_only"/> |
|||
</group> |
|||
<field name="account_ids" nolabel="1"/> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button name="button_export_xlsx" string="Export XLSX" type="object"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_general_ledger_wizard" model="ir.actions.act_window"> |
|||
<field name="name">General Ledger</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">general.ledger.report.wizard</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="general_ledger_wizard"/> |
|||
<field name="target">new</field> |
|||
</record> |
|||
<record id="action_general_ledger_wizard" model="ir.actions.act_window"> |
|||
<field name="name">General Ledger</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">general.ledger.report.wizard</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="general_ledger_wizard"/> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
</odoo> |
@ -1,52 +1,50 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<odoo> |
|||
|
|||
<!-- OPEN ITEMS --> |
|||
<record id="open_items_wizard" model="ir.ui.view"> |
|||
<field name="name">Open Items</field> |
|||
<field name="model">open.items.report.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="main_info"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
<!-- OPEN ITEMS --> |
|||
<record id="open_items_wizard" model="ir.ui.view"> |
|||
<field name="name">Open Items</field> |
|||
<field name="model">open.items.report.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="main_info"> |
|||
<field name="company_id" groups="base.group_multi_company"/> |
|||
</group> |
|||
<group name="filters"> |
|||
<group name="date_ranger"> |
|||
<field name="date_at"/> |
|||
</group> |
|||
<group name="filters"> |
|||
<group name="date_ranger"> |
|||
<field name="date_at"/> |
|||
</group> |
|||
<group name="other_filters"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="hide_account_balance_at_0"/> |
|||
</group> |
|||
<group name="other_filters"> |
|||
<field name="target_move" widget="radio"/> |
|||
<field name="hide_account_balance_at_0"/> |
|||
</group> |
|||
<label for="partner_ids"/> |
|||
<field name="partner_ids" nolabel="1"/> |
|||
<group/> |
|||
<label for="account_ids"/> |
|||
<group col="4"> |
|||
<field name="receivable_accounts_only"/> |
|||
<field name="payable_accounts_only"/> |
|||
</group> |
|||
<field name="account_ids" nolabel="1"/> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</group> |
|||
<label for="partner_ids"/> |
|||
<field name="partner_ids" nolabel="1"/> |
|||
<group/> |
|||
<label for="account_ids"/> |
|||
<group col="4"> |
|||
<field name="receivable_accounts_only"/> |
|||
<field name="payable_accounts_only"/> |
|||
</group> |
|||
<field name="account_ids" nolabel="1"/> |
|||
<footer> |
|||
<button name="button_export_pdf" string="Export PDF" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_open_items_wizard" model="ir.actions.act_window"> |
|||
<field name="name">Open Items</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">open.items.report.wizard</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="open_items_wizard"/> |
|||
<field name="target">new</field> |
|||
</record> |
|||
<record id="action_open_items_wizard" model="ir.actions.act_window"> |
|||
<field name="name">Open Items</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">open.items.report.wizard</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="open_items_wizard"/> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
</odoo> |
@ -1,38 +1,36 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<odoo> |
|||
|
|||
<record id="account_trial_balance_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> |
|||
<field name="company_id" position="before"> |
|||
<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 name="debit_credit" position="attributes"> |
|||
<attribute name="invisible">True</attribute> |
|||
</field> |
|||
<page name="partners" position="attributes"> |
|||
<attribute name="invisible">True</attribute> |
|||
</page> |
|||
<record id="account_trial_balance_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> |
|||
<field name="company_id" position="before"> |
|||
<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 name="debit_credit" position="attributes"> |
|||
<attribute name="invisible">True</attribute> |
|||
</field> |
|||
<page name="partners" position="attributes"> |
|||
<attribute name="invisible">True</attribute> |
|||
</page> |
|||
|
|||
</data> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_account_trial_balance_wizard_view" model="ir.actions.act_window"> |
|||
<field name="name">Trial Balance</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_trial_balance_wizard_view"/> |
|||
<field name="target">new</field> |
|||
<field name="context">{'balance_common': 'trial_balance'}</field> |
|||
</record> |
|||
<record id="action_account_trial_balance_wizard_view" model="ir.actions.act_window"> |
|||
<field name="name">Trial Balance</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_trial_balance_wizard_view"/> |
|||
<field name="target">new</field> |
|||
<field name="context">{'balance_common': 'trial_balance'}</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue