Google Drive™ integration

google_drive
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYProductivity
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Thibault Delavallée, Aaron Bohy, Xavier-Do, Victor Feyens, Julien Mougenot, Hiral Bhavsar, Kevin Baptiste, Nam Dao
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to Odoo record.
============================================

This module allows you to integrate google documents to any of your Odoo record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
google_drive_auth_code_wizard google.drive.authorization.wizard res.config.settings form New
google_drive_config_view_search google.drive.config.view.search google.drive.config search New
res_config_settings_view_form res.config.settings.view.form.inherit.google.drive res.config.settings div Inherits base_setup.res_config_settings_view_form
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_kanban google.drive.config.kanban google.drive.config kanban New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (9)
  • active Boolean
    default=True args: 'Active'
  • filter_id Many2one → ir.filters
    domain="[('model_id', '=', model)]" args: 'ir.filters', 'Filter'
  • google_drive_client_id Char
    compute='_compute_client_id' args: 'Google Client'
  • google_drive_resource_id Char
    compute='_compute_ressource_id' args: 'Resource Id'
  • google_drive_template_url Char
    required=True args: 'Template URL'
  • model Char
    readonly=True related='model_id.model' args: 'Related Model'
  • model_id Many2one → ir.model
    ondelete='cascade' required=True args: 'ir.model', 'Model'
  • name Char
    required=True args: 'Template Name'
  • name_template Char
    default='Document %(name)s' help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s' required=True args: 'Google Drive Name Pattern'
Public methods (5)
  • copy_doc(self, res_id, template_id, name_gdocs, res_model)
    @api.model
  • get_access_token(self, scope=None)
    @api.model
  • get_google_drive_config(self, res_model, res_id)
    @api.model
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, res_id, template_id)
  • get_google_scope(self)

New fields (3)
  • google_drive_authorization_code Char
    config_parameter='google_drive_authorization_code' string='Authorization Code'
  • google_drive_uri Char
    compute='_compute_drive_uri' help='The URL to generate the authorization code from Google' string='URI'
  • is_google_drive_token_generated Boolean
    string='Refresh Token Generated'
Public methods (3)
  • action_setup_token(self)
  • confirm_setup_token(self)
  • get_values(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYProductivity
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Olivier Dony, Christophe Simonis, Aaron Bohy, Barad Mahendra, Yannick Tivisse, Adrian Torres, Xavier-Do, Julien Mougenot, Hiral Bhavsar, Kevin Baptiste
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to Odoo record.
============================================

This module allows you to integrate google documents to any of your Odoo record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
assets_backend google_drive assets ir.ui.view qweb Inherits web.assets_backend
google_drive_auth_code_wizard google.drive.authorization.wizard res.config.settings form New
google_drive_config_view_search google.drive.config.view.search google.drive.config search New
qunit_suite google_drive tests ir.ui.view qweb Inherits web.qunit_suite_tests
res_config_settings_view_form res.config.settings.view.form.inherit.google.drive res.config.settings div Inherits base_setup.res_config_settings_view_form
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_kanban google.drive.config.kanban google.drive.config kanban New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (9)
  • active Boolean
    default=True args: 'Active'
  • filter_id Many2one → ir.filters
    domain="[('model_id', '=', model)]" args: 'ir.filters', 'Filter'
  • google_drive_client_id Char
    compute='_compute_client_id' args: 'Google Client'
  • google_drive_resource_id Char
    compute='_compute_ressource_id' args: 'Resource Id'
  • google_drive_template_url Char
    required=True args: 'Template URL'
  • model Char
    readonly=True related='model_id.model' args: 'Related Model'
  • model_id Many2one → ir.model
    ondelete='cascade' required=True args: 'ir.model', 'Model'
  • name Char
    required=True args: 'Template Name'
  • name_template Char
    default='Document %(name)s' help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s' required=True args: 'Google Drive Name Pattern'
Public methods (5)
  • copy_doc(self, res_id, template_id, name_gdocs, res_model)
    @api.model
  • get_access_token(self, scope=None)
    @api.model
  • get_google_drive_config(self, res_model, res_id)
    @api.model
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, res_id, template_id)
  • get_google_scope(self)

New fields (3)
  • google_drive_authorization_code Char
    config_parameter='google_drive_authorization_code' string='Authorization Code'
  • google_drive_uri Char
    compute='_compute_drive_uri' help='The URL to generate the authorization code from Google' string='URI'
  • is_google_drive_token_generated Boolean
    string='Refresh Token Generated'
Public methods (3)
  • action_setup_token(self)
  • confirm_setup_token(self)
  • get_values(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/13.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYTools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Christophe Simonis, Xavier Morel, Aaron Bohy, Damien Bouvy, Yannick Tivisse, Adrian Torres, Xavier-Do, Hiral Bhavsar, Kevin Baptiste
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:06:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to Odoo record.
============================================

This module allows you to integrate google documents to any of your Odoo record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
assets_backend google_drive assets ir.ui.view qweb Inherits web.assets_backend
google_drive_auth_code_wizard google.drive.authorization.wizard res.config.settings form New
google_drive_config_view_search google.drive.config.view.search google.drive.config search New
qunit_suite google_drive tests ir.ui.view qweb Inherits web.qunit_suite
res_config_settings_view_form res.config.settings.view.form.inherit.google.drive res.config.settings div Inherits base_setup.res_config_settings_view_form
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_kanban google.drive.config.kanban google.drive.config kanban New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (9)
  • active Boolean
    default=True args: 'Active'
  • filter_id Many2one → ir.filters
    domain="[('model_id', '=', model)]" args: 'ir.filters', 'Filter'
  • google_drive_client_id Char
    compute='_compute_client_id' args: 'Google Client'
  • google_drive_resource_id Char
    compute='_compute_ressource_id' args: 'Resource Id'
  • google_drive_template_url Char
    required=True args: 'Template URL'
  • model Char
    readonly=True related='model_id.model' args: 'Related Model'
  • model_id Many2one → ir.model
    required=True args: 'ir.model', 'Model'
  • name Char
    required=True args: 'Template Name'
  • name_template Char
    default='Document %(name)s' help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s' required=True args: 'Google Drive Name Pattern'
Public methods (5)
  • copy_doc(self, res_id, template_id, name_gdocs, res_model)
    @api.model
  • get_access_token(self, scope=None)
    @api.model
  • get_google_drive_config(self, res_model, res_id)
    @api.model
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, res_id, template_id)
  • get_google_scope(self)

New fields (3)
  • google_drive_authorization_code Char
    config_parameter='google_drive_authorization_code' string='Authorization Code'
  • google_drive_uri Char
    compute='_compute_drive_uri' help='The URL to generate the authorization code from Google' string='URI'
  • is_google_drive_token_generated Boolean
    string='Refresh Token Generated'
Public methods (3)
  • action_setup_token(self)
  • confirm_setup_token(self)
  • get_values(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/12.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Thibault Delavallée, Christophe Simonis, Nicolas Martinelli, Nicolas Lempereur, Aaron Bohy, GitHub, Yannick Tivisse, Alexandre Kühn, qsm-odoo, Julien (juc) Castiaux, Alexandre Kühn, Xavier-Do, Hiral Bhavsar
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:57:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to Odoo record.
============================================

This module allows you to integrate google documents to any of your Odoo record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
assets_backend google_drive assets ir.ui.view qweb Inherits web.assets_backend
qunit_suite google_drive tests ir.ui.view qweb Inherits web.qunit_suite
res_config_settings_view_form res.config.settings.view.form.inherit.google.drive res.config.settings div Inherits base_setup.res_config_settings_view_form
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_kanban google.drive.config.kanban google.drive.config kanban New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (9)
  • active Boolean
    default=True args: 'Active'
  • filter_id Many2one → ir.filters
    domain="[('model_id', '=', model)]" args: 'ir.filters', 'Filter'
  • google_drive_client_id Char
    compute='_compute_client_id' args: 'Google Client'
  • google_drive_resource_id Char
    compute='_compute_ressource_id' args: 'Resource Id'
  • google_drive_template_url Char
    required=True args: 'Template URL'
  • model Char
    readonly=True related='model_id.model' args: 'Related Model'
  • model_id Many2one → ir.model
    ondelete='set null' required=True args: 'ir.model', 'Model'
  • name Char
    required=True args: 'Template Name'
  • name_template Char
    default='Document %(name)s' help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s' required=True args: 'Google Drive Name Pattern'
Public methods (5)
  • copy_doc(self, res_id, template_id, name_gdocs, res_model)
    @api.model
  • get_access_token(self, scope=None)
    @api.model
  • get_google_drive_config(self, res_model, res_id)
    @api.model
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, res_id, template_id)
    @api.multi
  • get_google_scope(self)

New fields (2)
  • google_drive_authorization_code Char
    config_parameter='google_drive_authorization_code' string='Authorization Code'
  • google_drive_uri Char
    compute='_compute_drive_uri' help='The URL to generate the authorization code from Google' string='URI'
Public methods (1)
  • set_values(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/11.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Christophe Simonis, Xavier Morel, Nicolas Martinelli, Aaron Bohy, GitHub, Lucas Perais (lpe), Yannick Tivisse, qsm-odoo, Odoo Online
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:53:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to Odoo record.
============================================

This module allows you to integrate google documents to any of your Odoo record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
assets_backend google_drive assets ir.ui.view qweb Inherits web.assets_backend
qunit_suite google_drive tests ir.ui.view qweb Inherits web.qunit_suite
res_config_settings_view_form res.config.settings.view.form.inherit.google.drive res.config.settings div Inherits base_setup.res_config_settings_view_form
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_kanban google.drive.config.kanban google.drive.config kanban New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (9)
  • active Boolean
    default=True args: 'Active'
  • filter_id Many2one → ir.filters
    domain="[('model_id', '=', model)]" args: 'ir.filters', 'Filter'
  • google_drive_client_id Char
    compute='_compute_client_id' args: 'Google Client'
  • google_drive_resource_id Char
    compute='_compute_ressource_id' args: 'Resource Id'
  • google_drive_template_url Char
    required=True args: 'Template URL'
  • model Char
    readonly=True related='model_id.model' args: 'Related Model'
  • model_id Many2one → ir.model
    ondelete='set null' required=True args: 'ir.model', 'Model'
  • name Char
    required=True args: 'Template Name'
  • name_template Char
    default='Document %(name)s' help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s' required=True args: 'Google Drive Name Pattern'
Public methods (5)
  • copy_doc(self, res_id, template_id, name_gdocs, res_model)
    @api.model
  • get_access_token(self, scope=None)
    @api.model
  • get_google_drive_config(self, res_model, res_id)
    @api.model
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, res_id, template_id)
    @api.multi
  • get_google_scope(self)

New fields (2)
  • google_drive_authorization_code Char
    string='Authorization Code'
  • google_drive_uri Char
    compute='_compute_drive_uri' help='The URL to generate the authorization code from Google' string='URI'
Public methods (2)
  • get_values(self)
    @api.model
  • set_values(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/10.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Fabien Pinckaers, Olivier Dony, Denis Ledoux, Christophe Simonis, Simon Lejeune, Jérome Maes, Julien Legros, qdp-odoo, Yannick Tivisse
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:50:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web_kanban
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to Odoo record.
============================================

This module allows you to integrate google documents to any of your Odoo record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
assets_backend google_drive assets ir.ui.view qweb Inherits web.assets_backend
inherited_google_view_general_configuration General Settings base.config.settings Inherits base_setup.view_general_configuration
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (2)
  • google_drive_authorization_code Char
    default=_default_google_drive_authorization_code string='Authorization Code'
  • google_drive_uri Char
    compute='_compute_drive_uri' help='The URL to generate the authorization code from Google' string='URI'
Public methods (1)
  • set_google_authorization_code(self)
    @api.multi

New fields (9)
  • active Boolean
    default=True args: 'Active'
  • filter_id Many2one → ir.filters
    domain="[('model_id', '=', model)]" args: 'ir.filters', 'Filter'
  • google_drive_client_id Char
    compute='_compute_client_id' args: 'Google Client'
  • google_drive_resource_id Char
    compute='_compute_ressource_id' args: 'Resource Id'
  • google_drive_template_url Char
    required=True args: 'Template URL'
  • model Char
    readonly=True related='model_id.model' args: 'Related Model'
  • model_id Many2one → ir.model
    ondelete='set null' required=True args: 'ir.model', 'Model'
  • name Char
    required=True args: 'Template Name'
  • name_template Char
    default='Document %(name)s' help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s' required=True args: 'Google Drive Name Pattern'
Public methods (5)
  • copy_doc(self, res_id, template_id, name_gdocs, res_model)
    @api.model
  • get_access_token(self, scope=None)
    @api.model
  • get_google_drive_config(self, res_model, res_id)
    @api.model
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, res_id, template_id)
    @api.multi
  • get_google_scope(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/9.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Christophe Matthieu, Martin Trigaux, Olivier Dony, Denis Ledoux, Christophe Simonis, Xavier Morel, Nicolas Martinelli, Richard Mathot, Géry Debongnie, Aaron Bohy, Yannick Tivisse, qsm-odoo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:48:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web_kanban
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to OpenERP record.
============================================

This module allows you to integrate google documents to any of your OpenERP record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
assets_backend google_drive assets ir.ui.view qweb Inherits web.assets_backend
inherited_google_view_general_configuration General Settings base.config.settings xpath Inherits base_setup.view_general_configuration
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • set_google_authorization_code(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (6)
  • copy_doc(self, cr, uid, res_id, template_id, name_gdocs, res_model, context=None)
  • get_access_token(self, cr, uid, scope=None, context=None)
  • get_google_drive_config(self, cr, uid, res_model, res_id, context=None)
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, cr, uid, config_id, res_id, template_id, context=None)
  • get_google_scope(self)
  • onchange_model_id(self, cr, uid, ids, model_id, context=None)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/8.0/google_drive
VERSION
VERSION 0.2
CATEGORY
CATEGORYTools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOpenERP SA
MAINTAINERS
MAINTAINERSOpenERP SA
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Fabien Pinckaers, Antony Lesuisse, Olivier Dony, Launchpad Translations on behalf of openerp, Denis Ledoux, Fabien Meghazi, Christophe Simonis, Nicolas Lempereur, Richard Mathot, jke-openerp, Jeremy Kersten, ssh-odoo, Denis Michiels
WEBSITE
WEBSITEhttps://www.odoo.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:45:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web_kanban
    - web
    - google_account
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate google document to OpenERP record.
============================================

This module allows you to integrate google documents to any of your OpenERP record quickly and easily using OAuth 2.0 for Installed Applications,
You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code"

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
assets_backend google_drive assets ir.ui.view qweb Inherits web.assets_backend
inherited_google_view_general_configuration General Settings base.config.settings xpath Inherits base_setup.view_general_configuration
view_google_drive_config_form google_drive.config.form google.drive.config form New
view_google_drive_config_tree google_drive.config.tree google.drive.config tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • set_google_authorization_code(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (6)
  • copy_doc(self, cr, uid, res_id, template_id, name_gdocs, res_model, context=None)
  • get_access_token(self, cr, uid, scope=None, context=None)
  • get_google_drive_config(self, cr, uid, res_model, res_id, context=None)
    Function called by the js, when no google doc are yet associated with a record, with the aim to create one. It will first seek for a google.docs.config associated with the model `res_model` to find out what's the template of google doc to copy (this is usefull if you want to start with a non-empty document, a type or a name different than the default values). If no config is associated with the `res_model`, then a blank text document with a default name is created. :param res_model: the object for which the google doc is created :param ids: the list of ids of the objects for which the google doc is created. This list is supposed to have a length of 1 element only (batch processing is not supported in the code, though nothing really prevent it) :return: the config id and config name
  • get_google_drive_url(self, cr, uid, config_id, res_id, template_id, context=None)
  • get_google_scope(self)
  • onchange_model_id(self, cr, uid, ids, model_id, context=None)