Skip to content

[17.0][FIX] account_reconcile_oca: KeyError on data - #795

Merged
OCA-git-bot merged 1 commit into
OCA:17.0from
Tecnativa:17.0-fix-account_reconcile_oca-fix_keyerror_data
Feb 5, 2025
Merged

[17.0][FIX] account_reconcile_oca: KeyError on data#795
OCA-git-bot merged 1 commit into
OCA:17.0from
Tecnativa:17.0-fix-account_reconcile_oca-fix_keyerror_data

Conversation

@victoralmau

Copy link
Copy Markdown
Member

FWP from 16.0: #777

I'm not quite sure if this is the proper solution to the below problem:

RPC_ERROR

  File "/home/ubuntu/odoo/auto/addons/account_reconcile_oca/models/account_bank_statement_line.py", line 456, in _compute_reconcile_data_info
    record.reconcile_data_info = record._default_reconcile_data(
  File "/home/ubuntu/odoo/auto/addons/account_reconcile_oca/models/account_bank_statement_line.py", line 570, in _default_reconcile_data
    self.reconcile_bank_line()
  File "/home/ubuntu/odoo/auto/addons/account_reconcile_oca/models/account_bank_statement_line.py", line 595, in reconcile_bank_line
    self._prepare_reconcile_line_data(self.reconcile_data_info["data"])
KeyError: 'data'

@Tecnativa

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza added this to the 17.0 milestone Feb 5, 2025

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'm not very convinced silencing this instead of getting the root problem, but if this avoids the problem and it's not reproducible anymore, let's go with it:

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-795-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 3e2ec4e into OCA:17.0 Feb 5, 2025
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 8060c54. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 17.0-fix-account_reconcile_oca-fix_keyerror_data branch February 5, 2025 19:18
BhaveshHeliconia pushed a commit to HeliconiaIO/account-reconcile that referenced this pull request May 9, 2025
Signed-off-by pedrobaeza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants