mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-18 03:32:03 +02:00
Upgrade l10n_ba_bank_unicredit, purchase_advance_payment fixes
🤖 assisted by claude
This commit is contained in:
parent
aefecb045d
commit
5f0082b0ee
3 changed files with 80 additions and 62 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Odoo 16 Accounting Financial Reports',
|
'name': 'Odoo 16 Accounting Financial Reports',
|
||||||
'version': '16.0.2.1.1',
|
'version': '16.0.2.2.0',
|
||||||
'category': 'Invoicing Management',
|
'category': 'Invoicing Management',
|
||||||
'description': 'Accounting Reports For Odoo 16, Accounting Financial Reports, '
|
'description': 'Accounting Reports For Odoo 16, Accounting Financial Reports, '
|
||||||
'Odoo 16 Financial Reports',
|
'Odoo 16 Financial Reports',
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,20 @@
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
|
<record id="paperformat_partner_ledger" model="report.paperformat">
|
||||||
|
<field name="name">Partner Ledger A4 Landscape</field>
|
||||||
|
<field name="default" eval="False"/>
|
||||||
|
<field name="format">A4</field>
|
||||||
|
<field name="orientation">Landscape</field>
|
||||||
|
<field name="margin_top">25</field>
|
||||||
|
<field name="margin_bottom">10</field>
|
||||||
|
<field name="margin_left">7</field>
|
||||||
|
<field name="margin_right">7</field>
|
||||||
|
<field name="header_line" eval="False"/>
|
||||||
|
<field name="header_spacing">10</field>
|
||||||
|
<field name="disable_shrinking" eval="True"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
<record id="action_report_general_ledger" model="ir.actions.report">
|
<record id="action_report_general_ledger" model="ir.actions.report">
|
||||||
<field name="name">General Ledger</field>
|
<field name="name">General Ledger</field>
|
||||||
<field name="model">account.report.general.ledger</field>
|
<field name="model">account.report.general.ledger</field>
|
||||||
|
|
@ -17,6 +31,7 @@
|
||||||
<field name="report_name">accounting_pdf_reports.report_partnerledger</field>
|
<field name="report_name">accounting_pdf_reports.report_partnerledger</field>
|
||||||
<field name="report_file">accounting_pdf_reports.report_partnerledger</field>
|
<field name="report_file">accounting_pdf_reports.report_partnerledger</field>
|
||||||
<field name="print_report_name">object._get_report_base_filename()</field>
|
<field name="print_report_name">object._get_report_base_filename()</field>
|
||||||
|
<field name="paperformat_id" ref="paperformat_partner_ledger"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,74 +4,77 @@
|
||||||
<template id="report_partnerledger">
|
<template id="report_partnerledger">
|
||||||
<t t-call="web.html_container">
|
<t t-call="web.html_container">
|
||||||
<t t-call="web.internal_layout">
|
<t t-call="web.internal_layout">
|
||||||
<t t-set="data_report_margin_top" t-value="12"/>
|
<style>
|
||||||
<t t-set="data_report_header_spacing" t-value="9"/>
|
.col-amount {
|
||||||
<t t-set="data_report_dpi" t-value="110"/>
|
width: 120px;
|
||||||
<div class="page">
|
min-width: 120px;
|
||||||
<style>
|
text-align: right;
|
||||||
.col-amount {
|
}
|
||||||
width: 120px;
|
</style>
|
||||||
min-width: 120px;
|
<t t-set="currency_symbol" t-value="res_company.currency_id.symbol"/>
|
||||||
text-align: right;
|
<t t-foreach="docs" t-as="o">
|
||||||
}
|
<div class="page" t-att-style="'page-break-before: always;' if not o_first else ''">
|
||||||
</style>
|
<h5 style="margin-top: 4px;"><strong>Kartica partnera: <t t-esc="o.name"/></strong></h5>
|
||||||
<h2>Kartica partnera</h2>
|
<div class="row">
|
||||||
<div class="row">
|
<div class="col-3">
|
||||||
<div class="col-3">
|
<strong>Preduzeće:</strong>
|
||||||
<strong>Tvrtka:</strong>
|
<p t-esc="res_company.name"/>
|
||||||
<p t-esc="res_company.name"/>
|
</div>
|
||||||
|
<div class="col-3">
|
||||||
|
<strong>Partner:</strong>
|
||||||
|
<p>
|
||||||
|
<t t-if="o.ref"><t t-esc="o.ref"/> - </t>
|
||||||
|
<t t-esc="o.name"/>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-3">
|
||||||
|
<t t-if="data['form']['date_from']">
|
||||||
|
<strong>Datum od:</strong>
|
||||||
|
<span t-esc="data['form']['date_from']" t-options="{'widget': 'date'}"/>
|
||||||
|
<br/>
|
||||||
|
</t>
|
||||||
|
<t t-if="data['form']['date_to']">
|
||||||
|
<strong>Datum do:</strong>
|
||||||
|
<span t-esc="data['form']['date_to']" t-options="{'widget': 'date'}"/>
|
||||||
|
</t>
|
||||||
|
</div>
|
||||||
|
<div class="col-3">
|
||||||
|
<strong>Transakcije:</strong>
|
||||||
|
<p t-if="data['form']['target_move'] == 'all'">Sve proknjižene stavke</p>
|
||||||
|
<p t-if="data['form']['target_move'] == 'posted'">Samo proknjižene stavke</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-3">
|
|
||||||
<t t-if="data['form']['date_from']">
|
|
||||||
<strong>Datum od:</strong>
|
|
||||||
<span t-esc="data['form']['date_from']" t-options="{'widget': 'date'}"/>
|
|
||||||
<br/>
|
|
||||||
</t>
|
|
||||||
<t t-if="data['form']['date_to']">
|
|
||||||
<strong>Datum do:</strong>
|
|
||||||
<span t-esc="data['form']['date_to']" t-options="{'widget': 'date'}"/>
|
|
||||||
</t>
|
|
||||||
</div>
|
|
||||||
<div class="col-3">
|
|
||||||
<strong>Transakcije:</strong>
|
|
||||||
<p t-if="data['form']['target_move'] == 'all'">Sve proknjižene stavke</p>
|
|
||||||
<p t-if="data['form']['target_move'] == 'posted'">Samo proknjižene stavke</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<t t-set="currency_symbol" t-value="res_company.currency_id.symbol"/>
|
<table class="table table-sm table-reports" style="margin-top: 2px;">
|
||||||
<table class="table table-sm table-reports">
|
<thead>
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Datum</th>
|
|
||||||
<th>ŽURN</th>
|
|
||||||
<th>Naziv konta</th>
|
|
||||||
<th>Opis</th>
|
|
||||||
<th class="col-amount">Duguje (<t t-esc="currency_symbol"/>)</th>
|
|
||||||
<th class="col-amount">Potražuje (<t t-esc="currency_symbol"/>)</th>
|
|
||||||
<th class="col-amount">Saldo (<t t-esc="currency_symbol"/>)</th>
|
|
||||||
<th class="col-amount" t-if="data['form']['amount_currency']">Valuta</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<t t-foreach="docs" t-as="o">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>Datum</th>
|
||||||
|
<th>ŽURN</th>
|
||||||
|
<th>Naziv konta</th>
|
||||||
|
<th>Opis</th>
|
||||||
|
<th class="col-amount">Duguje (<t t-esc="currency_symbol"/>)</th>
|
||||||
|
<th class="col-amount">Potražuje (<t t-esc="currency_symbol"/>)</th>
|
||||||
|
<th class="col-amount">Saldo (<t t-esc="currency_symbol"/>)</th>
|
||||||
|
<th class="col-amount" t-if="data['form']['amount_currency']">Valuta</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr class="font-weight-bold" style="background-color: #fff9e6;">
|
||||||
<td colspan="4">
|
<td colspan="4">
|
||||||
<strong t-esc="o.ref"/>
|
<t t-if="o.ref"><t t-esc="o.ref"/> - </t>
|
||||||
-
|
<t t-esc="o.name"/>
|
||||||
<strong t-esc="o.name"/>
|
|
||||||
</td>
|
</td>
|
||||||
<td class="col-amount">
|
<td class="col-amount">
|
||||||
<strong t-esc="sum_partner(data, o, 'debit')"
|
<t t-esc="sum_partner(data, o, 'debit')"
|
||||||
t-options="{'widget': 'float', 'precision': 2}"/>
|
t-options="{'widget': 'float', 'precision': 2}"/>
|
||||||
</td>
|
</td>
|
||||||
<td class="col-amount">
|
<td class="col-amount">
|
||||||
<strong t-esc="sum_partner(data, o, 'credit')"
|
<t t-esc="sum_partner(data, o, 'credit')"
|
||||||
t-options="{'widget': 'float', 'precision': 2}"/>
|
t-options="{'widget': 'float', 'precision': 2}"/>
|
||||||
</td>
|
</td>
|
||||||
<td class="col-amount">
|
<td class="col-amount">
|
||||||
<strong t-esc="sum_partner(data, o, 'debit - credit')"
|
<t t-esc="sum_partner(data, o, 'debit - credit')"
|
||||||
t-options="{'widget': 'float', 'precision': 2}"/>
|
t-options="{'widget': 'float', 'precision': 2}"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr t-foreach="lines(data, o)" t-as="line">
|
<tr t-foreach="lines(data, o)" t-as="line">
|
||||||
|
|
@ -107,9 +110,9 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</t>
|
</table>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue