2011-02-10 11:28:05 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2011-02-17 11:28:36 +00:00
|
|
|
<record model="ir.ui.view" id="view_synchronize_google_contact_import_form">
|
|
|
|
<field name="name">synchronize.base.form</field>
|
2011-06-13 12:52:21 +00:00
|
|
|
<field name="model">synchronize.google.import</field>
|
2011-02-17 11:28:36 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-15 12:33:48 +00:00
|
|
|
<form string="Import contacts from a google account" version="7.0">
|
2011-03-21 09:21:36 +00:00
|
|
|
<group colspan="4" col="4" width="430">
|
2011-05-10 12:56:12 +00:00
|
|
|
<field name="group_name" colspan="4"/>
|
2011-03-18 13:21:25 +00:00
|
|
|
<newline/>
|
2012-06-29 11:13:30 +00:00
|
|
|
<group colspan="4" col="4">
|
2012-04-24 06:05:32 +00:00
|
|
|
<separator string="Partner Status for this Group:" colspan="4"/>
|
2011-05-12 06:35:38 +00:00
|
|
|
<field name="customer" colspan="4"/>
|
|
|
|
<field name="supplier" colspan="4"/>
|
2011-03-18 13:21:25 +00:00
|
|
|
</group>
|
2011-02-21 17:29:35 +00:00
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button name="import_google" string="_Import Contacts" type="object" class="oe_highlight" />
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2011-02-21 17:29:35 +00:00
|
|
|
</form>
|
2011-02-17 11:28:36 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2011-05-12 06:35:38 +00:00
|
|
|
|
2011-06-07 07:23:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_synchronize_google_calendar_import_form">
|
|
|
|
<field name="name">synchronize.google.calendar.form</field>
|
2011-06-13 12:52:21 +00:00
|
|
|
<field name="model">synchronize.google.import</field>
|
2011-06-07 07:23:20 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-15 12:33:48 +00:00
|
|
|
<form string="Import Google Calendar Events" version="7.0">
|
2011-06-08 05:35:26 +00:00
|
|
|
<group colspan="4" col="4" width="320">
|
2011-06-07 07:23:20 +00:00
|
|
|
<field name="calendar_name" />
|
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button name="import_google" string="_Import Events" type="object" class="oe_highlight" />
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2011-06-07 07:23:20 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<!--
|
|
|
|
Login Action
|
|
|
|
-->
|
|
|
|
<record model="ir.actions.act_window" id="act_google_login_form">
|
|
|
|
<field name="name">Import Google Calendar</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
2011-06-15 11:51:46 +00:00
|
|
|
<field name="res_model">google.login</field>
|
2011-06-07 07:23:20 +00:00
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
2011-06-13 06:02:15 +00:00
|
|
|
<field name="context">{'calendar':True}</field>
|
2011-06-07 07:23:20 +00:00
|
|
|
<field name="view_id" ref="google_base_account.view_google_login_form" />
|
|
|
|
</record>
|
|
|
|
|
2011-05-27 11:47:35 +00:00
|
|
|
<record model="ir.actions.act_window" id="act_google_login_contact_form">
|
2011-06-07 07:23:20 +00:00
|
|
|
<field name="name">Import Google Contacts</field>
|
2011-02-28 12:38:47 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
2011-06-15 11:51:46 +00:00
|
|
|
<field name="res_model">google.login</field>
|
2011-02-28 12:38:47 +00:00
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
2011-06-13 06:02:15 +00:00
|
|
|
<field name="context">{'contact':True}</field>
|
2011-05-30 09:58:01 +00:00
|
|
|
<field name="view_id" ref="google_base_account.view_google_login_form" />
|
2011-02-28 12:38:47 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem id="menu_sync_contact"
|
2012-02-24 09:24:50 +00:00
|
|
|
parent="base.menu_import_crm"
|
2011-05-27 13:10:55 +00:00
|
|
|
action="act_google_login_contact_form"
|
2012-02-24 11:35:18 +00:00
|
|
|
sequence="5" />
|
2011-06-07 07:23:20 +00:00
|
|
|
|
|
|
|
<menuitem id="menu_sync_calendar"
|
2012-02-24 09:24:50 +00:00
|
|
|
parent="base.menu_import_crm"
|
2011-06-07 07:23:20 +00:00
|
|
|
action="act_google_login_form"
|
2012-02-24 11:35:18 +00:00
|
|
|
sequence="15" />
|
2011-06-07 07:23:20 +00:00
|
|
|
|
2011-02-10 11:28:05 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|