Browse Source

[ADD] Add reports to res partner actions

pull/508/head
Iryna Vyshnevska 6 years ago
parent
commit
a2c520acb3
  1. 12
      account_financial_report_qweb/wizard/general_ledger_wizard_view.xml
  2. 12
      account_financial_report_qweb/wizard/open_items_wizard_view.xml

12
account_financial_report_qweb/wizard/general_ledger_wizard_view.xml

@ -86,4 +86,16 @@
view_id="general_ledger_wizard"
target="new" />
<!--Add to res.partner action-->
<act_window id="act_action_general_ledger_wizard_partner_relation"
name="General Ledger"
res_model="general.ledger.report.wizard"
src_model="res.partner"
view_mode="form"
context="{
'default_receivable_accounts_only':1,
'default_payable_accounts_only':1,
}"
key2="client_action_multi"
target="new" />
</odoo>

12
account_financial_report_qweb/wizard/open_items_wizard_view.xml

@ -58,4 +58,16 @@
view_id="open_items_wizard"
target="new" />
<!--Add to res.partner action-->
<act_window id="act_action_open_items_wizard_partner_relation"
name="Open Items Partner"
res_model="open.items.report.wizard"
src_model="res.partner"
view_mode="form"
context="{
'default_receivable_accounts_only':1,
'default_payable_accounts_only':1,
}"
key2="client_action_multi"
target="new" />
</odoo>
Loading…
Cancel
Save