Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6964 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen

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.

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 15
8549
0
März 15
5124
1
März 15
9543
2
Aug. 24
1842
3
März 24
5102