[IMP] mrp: App MRP --> Manufacturing (consistency between app and menu)

[IMP] website: better dialog when clicking on a menu in edit mode
	(less options is easier)
This commit is contained in:
Fabien Pinckaers
2016-08-19 16:11:03 -07:00
parent ffa998d64c
commit 2e9374d00a
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
{
'name': 'MRP',
'name': 'Manufacturing',
'version': '2.0',
'website': 'https://www.odoo.com/page/manufacturing',
'category': 'Manufacturing',
@@ -31,9 +31,8 @@ options.registry.menu_data = options.Class.extend({
title: _t("Confirmation"),
$content: $(core.qweb.render("website.leaving_current_page_edition")),
buttons: [
{text: _t("Continue") + " *", classes: "btn-primary", click: save_editor_then_go_to.bind(null, this.link)},
{text: _t("Continue & Edit") + " *", classes: "btn-primary", click: save_editor_then_go_to.bind(null, this.link + "?enable_editor=1")},
{text: _t("Edit the menu") + " *", classes: "btn-primary", click: function () {
{text: _t("Go to Link"), classes: "btn-primary", click: save_editor_then_go_to.bind(null, this.link)},
{text: _t("Edit the menu"), classes: "btn-primary", click: function () {
var self = this;
website.topBar.content_menu.edit_menu(function () {
return editor.editor_bar.save_without_reload();
@@ -23,7 +23,7 @@
</div>
<div t-name="website.leaving_current_page_edition">
<p>You are leaving the current page. What would you like to do ?</p>
<p class="text-muted">* Note that your current changes will be automatically saved.</p>
<p>What do you want to do?</p>
<p class="text-muted">Your current changes will be saved automatically.</p>
</div>
</templates>