Browse Source

[FIX] Open Invoices - Graphical improvement and menu moved under OCA reports menu

pull/196/head
Francesco Apruzzese 9 years ago
committed by Leonardo Pistone
parent
commit
62a1e8f074
  1. 3
      account_financial_report_qweb/menuitems.xml
  2. 25
      account_financial_report_qweb/report/templates/open_invoice_report.xml
  3. 5
      account_financial_report_qweb/wizard/open_invoice_wizard_view.xml

3
account_financial_report_qweb/menuitems.xml

@ -39,6 +39,9 @@
<menuitem icon="STOCK_PRINT" name="Profit &amp; Loss"
parent="menu_oca_reports" action="action_account_profit_loss_wizard_view"
groups="account.group_account_manager,account.group_account_user" id="menu_account_profit_loss_report"/>
<menuitem icon="STOCK_PRINT" name="Open Invoices"
parent="menu_oca_reports" action="action_open_invoice_report"
groups="account.group_account_manager,account.group_account_user" id="menu_invoice_report_wizard"/>
</data>
</openerp>

25
account_financial_report_qweb/report/templates/open_invoice_report.xml

@ -5,13 +5,8 @@
<template id="open_invoice_report_qweb">
<style type="text/css">
td, th {
font-size: 10px;
}
npage {
font-size: 10px
}
td, th {font-size: 10px;}
npage {font-size: 10px;}
</style>
<div class="header">
@ -40,7 +35,7 @@
<div class="row">
<table class="table table-bordered table-condensed" style="text-align: center;">
<thead>
<tr>
<tr style="background-color:#e3e3e3;">
<th>Chart of Account</th>
<th>Fiscal Year</th>
<th>Period Filters</th>
@ -66,7 +61,7 @@
<p><strong><span t-esc="partner"/></strong></p>
<table class="table table-bordered table-condensed">
<thead>
<tr>
<tr style="background-color:#e3e3e3;">
<th>Date</th>
<th>Period</th>
<th>Entry</th>
@ -76,9 +71,9 @@
<th>Label</th>
<th>Rec.</th>
<th>Due Date</th>
<th>Debit</th>
<th>Credit</th>
<th>Cumul.Bal.</th>
<th style="width:8%">Debit</th>
<th style="width:8%">Credit</th>
<th style="width:8%">Cumul.Bal.</th>
</tr>
</thead>
<tbody>
@ -109,9 +104,9 @@
<table class="table table-bordered table-condensed">
<tbody><tr><h2>
<td colspan="9"><strong><span t-esc="account"/> Comulate Balance</strong></td>
<td class="text-right">0</td>
<td class="text-right">0</td>
<td class="text-right">0</td></h2></tr>
<td class="text-right" style="width:8%">0</td>
<td class="text-right" style="width:8%">0</td>
<td class="text-right" style="width:8%">0</td></h2></tr>
</tbody>
</table>
<br/>

5
account_financial_report_qweb/wizard/open_invoice_wizard_view.xml

@ -43,10 +43,5 @@
<field name="target">new</field>
</record>
<menuitem
parent="account.menu_finance_legal_statement"
action="action_open_invoice_report"
id="menu_invoice_report_wizard"/>
</data>
</openerp>
Loading…
Cancel
Save