[FIX] Restore tutorial on module install
bzr revid: ddm@openerp.com-20131212095950-3675vfd0tjpzlsug
This commit is contained in:
parent
8fe49cf3ca
commit
64794a8c3b
|
@ -72,7 +72,7 @@
|
|||
</record>
|
||||
<record id="action_website_tutorial" model="ir.actions.act_url">
|
||||
<field name="name">Website With Tutorial</field>
|
||||
<field name="url">/?banner-tutorial=true</field>
|
||||
<field name="url">/?tutorial.banner=true</field>
|
||||
<field name="target">self</field>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -264,7 +264,6 @@
|
|||
return result;
|
||||
},
|
||||
start: function () {
|
||||
|
||||
$('.tour-backdrop').click(function (e) {
|
||||
e.stopImmediatePropagation();
|
||||
e.preventDefault();
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<record id="action_open_website" model="ir.actions.act_url">
|
||||
<field name="name">Website Home</field>
|
||||
<field name="target">self</field>
|
||||
<field name="url">/event?event-tutorial=true</field>
|
||||
<field name="url">/event?tutorial.event=true</field>
|
||||
</record>
|
||||
<record id="base.open_menu" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_open_website"/>
|
||||
|
|
|
@ -145,6 +145,13 @@
|
|||
content: "Click here to edit your event in the backend.",
|
||||
trigger: 'click',
|
||||
},
|
||||
{
|
||||
stepId: 'end-tutorial',
|
||||
title: "Thanks!",
|
||||
content: "This tutorial is finished. Congratulations on creating your first event.",
|
||||
template: self.popover({ end: "Close Tutorial" }),
|
||||
backdrop: true,
|
||||
},
|
||||
];
|
||||
return this._super();
|
||||
},
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<record id="action_open_website" model="ir.actions.act_url">
|
||||
<field name="name">Website Shop</field>
|
||||
<field name="target">self</field>
|
||||
<field name="url">/shop?shop-tutorial=true</field>
|
||||
<field name="url">/shop?tutorial.shop=true</field>
|
||||
</record>
|
||||
<record id="base.open_menu" model="ir.actions.todo">
|
||||
<field name="action_id" ref="action_open_website"/>
|
||||
|
|
Loading…
Reference in New Issue