Skip to content

Commit

Permalink
[MIG] product_assortment: Migration to 17.0
Browse files Browse the repository at this point in the history
[MIG] product_assortment: Migration to 17.0
  • Loading branch information
Deriman-Alonso committed Apr 22, 2024
1 parent 5ad7f75 commit 1ad28cc
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 21 deletions.
11 changes: 10 additions & 1 deletion product_assortment/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Product Assortment
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:1b3b469466e20d18f38bc2fc1cf1d0077e9f8f14623ed655765511cb1e0f29bc
!! source digest: sha256:6ed1fb0c13241f6cfefc040e770779a8b122a87836468c58ccac6de4a4a46fdd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
Expand Down Expand Up @@ -72,6 +72,11 @@ Changelog

- [16.0][MIG] product_assortment

17.0.1.0.0 (2024-04-18)
-----------------------

- [17.0][MIG] product_assortment

Bug Tracker
===========

Expand Down Expand Up @@ -101,6 +106,10 @@ Contributors
- Carlos Roca
- Sergio Teruel

- `Binhex Systems Solutions <https://binhex.cloud/>`__:

- Deriman Alonso <[email protected]>

Maintainers
-----------

Expand Down
2 changes: 2 additions & 0 deletions product_assortment/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
- [Tecnativa](https://www.tecnativa.com):
- Carlos Roca
- Sergio Teruel
- [Binhex Systems Solutions](https://binhex.cloud/):
- Deriman Alonso \<<[email protected]>\>
4 changes: 4 additions & 0 deletions product_assortment/readme/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
## 16.0.1.0.0 (2022-09-15)

- \[16.0\]\[MIG\] product_assortment

## 17.0.1.0.0 (2024-04-18)

- \[17.0\]\[MIG\] product_assortment
34 changes: 22 additions & 12 deletions product_assortment/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 Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Product Assortment</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:1b3b469466e20d18f38bc2fc1cf1d0077e9f8f14623ed655765511cb1e0f29bc
!! source digest: sha256:6ed1fb0c13241f6cfefc040e770779a8b122a87836468c58ccac6de4a4a46fdd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/17.0/product_assortment"><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_assortment"><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>
<p>This addon intends to manage product assortment. In Odoo you can only
Expand All @@ -385,13 +384,14 @@ <h1 class="title">Product Assortment</h1>
<li><a class="reference internal" href="#section-2" id="toc-entry-4">12.0.1.0.0 (2019-06-03)</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-5">14.0.1.0.0 (2019-06-03)</a></li>
<li><a class="reference internal" href="#section-4" id="toc-entry-6">16.0.1.0.0 (2022-09-15)</a></li>
<li><a class="reference internal" href="#section-5" id="toc-entry-7">17.0.1.0.0 (2024-04-18)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-7">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-8">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-9">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-10">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-11">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-8">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-9">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-10">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-11">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-12">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -431,25 +431,31 @@ <h2><a class="toc-backref" href="#toc-entry-6">16.0.1.0.0 (2022-09-15)</a></h2>
<li>[16.0][MIG] product_assortment</li>
</ul>
</div>
<div class="section" id="section-5">
<h2><a class="toc-backref" href="#toc-entry-7">17.0.1.0.0 (2024-04-18)</a></h2>
<ul class="simple">
<li>[17.0][MIG] product_assortment</li>
</ul>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-7">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-8">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-attribute/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/OCA/product-attribute/issues/new?body=module:%20product_assortment%0Aversion:%2017.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">
<h1><a class="toc-backref" href="#toc-entry-8">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-9">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-9">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-10">Authors</a></h2>
<ul class="simple">
<li>ACSONE SA/NV</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-10">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-11">Contributors</a></h2>
<ul class="simple">
<li>Denis Roussel &lt;<a class="reference external" href="mailto:denis.roussel&#64;acsone.eu">denis.roussel&#64;acsone.eu</a>&gt;</li>
<li>Cédric Pigeon &lt;<a class="reference external" href="mailto:cedric.pigeon&#64;acsone.eu">cedric.pigeon&#64;acsone.eu</a>&gt;</li>
Expand All @@ -459,10 +465,14 @@ <h2><a class="toc-backref" href="#toc-entry-10">Contributors</a></h2>
<li>Sergio Teruel</li>
</ul>
</li>
<li><a class="reference external" href="https://binhex.cloud/">Binhex Systems Solutions</a>:<ul>
<li>Deriman Alonso &lt;<a class="reference external" href="mailto:d.alonso&#64;binhex.cloud">d.alonso&#64;binhex.cloud</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-12">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
Expand Down
12 changes: 4 additions & 8 deletions product_assortment/views/product_assortment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,10 @@
<span class="o_stat_value">
<field name="record_count" />
</span>
<span
attrs="{'invisible': [('record_count', '&lt;=', 1)]}"
>
<span invisible="record_count &lt;= 1">
Products
</span>
<span
attrs="{'invisible': [('record_count', '&gt;', 1)]}"
>
<span invisible="record_count > 1">
Product
</span>
</div>
Expand All @@ -56,7 +52,7 @@
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
invisible="active"
/>
<div class="oe_title">
<label for="name" string="Assortment Name" />
Expand All @@ -83,7 +79,7 @@
</group>
<group
string="Restricted product domain"
attrs="{'invisible': [('apply_black_list_product_domain', '=', False)]}"
invisible="not apply_black_list_product_domain"
>
<field
name="black_list_product_domain"
Expand Down

0 comments on commit 1ad28cc

Please sign in to comment.