Skip to content

[17.0][FIX] account_reconcile_oca: Replace name_get() to delete the warning log - #804

Merged
OCA-git-bot merged 2 commits into
OCA:17.0from
Tecnativa:17.0-fix-account_reconcile_oca-name_get
Feb 20, 2025
Merged

[17.0][FIX] account_reconcile_oca: Replace name_get() to delete the warning log#804
OCA-git-bot merged 2 commits into
OCA:17.0from
Tecnativa:17.0-fix-account_reconcile_oca-name_get

Conversation

@victoralmau

Copy link
Copy Markdown
Member

Changes done:

Replace name_get() to delete the warning log
WARNING prod py.warnings: /opt/odoo/auto/addons/account_reconcile_oca/models/account_bank_statement_line.py:616: DeprecationWarning: Since 17.0, deprecated method, read display_name instead

Set the appropriate value for partner_id to avoid warning log
WARNING prod py.warnings: /opt/odoo/auto/addons/account/models/account_move.py:4651: UserWarning: unsupported operand type(s) for "==": 'res.partner()' == '403'

@Tecnativa

… log

WARNING prod py.warnings: /opt/odoo/auto/addons/account_reconcile_oca/models/account_bank_statement_line.py:616: DeprecationWarning: Since 17.0, deprecated method, read display_name instead
… to avoid warning log

WARNING prod py.warnings: /opt/odoo/auto/addons/account/models/account_move.py:4651: UserWarning: unsupported operand type(s) for "==": 'res.partner()' == '403'
@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 20, 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.

Straight-forward one.

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-804-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 01f3596 into OCA:17.0 Feb 20, 2025
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@pedrobaeza
pedrobaeza deleted the 17.0-fix-account_reconcile_oca-name_get branch February 20, 2025 09:31
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.

3 participants