[MIG] [9.0] website_breadcrumb - #216
Conversation
|
Hey @khaeusler, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
|
Please sign the CLA and use the method explained on https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0 instead of modifying commits with your authorship. |
| while menu: | ||
| result.append(menu) | ||
| menu = menu.parent_id | ||
| return reversed(result) if revert else result |
There was a problem hiding this comment.
get all menu parents and include current if include_self is true and reverse the result in case revert is true
|
Hi @khaeusler , thanks for this contribution. Have you signed the CLA? |
|
yes |
|
I have test it and there is not breadcrum in http://3150711-216-e4d94a.runbot1.odoo-community.org/blog/our-blog-1 @pedrobaeza CLA is OK? @yajo could you take a look? |
|
i see the breadcrum here http://3150711-216-e4d94a.runbot1.odoo-community.org/ in the DB 3150711-216-e4d94a-all |
|
Hi @khaeusler , sorry. I mean that if you go to the blog there is not breadcrum, |
|
Could you please squash all your personal commits? Their messages seem somewhat meaningless and having a single one that adapts to v9 will make it easier to evaluate the v8-v9 diff. Thanks 😊 |
| =================== | ||
|
|
||
| This module allows you to have breadcrumbs in any page of your website. | ||
|
|
There was a problem hiding this comment.
If an URL is not present in a menu (as indicated in the Configuration section), no breadcrumbs will display.
Definitely worse than OCA/website-cms#1, but much smaller too.
|
|
||
| .. 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 |
| =================== | ||
|
|
||
| This module allows you to have breadcrumbs in any page of your website. | ||
|
|
There was a problem hiding this comment.
If an URL is not present in a menu (as indicated in the Configuration section), no breadcrumbs will display.
Definitely worse than OCA/website-cms#1, but much smaller too.
| :target: https://runbot.odoo-community.org/runbot/186/8.0 | ||
|
|
||
| .. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt | ||
| .. branch is "8.0" for example |
| <https://github.com/OCA/ | ||
| website/issues/new?body=module:%20 | ||
| website_breadcrumb%0Aversion:%20 | ||
| 8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
There was a problem hiding this comment.
Update this section to latest template.
| "name": "Website Breadcrumbs", | ||
| "summary": "Let you have breadcrumbs in website pages", | ||
| "version": "9.0.1.0.0", | ||
| "category": "Uncategorized", |
| <!-- © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis | ||
| License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> | ||
|
|
||
| <openerp> |
| <!-- © 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis | ||
| License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> | ||
|
|
||
| <openerp> |
| @@ -0,0 +1,95 @@ | |||
| .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | |||
| :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | |||
| :alt: License: AGPL-3 | |||
|
Hello, i don't understand, how can i approve the change requests. I have only the option "Comment". On the other options, i got these messages:
and
I had taken the commits one by one so that the history is preserved. |
|
You can't change that. People that have put that review should change it if they consider that this is correct now. |
|
Yes, when changes are requested, you have to make those changes so we can approve them.
Nope, it's your story that is to be squashed, then |
|
next try ;-) |
|
Why do you close it? |
|
close?? |
|
ups, wrong Button, sorry |
|
I think you have it mostly. You have to keep the commits that are not yours untouched, but squash those that are yours. Please review #216 (comment) again. |
|
what is wrong on this changeset? |
- increase the version from 8.0.1.0.0 to 9.0.1.0.0 - fix the runbot url to 9.0 - remove <data> in the templates - replace <openerp> with <odoo> in the templates
|
I have amended commits for you. |
|
@pedrobaeza |
|
@khaeusler - after the fact may have been a bit different, but the process of splitting commits based on module is part of our upgrade instructions - https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0#howto |
|
oh i see, i used a wrong branch name, should i create a new branch with the name 9.0-mig-website_breadcrumb? |
|
No worries on the branch name (although heed for next time). The important part is: which creates a patch of the difference between 8.0 and 9.0, but only for the module path that you define. This splits the commits while preserving ownership, which is likely the process Pedro used to fix this branch. |
|
@lasley |
|
@khaeusler, have you signed the CLA? I can't find it. Who was the sender of the CLA e-mail? |
|
|
||
| To configure the shown breadcrumbs, you need to: | ||
|
|
||
| * Go to *Settings > Configuration > Website Settings > Configure website |
There was a problem hiding this comment.
Please update the path of this configuration putting: Go to *Website Admin > Configuration* and click on "Configure website menus"
pedrobaeza
left a comment
There was a problem hiding this comment.
Little comment, but it's working correctly.
|
Waiting for CLA. |
|
@pedrobaeza |
|
@pedrobaeza |
|
@rafaelbn - Can you double check that your comments have been attended to please? |
|
Rebuilding runbot for testing |
|
My comments and doubts from #216 (comment) are pending. Check: |
|
OK, I guess is because dependencies. So I merge. |
|
Hey @khaeusler, Appreciation of efforts, |



add the addon website_breadcrumb