When doing a copy of a google drive spreadsheet (in google_drive.py's copy_doc method, using the following google API call https://developers.google.com/drive/v2/reference/files/copy). Google server return an error if we used the old spreadsheet KeyId. The new FileId is available in the AlternateLink and this commit updates it. closes #7660 opw-644889
13 lines
569 B
XML
13 lines
569 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="google_spreadsheet_template" model="google.drive.config">
|
|
<field name="name">Base Spreadsheet Template</field>
|
|
<field name="model_id" ref="base.model_res_partner"/>
|
|
<field name="google_drive_template_url">https://docs.google.com/spreadsheet/ccc?key=1KUlSSzZMzkEEzyroyZ2NerRt1RVCspkG9VQIh2V6dnM</field>
|
|
<field name="name_template">Reporting %(name)s</field>
|
|
<field name="active" eval="0" />
|
|
</record>
|
|
</data>
|
|
</openerp>
|