How to use Google Spreadsheet in Addition to my Data?

Create custom dashboards in Google Spreadsheet that retrieves data directly from Odoo using spreadsheet formula. You can use it to create sales commission plans, budgets, project forecasts, etc. Formulas are written in Python but programming skills are not required.


From the General Settings, active Google Drive and Google Spreadsheet. The options Authorization Code and Get Authorization Code are now available.

odoo user documentation

Now, link your Google account with Odoo going to Get Authorization Code ‣ select your Google account ‣ enter your password ‣ copy the code ‣ paste it into the Authorization Code field.

Create a new Spreadsheet

From the CRM app, for example, go to Favorites and click on Add to Google Spreadsheet.

odoo user documentation

A new spreadsheet will be automatically created in your Google Drive.

Link a Spreadsheet with Odoo

From this new file, configure your database.
Go to Odoo ‣ Server Settings ‣ Database Name ‣ Username ‣ Password.

odoo user documentation


You have 2 different formulas of using Google Spreadsheet in Odoo: retrieve data and retrieve grouped sums.


The theoretical formula is = oe_browse (table;columns;filters;orderby:limit). Used it if you want to display the information without grouping it (e.g.: each sales order in the database).
Find some the arguments in the table below.

odoo user documentation


The theoretical formula is = oe_read_group (table;columns;group_by;filters;orderby:limit). Use it when you want to display a sum of data (e.g.: total invoiced).
Find some arguments in the table below.

odoo user documentation

other uses

Mix Odoo data with spreadsheet data, add traditional formulas, and create Dynamic Tabled and Graphs.

odoo partner