feat: comment out broken bank reconciliation template and add gitignore file

This commit is contained in:
Suherdy Yacob 2026-04-29 15:17:28 +07:00
parent a9cdd6db9b
commit 7f75ce6871
2 changed files with 17 additions and 3 deletions

15
.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
# Python
*.py[cod]
__pycache__/
*.so
# Odoo
*.po~
*.pot~
# Editor / System
.DS_Store
.vscode/
*.swp
*.swo
*~

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<templates xml:space="preserve">
<!-- Extend Manual Operations panel to show Reference for non-liquidity lines and make it editable -->
<!-- Commented out because parent template is missing in Odoo 19
<t t-name="account_reconcile_reference.BankRecManualOperationsRef"
t-inherit="account_accountant.BankRecRecordNotebookManualOperations"
t-inherit-mode="extension">
@ -13,17 +14,15 @@
</div>
<div class="o_cell o_wrap_input flex-grow-1 flex-sm-grow-0" style="width: 100%; margin-bottom: 5px">
<div class="o_field_widget o_field_char">
<!-- Reset patch: keep non-liquidity Reference read-only -->
<CharField name="'ref'" record="line" readonly="true"/>
</div>
</div>
</div>
</xpath>
<!-- Also make the original liquidity 'Reference' editable -->
<!-- Use a simpler XPath to avoid quoting issues in attribute predicates -->
<xpath expr="//div[@name='reference']//CharField" position="attributes">
<attribute name="readonly">false</attribute>
</xpath>
</t>
-->
</templates>