odoo/addons/google_docs/google_docs_demo.xml

26 lines
871 B
XML
Raw Normal View History

<?xml version="1.0"?>
<openerp>
<data noupdate="1">
<!-- filter demo -->
<record id="filter_partner" model="ir.filters">
<field name="name">Supplier</field>
<field name="model_id">res.partner</field>
<field name="domain">[['supplier', '=', 1]]</field>
<field name="context">{'lang': 'en_US', 'tz': 'Europe/Brussels'}</field>
<field name="user_id" eval="False" />
</record>
<!-- template demo -->
<record id="template_partner" model="google.docs.config">
<field name="name">Supplier Docs</field>
<field name="model_id">res.partner</field>
<field name="filter_id" ref="filter_partner"/>
<field name="gdocs_template_url">https://docs.google.com/spreadsheet/ccc?key=0Ah2qnrLAoZmUdGRvdVdmS1VoSDctWk1kd18taGZ4ckE#gid=0</field>
<field name="name_template">%(name)s_%(model)s_%(filter)s_gdrive</field>
</record>
</data>
</openerp>