Skip to content

[BUG] google_calendar: Have perrmision error when tap sync  #81

@athanhoang

Description

@athanhoang

Impacted versions:
13.0: 210927
Steps to reproduce:

  1. From Odoo callendar, tap to Sync with Google
  2. Accept permission, syc to Google account
  3. Back to Odoo Callendar, tap a gain Sync with Google > OBS
    Current behavior:

Selection_005.png

Response: `{ "jsonrpc": "2.0", "id": 517522598, "error": { "code": 200, "message": "Odoo Server Error", "data": { "name": "odoo.exceptions.AccessError", "message": "Xin l\u1ed7i, b\u1ea1n kh\u00f4ng \u0111\u01b0\u1ee3c ph\u00e9p truy c\u1eadp v\u00e0o lo\u1ea1i t\u00e0i li\u1ec7u 'Danh b\u1ea1' (res.partner). Ho\u1ea1t \u0111\u1ed9ng n\u00e0y \u0111\u01b0\u1ee3c ph\u00e9p cho nh\u1eefng nh\u00f3m sau:\n\t- Extra Rights/Contact Creation\n\t- Inventory/Administrator\n\t- Purchase/Administrator\n\t- Purchase/Administrator\n\t- Recruitment/Officer\n\t- Sales/Administrator\n\t- Sales/Administrator\n\t- Sales/User: Own Documents Only - (Ho\u1ea1t \u0111\u1ed9ng: create, Ng\u01b0\u1eddi d\u00f9ng: 8968)\nNone", "arguments": [ "Xin l\u1ed7i, b\u1ea1n kh\u00f4ng \u0111\u01b0\u1ee3c ph\u00e9p truy c\u1eadp v\u00e0o lo\u1ea1i t\u00e0i li\u1ec7u 'Danh b\u1ea1' (res.partner). Ho\u1ea1t \u0111\u1ed9ng n\u00e0y \u0111\u01b0\u1ee3c ph\u00e9p cho nh\u1eefng nh\u00f3m sau:\n\t- Extra Rights/Contact Creation\n\t- Inventory/Administrator\n\t- Purchase/Administrator\n\t- Purchase/Administrator\n\t- Recruitment/Officer\n\t- Sales/Administrator\n\t- Sales/Administrator\n\t- Sales/User: Own Documents Only - (Ho\u1ea1t \u0111\u1ed9ng: create, Ng\u01b0\u1eddi d\u00f9ng: 8968)", null ], "exception_type": "access_error", "context": {} } } }`

Expected behavior:

  1. Disable Sync to Google if Callendar has been synched before
    or
  2. Appear message: Calendar has been synced
    Video/Screenshot link (optional):
    None
    Support ticket number submitted via odoo.com/help (optional):
    None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions