forked from nicolas-petit/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] website_seo_redirection: Upgrade to v9
* Move menu to Technical settings, adjust ReadMe to compensate * Upgrade JS api * Switch openerp & data tags for odoo tags * Raise version
- Loading branch information
Showing
6 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,8 @@ want a fixed and beautiful URL for it. That entry is posted in | |
``https://example.com/blog/our-news-1/post/amazing-post-23``, but you want it | ||
at ``https://example.com/amazing``. You need to: | ||
|
||
#. Go to *Settings > Configuration > SEO Redirections > Create*. | ||
#. Enable Developer Mode | ||
#. Go to *Settings > Technical > SEO Redirections > Create*. | ||
#. Set ``/blog/our-news-1/post/amazing-post-23`` as *Original URL*. | ||
#. Set ``/amazing`` as *Redirected URL*. | ||
|
||
|
@@ -26,7 +27,7 @@ the URL you wanted. | |
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/186/8.0 | ||
:target: https://runbot.odoo-community.org/runbot/186/9.0 | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
@@ -56,6 +57,7 @@ Contributors | |
------------ | ||
|
||
* Jairo Llopis <[email protected]> | ||
* Dave Lasley <[email protected]> | ||
|
||
Maintainer | ||
---------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ | |
<!-- © 2016 Jairo Llopis <[email protected]> | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). --> | ||
|
||
<openerp> | ||
<data> | ||
<odoo> | ||
|
||
<template id="sample_page" page="True"> | ||
<t t-call="website.layout"> | ||
|
@@ -48,5 +47,4 @@ | |
<field name="destination">/seo/sample</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ | |
<!-- © 2016 Jairo Llopis <[email protected]> | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). --> | ||
|
||
<openerp> | ||
<data> | ||
<odoo> | ||
|
||
<template id="assets_editor" inherit_id="website.assets_editor"> | ||
<xpath expr="."> | ||
|
@@ -12,5 +11,4 @@ | |
</xpath> | ||
</template> | ||
|
||
</data> | ||
</openerp> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ | |
<!-- © 2016 Jairo Llopis <[email protected]> | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). --> | ||
|
||
<openerp> | ||
<data> | ||
<odoo> | ||
|
||
<record id="website_seo_redirection_form_view" model="ir.ui.view"> | ||
<field name="name">Website SEO Redirection Form</field> | ||
|
@@ -51,7 +50,6 @@ | |
id="website_seo_redirection_menu" | ||
action="website_seo_redirection_action_open" | ||
groups="base.group_website_designer" | ||
parent="base.menu_config"/> | ||
parent="base.menu_custom"/> | ||
|
||
</data> | ||
</openerp> | ||
</odoo> |