Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
7018 Prikazi

Hello, What is the exact syntax to create dynamic fields in a Google Doc text document. I would like to merge Company name, address and if possible contact name + some additional fixed text into a google doc template. Thanks

Avatar
Opusti
Best Answer

The standard way to do that is to first export some records, with the fields that concern you, to a CSV file, and then import that file into a gDocs spreadsheet. Row 1 of the new sheet will have the exact column titles you want for importing into OpenERP.

Then:

  1. Delete from rows 2 to the end
  2. Put in the fresh data as new rows
  3. Download as CSV
  4. Import back into OpenERP.

For step #2, I typically put the function; QUERY(data, query, headers), in cell A2 and have it pull in data from another sheet.

Avatar
Opusti

He's asking a different thing: He's trying to merge data from odoo to a google doc. There should be a syntax to replace variable: something like %(name)s inside the document. This syntax works in the title, but not inside the document's body. I could not find the answer yet.

Related Posts Odgovori Prikazi Aktivnost
1
mar. 15
8600
0
mar. 15
5168
1
mar. 15
9630
2
avg. 24
1904
3
mar. 24
5160