Skip to content

Commit 45ff7ee

Browse files
committed
Backport from 17.0 to 16.0
1 parent 83d5910 commit 45ff7ee

File tree

5 files changed

+26
-29
lines changed

5 files changed

+26
-29
lines changed

product_restricted_type/README.rst

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://odoo-community.org/readme-banner-image
2-
:target: https://odoo-community.org/get-involved?utm_source=readme
3-
:alt: Odoo Community Association
4-
51
=======================
62
Product Restricted Type
73
=======================
@@ -17,17 +13,17 @@ Product Restricted Type
1713
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1814
:target: https://odoo-community.org/page/development-status
1915
:alt: Beta
20-
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
2117
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2218
:alt: License: AGPL-3
2319
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
24-
:target: https://github.com/OCA/product-attribute/tree/17.0/product_restricted_type
20+
:target: https://github.com/OCA/product-attribute/tree/16.0/product_restricted_type
2521
:alt: OCA/product-attribute
2622
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_restricted_type
23+
:target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_restricted_type
2824
:alt: Translate me on Weblate
2925
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=16.0
3127
:alt: Try me on Runboat
3228

3329
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -68,7 +64,7 @@ Bug Tracker
6864
Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_.
6965
In case of trouble, please check there if your issue has already been reported.
7066
If you spotted it first, help us to smash it by providing a detailed and welcomed
71-
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_restricted_type%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
67+
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_restricted_type%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
7268

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

@@ -99,6 +95,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9995
mission is to support the collaborative development of Odoo features and
10096
promote its widespread use.
10197

102-
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/17.0/product_restricted_type>`_ project on GitHub.
98+
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_restricted_type>`_ project on GitHub.
10399

104100
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

product_restricted_type/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{
66
"name": "Product Restricted Type",
7-
"version": "17.0.1.0.0",
7+
"version": "16.0.1.0.0",
88
"author": "ForgeFlow," "Odoo Community Association (OCA)",
99
"website": "https://github.com/OCA/product-attribute",
1010
"license": "AGPL-3",

product_restricted_type/static/description/index.html

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>README.rst</title>
6+
<title>Product Restricted Type</title>
77
<style type="text/css">
88

99
/*
@@ -360,21 +360,16 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document">
363+
<div class="document" id="product-restricted-type">
364+
<h1 class="title">Product Restricted Type</h1>
364365

365-
366-
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367-
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368-
</a>
369-
<div class="section" id="product-restricted-type">
370-
<h1>Product Restricted Type</h1>
371366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
372367
!! This file is generated by oca-gen-addon-readme !!
373368
!! changes will be overwritten. !!
374369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375370
!! source digest: sha256:376e7f40799df737de3799f41b22858383d7c188a2c7bf9373eeb967f1381bdb
376371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/product-attribute/tree/17.0/product_restricted_type"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_restricted_type"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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/OCA/product-attribute/tree/16.0/product_restricted_type"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_restricted_type"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378373
<p>This module adds ‘restricted_product_type’ to product_category model.
379374
With this optional selection field, ‘restricted_product_type’ should
380375
have the same values as in the product.template, ‘type’ field.</p>
@@ -399,7 +394,7 @@ <h1>Product Restricted Type</h1>
399394
</ul>
400395
</div>
401396
<div class="section" id="usage">
402-
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
397+
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
403398
<p>To use this module, you need to go to Inventory -&gt; Configuration -&gt;
404399
Product Categories and set a Restricted Product Type.</p>
405400
<p>When a Restricted Product Type is assigned to a Product Category, if we
@@ -409,42 +404,41 @@ <h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
409404
Template or have no Restricted Product Type set.</p>
410405
</div>
411406
<div class="section" id="bug-tracker">
412-
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
407+
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
413408
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-attribute/issues">GitHub Issues</a>.
414409
In case of trouble, please check there if your issue has already been reported.
415410
If you spotted it first, help us to smash it by providing a detailed and welcomed
416-
<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_restricted_type%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
411+
<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_restricted_type%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
417412
<p>Do not contact contributors directly about support or help with technical issues.</p>
418413
</div>
419414
<div class="section" id="credits">
420-
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
415+
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
421416
<div class="section" id="authors">
422-
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
417+
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
423418
<ul class="simple">
424419
<li>ForgeFlow</li>
425420
</ul>
426421
</div>
427422
<div class="section" id="contributors">
428-
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
423+
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
429424
<ul class="simple">
430425
<li>Adria Gil Sorribes &lt;<a class="reference external" href="mailto:adria.gil&#64;forgeflow.com">adria.gil&#64;forgeflow.com</a>&gt;</li>
431426
<li>Guillem Casassas <a class="reference external" href="mailto:guillem.casassas&#64;forgeflow.com">guillem.casassas&#64;forgeflow.com</a></li>
432427
</ul>
433428
</div>
434429
<div class="section" id="maintainers">
435-
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
430+
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
436431
<p>This module is maintained by the OCA.</p>
437432
<a class="reference external image-reference" href="https://odoo-community.org">
438433
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
439434
</a>
440435
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
441436
mission is to support the collaborative development of Odoo features and
442437
promote its widespread use.</p>
443-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/17.0/product_restricted_type">OCA/product-attribute</a> project on GitHub.</p>
438+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/16.0/product_restricted_type">OCA/product-attribute</a> project on GitHub.</p>
444439
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
445440
</div>
446441
</div>
447442
</div>
448-
</div>
449443
</body>
450444
</html>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../product_restricted_type
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)

0 commit comments

Comments
 (0)