Browse Source

Jan 17: [FIX] Bug Fixed 'base_accounting_kit'

pull/309/head
Cybrosys Technologies 3 months ago
parent
commit
c2d6a1d438
  1. 3
      base_accounting_kit/__manifest__.py
  2. 5
      base_accounting_kit/doc/RELEASE_NOTES.md
  3. 1
      base_accounting_kit/models/account_journal.py
  4. 24
      base_accounting_kit/views/account_journal_dashboard_view.xml

3
base_accounting_kit/__manifest__.py

@ -21,7 +21,7 @@
#############################################################################
{
'name': 'Odoo 17 Full Accounting Kit for Community',
'version': '17.0.1.0.4',
'version': '17.0.1.0.5',
'category': 'Accounting',
'summary': """Odoo 17 Accounting, Odoo 17 Accounting Reports, Odoo17 Accounting, Odoo Accounting, Odoo17 Financial Reports, Odoo17 Asset, Odoo17 Profit and Loss, PDC, Followups, Odoo17, Accounting, Odoo Apps, Reports""",
'description': """ Odoo 17 Accounting, The module used to manage the Full
@ -44,6 +44,7 @@
'data/multiple_invoice_data.xml',
'data/recurring_entry_cron.xml',
'data/account_pdc_data.xml',
'views/account_journal_dashboard_view.xml',
'views/reports_config_view.xml',
'views/accounting_menu.xml',
'views/account_group.xml',

5
base_accounting_kit/doc/RELEASE_NOTES.md

@ -24,3 +24,8 @@
#### Version 17.0.1.0.4
##### FIX
- Bug Fix-Resolved displaying payment badge when confirming the invoice.
#### 07.01.2025
#### Version 17.0.1.0.5
##### UPDT
- Removed the transactions and statements from bank journal in the account journal dashboard.

1
base_accounting_kit/models/account_journal.py

@ -35,6 +35,7 @@ class AccountJournal(models.Model):
# to this journal
bank_stmt = self.env['account.bank.statement'].search(
[('journal_id', 'in', self.ids)]).mapped('line_ids')
print("lines", bank_stmt)
return {
'type': 'ir.actions.client',
'tag': 'bank_statement_reconciliation_view',

24
base_accounting_kit/views/account_journal_dashboard_view.xml

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="account_journal_dashboard_kanban_view" model="ir.ui.view">
<field name="name">account.journal.dashboard.kanban</field>
<field name="model">account.journal</field>
<field name="inherit_id" ref="account.account_journal_dashboard_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@t-if=&quot;journal_type == 'bank'&quot;]" position="replace">
<div t-if="journal_type == 'bank'" name="bank_new_actions">
</div>
</xpath>
<xpath expr="//div[@t-if=&quot;['undefined', 'file_import'].includes(dashboard.bank_statements_source)&quot;]" position="replace">
<div t-if="['undefined', 'file_import'].includes(dashboard.bank_statements_source)"
name="bank_journal_transactions" class="w-100 d-flex" style="gap: 5px;">
</div>
</xpath>
<xpath expr="//div[@id='action_card_statements']" position="replace">
<div id="action_card_statements">
<a t-if="journal_type == 'cash'" role="menuitem" type="object" name="open_action_with_context" context="{'action_name': 'action_view_bank_statement_tree', 'search_default_journal': True}">Cash Registers</a>
</div>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save