Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Odoo / Google Spreadsheet connector  (Odoo -> Spreadsheet) (google_spreadsheet_export) #2600

Open
cuongnmtm opened this issue Apr 3, 2023 · 0 comments

Comments

@cuongnmtm
Copy link

Dependencies: base
License: AGPL
Python dependencies: gspread

Authorize by google service p12_json_key

Usage

  • Open general config setting and upload google service p12_json_key to authorize.
  • Create a new Odoo ir.export for a model.
  • Open the Google Spreadsheet Export menu and create a new record with re-use the above ir.export.

Technical Specifications

New model google.spreadsheet.export

  • name: char
  • model_id: m2o ir.model
  • ir_export_id: m2o ir.exports
  • domain: text, widget domain
  • sheet_name: char
  • document_url: char
  • ...

Reusing the native Odoo export function to get the data, then using the python package gspread to export data to google spreadsheet.

A daily cron to run the function.

On general config setting

Add a new section to upload p12_json_key to authorize (easily created and downloaded from google)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant