mirror of
https://github.com/bringout/oca-payment.git
synced 2026-04-25 06:42:08 +02:00
Restructure: move packages from packages/ subdirectory to root
Flattened directory structure by moving payment packages from redundant packages/ subdirectory to the root level of oca-payment repository. Changes: - Moved odoo-bringout-oca-payment-* from packages/ to root - Updated CLAUDE.md to reflect new flat structure - Removed redundant packages/ directory 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
99c650f4f5
commit
7f7e88ab3d
202 changed files with 1 additions and 1 deletions
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template
|
||||
id="report_invoice_payment_mode"
|
||||
inherit_id="account.report_invoice_document"
|
||||
>
|
||||
<xpath expr="//span[@t-field='o.narration']/.." position="before">
|
||||
<p t-if="o.payment_mode_id.note">
|
||||
<strong>Payment Mode:</strong>
|
||||
<span t-field="o.payment_mode_id.note" />
|
||||
</p>
|
||||
<t t-if="o.payment_mode_id and o.payment_mode_id.show_bank_account != 'no'">
|
||||
<p t-foreach="o.partner_banks_to_show()" t-as="partner_bank">
|
||||
<strong>Bank Account:</strong>
|
||||
<t t-if="partner_bank.bank_id">
|
||||
<t
|
||||
t-esc="partner_bank.bank_id.name + ('' if not partner_bank.bank_id.bic else ' (' + partner_bank.bank_id.bic + ')')"
|
||||
/>
|
||||
</t>
|
||||
<t t-if="o.payment_mode_id.show_bank_account == 'full'">
|
||||
<span t-field="partner_bank.acc_number" />
|
||||
</t>
|
||||
<t t-elif="o.payment_mode_id.show_bank_account == 'first'">
|
||||
<span
|
||||
t-esc="partner_bank.acc_number[:o.payment_mode_id.show_bank_account_chars] + '*' * (len(partner_bank.acc_number) - o.payment_mode_id.show_bank_account_chars)"
|
||||
/>
|
||||
</t>
|
||||
<t t-elif="o.payment_mode_id.show_bank_account == 'last'">
|
||||
<span
|
||||
t-esc="'*' * (len(partner_bank.acc_number) - o.payment_mode_id.show_bank_account_chars) + partner_bank.acc_number[-o.payment_mode_id.show_bank_account_chars:]"
|
||||
/>
|
||||
</t>
|
||||
</p>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue