Skip to Content
Menu
This question has been flagged
2 Replies
16348 Rodiniai

Odoo has standard integration feature with Google Spreadsheet that can be activated. Some steps are needed to actually retrieve the data from Odoo to the Google spreadsheet. 


Keep in mind that the integration with Google Spreadsheet has nothing to do with the Odoo Spreadsheet feature from the Document app. These are two different features within Odoo. 

Portretas
Atmesti
Best Answer

You can simply use this Google Spreadsheet connector.
it is spreadsheet builtin connector and easy to setup
https://apps.odoo.com/apps/modules/18.0/spreadsheet_connector

Portretas
Atmesti
Autorius Best Answer

1. Activate Google Drive & Google Spreadsheet and add token to Google Drive. To be done in the general settings of your database. 
2. Create the first spreadsheet: Favorites > Add to Google Spreadsheet (Make sure that pop-ups are always allowed)
-> Filters created in Odoo will be included as domain in the formula you are going to export
-> Groupings have a different formula (so will not be taken over)
3. On the  spreadsheet:  go  to  Odoo tab > Settings > Continue > Select an account > Advanced Parameters > Access Odoo script > Allow (This will allow the script to  run ). 
4. On the  spreadsheet a gain: Odoo > Settings (Connect to the Odoo DB)
-> URL: Set the full URL but make sure there are no spaces and no / at the end
-> Set DB name: to find it, go to DB > debug mode > you will find the DB name in brackets just after your username
-> Username: email address of the user (make sure there are no spaces and that the user has access to the DB and module info you are exporting)
-> Password: Odoo DB password of that user
5. Copy-paste the formula somewhere else and reset it. Make sure you have enough space, otherwise it will not be calculated correctly.
6. Start adapting  the retrieved  data:  Add headers to the different columns yourself,  use conditional formatting for more clarity when analysing the data, ...

Portretas
Atmesti

Hi,

While I am following these steps, I get a Syntax error when I paste the formula at the end:

Formula: =oe_browse("stock.report";"reference operation_type product_id creation_date scheduled_date date_done cycle_time delay company_id state";"['&', ('picking_type_code', '!=', false), '&', ('state', '=', 'done'), ('picking_type_code', '=', 'outgoing')]")

Error: SyntaxError: Unexpected token '(', "["&", ("picking_"... is not valid JSON (line 86).

Is there any chance you can help me here?

Related Posts Replies Rodiniai Veikla
0
liep. 21
2344
2
saus. 24
7322
1
rugs. 21
4249
1
bal. 25
7098
0
kov. 25
1132