Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ exclude: |
^shopinvader_base_url/|
^shopinvader_product_brand/|
^shopinvader_product_brand_tag/|
^shopinvader_product_url/|
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
Expand Down
24 changes: 12 additions & 12 deletions shopinvader_product_url/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Shopinvader product url
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-shopinvader%2Fodoo--shopinvader-lightgray.png?logo=github
:target: https://github.com/shopinvader/odoo-shopinvader/tree/16.0/shopinvader_product_url
:alt: shopinvader/odoo-shopinvader
.. |badge3| image:: https://img.shields.io/badge/github-shopinvader%2Fodoo--shopinvader--catalog-lightgray.png?logo=github
:target: https://github.com/shopinvader/odoo-shopinvader-catalog/tree/18.0/shopinvader_product_url
:alt: shopinvader/odoo-shopinvader-catalog

|badge1| |badge2| |badge3|

Expand All @@ -37,32 +37,32 @@ Generate url for product and category
Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/shopinvader/odoo-shopinvader/issues>`_.
Bugs are tracked on `GitHub Issues <https://github.com/shopinvader/odoo-shopinvader-catalog/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/shopinvader/odoo-shopinvader/issues/new?body=module:%20shopinvader_product_url%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/shopinvader/odoo-shopinvader-catalog/issues/new?body=module:%20shopinvader_product_url%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~
-------

* Akretion
* ACSONE SA/NV

Contributors
~~~~~~~~~~~~
------------

* Sebastien BEAU <[email protected]>
* Laurent Mignon <[email protected]>
* Quentin Groulard <[email protected]>
- Sebastien BEAU <[email protected]>
- Laurent Mignon <[email protected]>
- Quentin Groulard <[email protected]>

Maintainers
~~~~~~~~~~~
-----------

This module is part of the `shopinvader/odoo-shopinvader <https://github.com/shopinvader/odoo-shopinvader/tree/16.0/shopinvader_product_url>`_ project on GitHub.
This module is part of the `shopinvader/odoo-shopinvader-catalog <https://github.com/shopinvader/odoo-shopinvader-catalog/tree/18.0/shopinvader_product_url>`_ project on GitHub.

You are welcome to contribute.
8 changes: 3 additions & 5 deletions shopinvader_product_url/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@
{
"name": "Shopinvader product url",
"summary": "Generate url for product and category",
"version": "16.0.1.0.1",
"version": "18.0.1.0.0",
"development_status": "Alpha",
"category": "Shopinvader",
"website": "https://github.com/shopinvader/odoo-shopinvader-catalog",
"author": " Akretion, ACSONE SA/NV",
"license": "AGPL-3",
"depends": [
"shopinvader_base_url",
"base_url",
"shopinvader_product",
],
"data": [],
"demo": [],
"installable": False,
"installable": True,
}
3 changes: 3 additions & 0 deletions shopinvader_product_url/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions shopinvader_product_url/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Sebastien BEAU \<[email protected]\>
- Laurent Mignon \<[email protected]\>
- Quentin Groulard \<[email protected]\>
3 changes: 0 additions & 3 deletions shopinvader_product_url/readme/CONTRIBUTORS.rst

This file was deleted.

16 changes: 8 additions & 8 deletions shopinvader_product_url/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand All @@ -9,10 +8,11 @@

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -275,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -301,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -369,7 +369,7 @@ <h1 class="title">Shopinvader product url</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:dacd0c29cc1b6b58af3f7a91def76df3289a26b88f134ab86328b3fb5a8dc8f7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/shopinvader/odoo-shopinvader/tree/16.0/shopinvader_product_url"><img alt="shopinvader/odoo-shopinvader" src="https://img.shields.io/badge/github-shopinvader%2Fodoo--shopinvader-lightgray.png?logo=github" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/shopinvader/odoo-shopinvader-catalog/tree/18.0/shopinvader_product_url"><img alt="shopinvader/odoo-shopinvader-catalog" src="https://img.shields.io/badge/github-shopinvader%2Fodoo--shopinvader--catalog-lightgray.png?logo=github" /></a></p>
<p>Generate url for product and category</p>
<div class="admonition important">
<p class="first admonition-title">Important</p>
Expand All @@ -391,10 +391,10 @@ <h1 class="title">Shopinvader product url</h1>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/shopinvader/odoo-shopinvader/issues">GitHub Issues</a>.
<p>Bugs are tracked on <a class="reference external" href="https://github.com/shopinvader/odoo-shopinvader-catalog/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/shopinvader/odoo-shopinvader/issues/new?body=module:%20shopinvader_product_url%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/shopinvader/odoo-shopinvader-catalog/issues/new?body=module:%20shopinvader_product_url%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand All @@ -416,7 +416,7 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<p>This module is part of the <a class="reference external" href="https://github.com/shopinvader/odoo-shopinvader/tree/16.0/shopinvader_product_url">shopinvader/odoo-shopinvader</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/shopinvader/odoo-shopinvader-catalog/tree/18.0/shopinvader_product_url">shopinvader/odoo-shopinvader-catalog</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions shopinvader_product_url/tests/test_url_in_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def test_product_category(self):
"test-parent-category/test-child-category/test-child-child-category",
)
self.assertEqual(category.redirect_url_key, [])
# if we update the category name, the url_key should be updated whatever the level
# and a redirect_url_key should be created
# if we update the category name, the url_key should be updated
# whatever the level and a redirect_url_key should be created
self.parent_category.name = "parent"
category = ProductCategory.from_product_category(self.child_child_category)
self.assertEqual(
Expand Down
2 changes: 2 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
odoo-test-helper

odoo-addon-base_url @ git+https://github.com/OCA/server-tools@refs/pull/3591/head#subdirectory=base_url
Loading