Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
16433 Widoki

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. 

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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, ...

Awatar
Odrzuć

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?

Powiązane posty Odpowiedzi Widoki Czynność
0
lip 21
2397
2
sty 24
7378
1
wrz 21
4307
1
kwi 25
7251
0
mar 25
1157