Skip to content

[18.0][MIG] document_url_google_drive: migration to 18.0 - #642

Open
ivs-cetmix wants to merge 2 commits into
18.0from
18.0-mig-document_url_google_drive
Open

ivs-cetmix wants to merge 2 commits into
18.0from
18.0-mig-document_url_google_drive

Conversation

@ivs-cetmix

Copy link
Copy Markdown
Member

Summary

  • Add document_url_google_drive on 18.0 (module existed on 16.0 only).
  • Extend document_url with Google Drive Picker integration in chatter.
  • Adapt settings and user profile fields for Odoo 18.

Test plan

  • pre-commit run --all-files
  • Install module with --test-enable and
    --test-tags=/document_url_google_drive (4 tests, 0 failures)
  • Manual: configure Google APIs, use Add GDrive link in chatter

Made with Cursor

Port the module from 16.0 and adapt it to Odoo 18 chatter, settings
views, and user profile fields so Google Drive URL attachments work
with document_url on 18.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
Opening the attachment box mounts the Google Picker. Odoo 18
has no user service, so useService("user") crashed the chatter.
Read the current user from @web/core/user instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants