[MIG] account_financial_report: Migration to 18.0
This commit is contained in:
@@ -404,7 +404,8 @@ Partner Balance. For further information, check CONFIGURE.rst</p>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-8">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-9">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-10">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-11">Maintainers</a></li>
|
||||
<li><a class="reference internal" href="#other-credits" id="toc-entry-11">Other credits</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-12">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -421,7 +422,7 @@ the interval</p>
|
||||
<p>-> 15 -> 30 -> 60</p>
|
||||
<p>It means the first interval is from 0 to 15, the second from 16 to 30,
|
||||
and the third is 61+.</p>
|
||||
<p>Go on ‘Invoicing’ -> ‘Reports’ -> ‘OCA accounting reports’ -> ‘Aged
|
||||
<p>Go on ‘Invoicing’ -> ‘Reporting’ -> ‘OCA accounting reports’ -> ‘Aged
|
||||
Partner Balance’</p>
|
||||
<p>When wizard is open, you need to select your interval configuration and
|
||||
print report.</p>
|
||||
@@ -511,7 +512,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
||||
<li>Pedro M. Baeza</li>
|
||||
<li>Sergio Teruel</li>
|
||||
<li>Ernesto Tejeda</li>
|
||||
<li>Jo??o Marques</li>
|
||||
<li>João Marques</li>
|
||||
<li>Alexandre D. D??az</li>
|
||||
<li>V??ctor Mart??nez</li>
|
||||
<li>Carolina Fernandez</li>
|
||||
@@ -525,12 +526,18 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
||||
<li>Lois Rilo <<a class="reference external" href="mailto:lois.rilo@forgeflow.com">lois.rilo@forgeflow.com</a>></li>
|
||||
<li>Saran Lim. <<a class="reference external" href="mailto:saranl@ecosoft.co.th">saranl@ecosoft.co.th</a>></li>
|
||||
<li>Omar Casti??eira <<a class="reference external" href="mailto:omar@comunitea.com">omar@comunitea.com</a>></li>
|
||||
<li>Chau Le <<a class="reference external" href="mailto:chaulb@trobz.com">chaulb@trobz.com</a>></li>
|
||||
</ul>
|
||||
<p>Much of the work in this module was done at a sprint in Sorrento, Italy
|
||||
in April 2016.</p>
|
||||
</div>
|
||||
<div class="section" id="other-credits">
|
||||
<h2><a class="toc-backref" href="#toc-entry-11">Other credits</a></h2>
|
||||
<p>The migration of this module from 17.0 to 18.0 was financially supported
|
||||
by Camptocamp.</p>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h2>
|
||||
<h2><a class="toc-backref" href="#toc-entry-12">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
/* Styles of html report */
|
||||
.account_title span {
|
||||
font-size: 1rem !important;
|
||||
}
|
||||
.act_as_cell {
|
||||
font-size: 0.9rem !important;
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import {useComponent, useEffect} from "@odoo/owl";
|
||||
|
||||
function toTitleCase(str) {
|
||||
@@ -12,6 +10,7 @@ function toTitleCase(str) {
|
||||
}
|
||||
|
||||
function enrich(component, targetElement, selector, isIFrame = false) {
|
||||
// eslint-disable-next-line no-undef
|
||||
let doc = window.document;
|
||||
let contentDocument = targetElement;
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// /** @odoo-module **/
|
||||
import {ReportAction} from "@web/webclient/actions/reports/report_action";
|
||||
import {patch} from "@web/core/utils/patch";
|
||||
import {useEnrichWithActionLinks} from "./report.esm";
|
||||
|
||||
@@ -1,104 +1,137 @@
|
||||
a {
|
||||
color: #00337b;
|
||||
}
|
||||
|
||||
.act_as_table {
|
||||
display: table !important;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.act_as_row {
|
||||
display: table-row !important;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
.act_as_cell {
|
||||
display: table-cell !important;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
.act_as_thead {
|
||||
display: table-header-group !important;
|
||||
}
|
||||
|
||||
.act_as_tbody {
|
||||
display: table-row-group !important;
|
||||
}
|
||||
|
||||
.list_table,
|
||||
.data_table,
|
||||
.totals_table {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.act_as_row.labels {
|
||||
background-color: #f0f0f0 !important;
|
||||
}
|
||||
|
||||
.list_table,
|
||||
.data_table,
|
||||
.totals_table,
|
||||
.list_table .act_as_row {
|
||||
border-left: 0px;
|
||||
border-right: 0px;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
text-align: center;
|
||||
font-size: 10px;
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding: 2px 3px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.totals_table {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
.list_table .act_as_row.labels,
|
||||
.list_table .act_as_row.initial_balance,
|
||||
.list_table .act_as_row.lines {
|
||||
border-color: grey !important;
|
||||
border-bottom: 1px solid lightGrey !important;
|
||||
|
||||
.list_table {
|
||||
.act_as_row {
|
||||
&.labels,
|
||||
&.initial_balance,
|
||||
&.lines {
|
||||
border-color: grey !important;
|
||||
border-bottom: 1px solid lightGrey !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.data_table .act_as_cell {
|
||||
border: 1px solid lightGrey;
|
||||
text-align: center;
|
||||
|
||||
.data_table {
|
||||
.act_as_cell {
|
||||
border: 1px solid lightGrey;
|
||||
text-align: center;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.act_as_row.labels {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
.data_table .act_as_cell,
|
||||
.list_table .act_as_cell,
|
||||
.totals_table .act_as_cell {
|
||||
word-wrap: break-word;
|
||||
|
||||
.totals_table {
|
||||
.act_as_cell {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.act_as_row.labels {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
.data_table .act_as_row.labels,
|
||||
.totals_table .act_as_row.labels {
|
||||
font-weight: bold;
|
||||
|
||||
.list_table .act_as_cell {
|
||||
&.first_column {
|
||||
padding-left: 0;
|
||||
/* border-left:1px solid lightGrey; uncomment to active column lines */
|
||||
}
|
||||
|
||||
/* border-right:1px solid lightGrey; uncomment to active column lines */
|
||||
}
|
||||
|
||||
.initial_balance .act_as_cell {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.account_title {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
|
||||
&.labels {
|
||||
background-color: #f0f0f0 !important;
|
||||
}
|
||||
}
|
||||
.account_title.labels {
|
||||
background-color: #f0f0f0 !important;
|
||||
}
|
||||
.act_as_cell.amount {
|
||||
word-wrap: normal;
|
||||
text-align: right;
|
||||
}
|
||||
.act_as_cell.left {
|
||||
text-align: left;
|
||||
}
|
||||
.act_as_cell.right {
|
||||
text-align: right;
|
||||
}
|
||||
/*.list_table .act_as_cell {*/
|
||||
/* border-right:1px solid lightGrey; uncomment to active column lines */
|
||||
/*}*/
|
||||
.list_table .act_as_cell.first_column {
|
||||
padding-left: 0px;
|
||||
/* border-left:1px solid lightGrey; uncomment to active column lines */
|
||||
|
||||
.act_as_cell {
|
||||
&.amount {
|
||||
word-wrap: normal;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
&.left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&.right {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.overflow_ellipsis {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.custom_footer {
|
||||
font-size: 7px !important;
|
||||
}
|
||||
|
||||
.page_break {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
@@ -110,7 +143,6 @@ a {
|
||||
.o_account_financial_reports_page {
|
||||
padding-top: 10px;
|
||||
width: 90%;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin: 0 auto;
|
||||
font-family: Helvetica, Arial;
|
||||
}
|
||||
10
account_financial_report/static/src/scss/report_html.scss
Normal file
10
account_financial_report/static/src/scss/report_html.scss
Normal file
@@ -0,0 +1,10 @@
|
||||
// Styles of HTML report
|
||||
.account_title {
|
||||
span {
|
||||
font-size: 1rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.act_as_cell {
|
||||
font-size: 0.9rem !important;
|
||||
}
|
||||
Reference in New Issue
Block a user