Skip to content

Commit

Permalink
Merge pull request #645 from OCA/16.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/account-reconcile (16.0)
  • Loading branch information
bt-admin authored Sep 27, 2024
2 parents 8478802 + 1192154 commit 6588318
Show file tree
Hide file tree
Showing 17 changed files with 94 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ addon | version | maintainers | summary
[account_move_reconcile_forbid_cancel](account_move_reconcile_forbid_cancel/) | 16.0.1.0.1 | | Account Move Reconcile Forbid Cancel
[account_move_so_import](account_move_so_import/) | 16.0.1.0.0 | | Journal Entry Sale Order completion
[account_reconcile_oca](account_reconcile_oca/) | 16.0.2.0.5 | [![etobella](https://github.com/etobella.png?size=30px)](https://github.com/etobella) | Reconcile addons for Odoo CE accounting
[account_statement_base](account_statement_base/) | 16.0.1.6.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Base module for Bank Statements
[account_statement_base](account_statement_base/) | 16.0.1.8.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Base module for Bank Statements
[base_transaction_id](base_transaction_id/) | 16.0.1.0.0 | | Base transaction ID for financial institutes

[//]: # (end addons)
Expand Down
4 changes: 2 additions & 2 deletions account_reconcile_oca/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-09-06 15:06+0000\n"
"PO-Revision-Date: 2024-09-26 09:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
Expand Down Expand Up @@ -299,7 +299,7 @@ msgstr "È completo"
#. module: account_reconcile_oca
#: model:ir.model.fields,field_description:account_reconcile_oca.field_account_bank_statement_line__manual_in_currency
msgid "Is Manual in Currency?"
msgstr ""
msgstr "Il manuale è in valuta?"

#. module: account_reconcile_oca
#: model:ir.model.fields,field_description:account_reconcile_oca.field_account_account_reconcile__is_reconciled
Expand Down
2 changes: 1 addition & 1 deletion account_statement_base/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bank Statement Base
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:add218e8a660e7290236382de939a2d192daabe58b2e4d0fb4c11033efec1e5f
!! source digest: sha256:0a5bcebe2bb116d98b92fa34701f4b7b6111a85e82b6b2ee20a27d0dc87c1685
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
Expand Down
2 changes: 1 addition & 1 deletion account_statement_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Bank Statement Base",
"version": "16.0.1.6.0",
"version": "16.0.1.8.0",
"category": "Accounting",
"license": "LGPL-3",
"summary": "Base module for Bank Statements",
Expand Down
6 changes: 6 additions & 0 deletions account_statement_base/i18n/account_statement_base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ msgstr ""
"Plural-Forms: \n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr ""
Expand Down Expand Up @@ -60,6 +61,11 @@ msgstr ""
msgid "Open Journal Entry"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
msgid "Partner"
Expand Down
6 changes: 6 additions & 0 deletions account_statement_base/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ msgstr ""
"X-Generator: Weblate 4.17\n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr ""
Expand Down Expand Up @@ -63,6 +64,11 @@ msgstr "Notas"
msgid "Open Journal Entry"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
msgid "Partner"
Expand Down
6 changes: 6 additions & 0 deletions account_statement_base/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ msgstr ""
"X-Generator: Weblate 4.17\n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr ""
Expand Down Expand Up @@ -63,6 +64,11 @@ msgstr "Notes"
msgid "Open Journal Entry"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
msgid "Partner"
Expand Down
14 changes: 10 additions & 4 deletions account_statement_base/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,26 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-06-05 12:39+0000\n"
"PO-Revision-Date: 2024-09-26 09:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
"X-Generator: Weblate 5.6.2\n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr "Estratto conto bancario"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement_line
msgid "Bank Statement Line"
msgstr ""
msgstr "Riga estratto conto"

#. module: account_statement_base
#: model:ir.actions.act_window,name:account_statement_base.account_bank_statement_line_action
Expand Down Expand Up @@ -61,7 +62,12 @@ msgstr "Note"
#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_tree
msgid "Open Journal Entry"
msgstr ""
msgstr "Apri registrazione contabile"

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr "Apri righe estratto conto"

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
Expand Down
6 changes: 6 additions & 0 deletions account_statement_base/i18n/pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ msgstr ""
"X-Generator: Weblate 5.6.2\n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr "Extrato Bancário"
Expand Down Expand Up @@ -63,6 +64,11 @@ msgstr "Notas"
msgid "Open Journal Entry"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
msgid "Partner"
Expand Down
6 changes: 6 additions & 0 deletions account_statement_base/i18n/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ msgstr ""
"X-Generator: Weblate 4.17\n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr "Extrato bancário"
Expand Down Expand Up @@ -64,6 +65,11 @@ msgstr "Notas"
msgid "Open Journal Entry"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
msgid "Partner"
Expand Down
6 changes: 6 additions & 0 deletions account_statement_base/i18n/sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ msgstr ""
"X-Generator: Weblate 4.17\n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr "Kontoutdrag"
Expand Down Expand Up @@ -63,6 +64,11 @@ msgstr "Anteckningar"
msgid "Open Journal Entry"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
msgid "Partner"
Expand Down
6 changes: 6 additions & 0 deletions account_statement_base/i18n/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ msgstr ""
"X-Generator: Weblate 4.17\n"

#. module: account_statement_base
#: model:ir.model,name:account_statement_base.model_account_bank_statement
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_form
msgid "Bank Statement"
msgstr "Hesap Ektresi"
Expand Down Expand Up @@ -63,6 +64,11 @@ msgstr "Notlar"
msgid "Open Journal Entry"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.view_bank_statement_tree
msgid "Open Statement Lines"
msgstr ""

#. module: account_statement_base
#: model_terms:ir.ui.view,arch_db:account_statement_base.account_bank_statement_line_search
msgid "Partner"
Expand Down
1 change: 1 addition & 0 deletions account_statement_base/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from . import account_journal_dashboard
from . import account_bank_statement_line
from . import account_bank_statement
15 changes: 15 additions & 0 deletions account_statement_base/models/account_bank_statement.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from odoo import models


class AccountBankStatement(models.Model):
_inherit = "account.bank.statement"

def action_open_statement_lines(self):
self.ensure_one()
if not self:
return {}
action = self.env["ir.actions.act_window"]._for_xml_id(
"account_statement_base.account_bank_statement_line_action"
)
action.update({"domain": [("statement_id", "=", self.id)]})
return action
2 changes: 1 addition & 1 deletion account_statement_base/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Bank Statement Base</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:add218e8a660e7290236382de939a2d192daabe58b2e4d0fb4c11033efec1e5f
!! source digest: sha256:0a5bcebe2bb116d98b92fa34701f4b7b6111a85e82b6b2ee20a27d0dc87c1685
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-reconcile/tree/16.0/account_statement_base"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_statement_base"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<dl class="docutils">
Expand Down
19 changes: 19 additions & 0 deletions account_statement_base/views/account_bank_statement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,23 @@
<field name="view_mode">tree,form,pivot,graph</field>
</record>

<record id="view_bank_statement_tree" model="ir.ui.view">
<field name="name">account.bank.statement.tree</field>
<field name="model">account.bank.statement</field>
<field name="inherit_id" ref="account.view_bank_statement_tree" />
<field name="arch" type="xml">
<tree position="attributes">
<attribute name="editable">bottom</attribute>
</tree>
<field name="balance_end_real" position="after">
<button
name="action_open_statement_lines"
type="object"
title="Open Statement Lines"
icon="fa-folder-open-o"
/>
</field>
</field>
</record>

</odoo>
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<tree editable="top" multi_edit="1" decoration-muted="is_reconciled">
<field name="sequence" />
<field name="date" attrs="{'readonly': [('is_reconciled', '=', True)]}" />
<field name="move_id" optional="hide" />
<field name="move_id" optional="hide" required="0" />
<field
name="payment_ref"
attrs="{'readonly': [('is_reconciled', '=', True)]}"
Expand Down

0 comments on commit 6588318

Please sign in to comment.