Initial commit: Odoo 18.0-20251222 extra-addons
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled

This commit is contained in:
tocmo0nlord
2026-03-13 20:43:25 +00:00
parent 36e847a7df
commit adbe430761
9472 changed files with 1265727 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2014-2022 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __manifest__.py
-->
<odoo>
<record id="report_account_check_deposit" model="ir.actions.report">
<field name="name">Check Deposit</field>
<field name="model">account.check.deposit</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">account_check_deposit.report_checkdeposit</field>
<field name="report_file">account_check_deposit.report_checkdeposit</field>
<field
name="print_report_name"
>'check_deposit-%s%s' % (object.name, object.state == 'draft' and '-draft' or '')</field>
<field name="binding_model_id" ref="model_account_check_deposit" />
<field name="binding_type">report</field>
</record>
</odoo>

View File

@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2014-2022 Akretion France (www.akretion.com)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __manifest__.py
-->
<odoo>
<template id="report_checkdeposit">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="web.external_layout">
<div class="page">
<h1>Check Deposit n°<span t-field="o.name" /></h1>
<h3>Bank:</h3>
<p>
<span
t-field="o.bank_journal_id.bank_account_id.bank_id.name"
/>
<br />
<span
t-field="o.bank_journal_id.bank_account_id.bank_id.street"
/>
<br />
<span
t-field="o.bank_journal_id.bank_account_id.bank_id.zip"
/>
<span
t-field="o.bank_journal_id.bank_account_id.bank_id.city"
/>
</p>
<h3>Beneficiary:</h3>
<div
t-field="o.company_id.partner_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone", "email"], "no_marker": true, "phone_icons": True}'
/>
<p>
<b>Bank Account Number to Credit:</b>
<span
t-field="o.bank_journal_id.bank_account_id.acc_number"
/>
</p>
<p>
<b>Check Currency:</b>
<span t-field="o.currency_id.name" />
</p>
<p>
<b>Date:</b>
<span t-field="o.deposit_date" />
</p>
<p>
<b>Number of checks:</b>
<span t-field="o.check_count" />
</p>
<h3>List of checks:</h3>
<table class="table table-condensed">
<thead>
<tr>
<th>Date</th>
<th class="text-start">Reference</th>
<th class="text-start">Debtor</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<t t-foreach="o.check_payment_ids" t-as="move_line">
<tr>
<td class="text-center">
<span t-field="move_line.date" />
</td>
<td>
<span t-field="move_line.ref" />
</td>
<td>
<span t-field="move_line.partner_id.name" />
</td>
<td class="text-end">
<t
t-if="o.currency_id == o.company_id.currency_id"
>
<span t-field="move_line.debit" />
</t>
<t
t-if="o.currency_id != o.company_id.currency_id"
>
<span
t-field="move_line.amount_currency"
/>
</t>
</td>
</tr>
</t>
<tr>
<td />
<td />
<td class="text-end">
<b>Total:</b>
</td>
<td class="text-end">
<b>
<span t-field="o.total_amount" />
</b>
</td>
</tr>
</tbody>
</table>
</div>
</t>
</t>
</t>
</template>
</odoo>