Skip to content

[18.0][MIG] rest_log#509

Merged
OCA-git-bot merged 61 commits into
OCA:18.0from
acsone:18.0-mig-rest_log-hda
Jun 5, 2025
Merged

[18.0][MIG] rest_log#509
OCA-git-bot merged 61 commits into
OCA:18.0from
acsone:18.0-mig-rest_log-hda

Conversation

@glitchov

Copy link
Copy Markdown
Contributor

Migration from 16.0

@glitchov glitchov force-pushed the 18.0-mig-rest_log-hda branch 9 times, most recently from 9b70b9e to 5605139 Compare March 18, 2025 16:14
@lmignon

lmignon commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

/ocabot migration rest_log

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Apr 10, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Apr 10, 2025
18 tasks
@lmignon

lmignon commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

@glitchov Thank you for the migration. Can you fix the test plz?

@lmignon

lmignon commented May 14, 2025

Copy link
Copy Markdown
Contributor

ping @glitchov
Could you also include #520

nans and others added 18 commits June 5, 2025 13:00
Some endpoints will not return a dict as expected by the ``_dispatch_with_db_logging`` method (and the other methods called within), but an object of type ``odoo.http.Response``.
When that happens, the instance fails to handle it while creating logs (ie: tries to call ``json.dumps()`` on such object, which is not allowed).
This patch should fix the issue.
This way we can hook an manipulate data w/out having to decode from JSON back and forth.
Currently translated at 100.0% (41 of 41 strings)

Translation: rest-framework-16.0/rest-framework-16.0-rest_log
Translate-URL: https://translation.odoo-community.org/projects/rest-framework-16-0/rest-framework-16-0-rest_log/it/
Currently translated at 100.0% (41 of 41 strings)

Translation: rest-framework-16.0/rest-framework-16.0-rest_log
Translate-URL: https://translation.odoo-community.org/projects/rest-framework-16-0/rest-framework-16-0-rest_log/it/
@lmignon lmignon force-pushed the 18.0-mig-rest_log-hda branch from 5605139 to 0a2874f Compare June 5, 2025 11:03
glitchov and others added 2 commits June 5, 2025 13:05
In case of a retryable error, the initial error must bubble up to the retrying mechanism. If this kind of error is wrapped into another one, the retrying mechanism no more works
@lmignon lmignon force-pushed the 18.0-mig-rest_log-hda branch from 0a2874f to 9cd7d4d Compare June 5, 2025 11:05
@lmignon

lmignon commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-509-by-lmignon-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit a609d72 into OCA:18.0 Jun 5, 2025
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@lmignon lmignon deleted the 18.0-mig-rest_log-hda branch June 5, 2025 11:12
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.

10 participants