Browse Source

[ADD] Add reports to res partner actions

pull/512/head
Iryna Vushnevska 6 years ago
committed by Iryna Vyshnevska
parent
commit
e4f4cacc99
  1. 13
      account_financial_report/wizard/general_ledger_wizard_view.xml
  2. 13
      account_financial_report/wizard/open_items_wizard_view.xml

13
account_financial_report/wizard/general_ledger_wizard_view.xml

@ -85,4 +85,17 @@
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>

13
account_financial_report/wizard/open_items_wizard_view.xml

@ -58,4 +58,17 @@
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