diff --git a/base_accounting_kit/__manifest__.py b/base_accounting_kit/__manifest__.py index 21d77b0db..3003e8e68 100644 --- a/base_accounting_kit/__manifest__.py +++ b/base_accounting_kit/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'Odoo 14 Full Accounting Kit', - 'version': '14.0.3.11.9', + 'version': '14.0.3.11.10', 'category': 'Accounting', 'live_test_url': 'https://www.youtube.com/watch?v=peAp2Tx_XIs', 'summary': """ Asset and Budget Management, diff --git a/base_accounting_kit/doc/changelog.md b/base_accounting_kit/doc/changelog.md index abaf93cb3..111d030a6 100644 --- a/base_accounting_kit/doc/changelog.md +++ b/base_accounting_kit/doc/changelog.md @@ -76,3 +76,8 @@ - 2 * Dashboard Issue - Report Configuration Sequence +#### 17.06.2021 +#### Version 14.0.3.11.10 +#### FIX +- Invalid field 'post_at' in Journal - issue fixed + diff --git a/base_accounting_kit/models/payment_matching.py b/base_accounting_kit/models/payment_matching.py index f7039bbb7..31a491261 100644 --- a/base_accounting_kit/models/payment_matching.py +++ b/base_accounting_kit/models/payment_matching.py @@ -1062,7 +1062,8 @@ class AccountBankStatementLine(models.Model): ) aml_rec.with_context(check_move_validity=False).write({"statement_line_id": self.id}) counterpart_moves = counterpart_moves | aml_rec.move_id - if aml_rec.journal_id.post_at == "bank_rec" and aml_rec.payment_id and aml_rec.move_id.state == "draft": + # Update + if aml_rec.payment_id and aml_rec.move_id.state == "draft": # In case the journal is set to only post payments when performing bank #reconciliation, we modify its date and post it. aml_rec.move_id.date = self.date