Skip to content

Commit

Permalink
[IMP] stock_product_pack: pre-commit execution
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-zanotti committed Dec 18, 2023
1 parent be6e206 commit dbad46e
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 56 deletions.
49 changes: 25 additions & 24 deletions stock_product_pack/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ Stock product Pack
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--pack-lightgray.png?logo=github
:target: https://github.com/OCA/product-pack/tree/16.0/stock_product_pack
:target: https://github.com/OCA/product-pack/tree/17.0/stock_product_pack
:alt: OCA/product-pack
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-pack-16-0/product-pack-16-0-stock_product_pack
:target: https://translation.odoo-community.org/projects/product-pack-17-0/product-pack-17-0-stock_product_pack
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-pack&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-pack&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to get *On Hand* and *Forecasted* values calculated from
components of the pack.
This module allows you to get *On Hand* and *Forecasted* values
calculated from components of the pack.

**Table of contents**

Expand All @@ -41,48 +41,49 @@ Usage

To use this module, you need to:

#. Go to *Inventory -> Master Data -> Product*, create a product and check
"Is Pack?" field then set Pack Type and Pack component price.
#. Choose products to include in the pack.
#. Go to *Inventory -> Operations -> Transfers* and create transfer related to
components of a Pack 'X'.
#. Then go to *Inventory -> Master Data -> Product*, find the Pack 'X' and you
will see in the smart buttons that show *On Hand* and *Forecasted* the
quantities based on the *On Hand* and *Forecasted* quantities of
its components. That is the minimum quantities of its components.
1. Go to *Inventory -> Master Data -> Product*, create a product and
check "Is Pack?" field then set Pack Type and Pack component price.
2. Choose products to include in the pack.
3. Go to *Inventory -> Operations -> Transfers* and create transfer
related to components of a Pack 'X'.
4. Then go to *Inventory -> Master Data -> Product*, find the Pack 'X'
and you will see in the smart buttons that show *On Hand* and
*Forecasted* the quantities based on the *On Hand* and *Forecasted*
quantities of its components. That is the minimum quantities of its
components.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-pack/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/OCA/product-pack/issues/new?body=module:%20stock_product_pack%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/product-pack/issues/new?body=module:%20stock_product_pack%0Aversion:%2017.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
~~~~~~~
-------

* NaN·tic
* ADHOC SA
* Tecnativa

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

* `Tecnativa <https://www.tecnativa.com>`_:
- `Tecnativa <https://www.tecnativa.com>`__:

* Ernesto Tejeda
* Pedro M. Baeza
* Sergio Teruel
* João Marques
- Ernesto Tejeda
- Pedro M. Baeza
- Sergio Teruel
- João Marques

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

This module is maintained by the OCA.

Expand All @@ -102,6 +103,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-ernestotejeda|

This module is part of the `OCA/product-pack <https://github.com/OCA/product-pack/tree/16.0/stock_product_pack>`_ project on GitHub.
This module is part of the `OCA/product-pack <https://github.com/OCA/product-pack/tree/17.0/stock_product_pack>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions stock_product_pack/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
5 changes: 5 additions & 0 deletions stock_product_pack/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- [Tecnativa](https://www.tecnativa.com):
- Ernesto Tejeda
- Pedro M. Baeza
- Sergio Teruel
- João Marques
6 changes: 0 additions & 6 deletions stock_product_pack/readme/CONTRIBUTORS.rst

This file was deleted.

2 changes: 2 additions & 0 deletions stock_product_pack/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module allows you to get *On Hand* and *Forecasted* values
calculated from components of the pack.
2 changes: 0 additions & 2 deletions stock_product_pack/readme/DESCRIPTION.rst

This file was deleted.

12 changes: 12 additions & 0 deletions stock_product_pack/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
To use this module, you need to:

1. Go to *Inventory -\> Master Data -\> Product*, create a product and
check "Is Pack?" field then set Pack Type and Pack component price.
2. Choose products to include in the pack.
3. Go to *Inventory -\> Operations -\> Transfers* and create transfer
related to components of a Pack 'X'.
4. Then go to *Inventory -\> Master Data -\> Product*, find the Pack
'X' and you will see in the smart buttons that show *On Hand* and
*Forecasted* the quantities based on the *On Hand* and *Forecasted*
quantities of its components. That is the minimum quantities of its
components.
11 changes: 0 additions & 11 deletions stock_product_pack/readme/USAGE.rst

This file was deleted.

27 changes: 14 additions & 13 deletions stock_product_pack/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ <h1 class="title">Stock product Pack</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ebc372d1ed11084b43923fe380d6ec0197ee89b67458ebb1aebadc39d0a93953
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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-pack/tree/16.0/stock_product_pack"><img alt="OCA/product-pack" src="https://img.shields.io/badge/github-OCA%2Fproduct--pack-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-pack-16-0/product-pack-16-0-stock_product_pack"><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-pack&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows you to get <em>On Hand</em> and <em>Forecasted</em> values calculated from
components of the pack.</p>
<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-pack/tree/17.0/stock_product_pack"><img alt="OCA/product-pack" src="https://img.shields.io/badge/github-OCA%2Fproduct--pack-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-pack-17-0/product-pack-17-0-stock_product_pack"><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-pack&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 module allows you to get <em>On Hand</em> and <em>Forecasted</em> values
calculated from components of the pack.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -389,23 +389,24 @@ <h1 class="title">Stock product Pack</h1>
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>To use this module, you need to:</p>
<ol class="arabic simple">
<li>Go to <em>Inventory -&gt; Master Data -&gt; Product</em>, create a product and check
“Is Pack?” field then set Pack Type and Pack component price.</li>
<li>Go to <em>Inventory -&gt; Master Data -&gt; Product</em>, create a product and
check “Is Pack?” field then set Pack Type and Pack component price.</li>
<li>Choose products to include in the pack.</li>
<li>Go to <em>Inventory -&gt; Operations -&gt; Transfers</em> and create transfer related to
components of a Pack ‘X’.</li>
<li>Then go to <em>Inventory -&gt; Master Data -&gt; Product</em>, find the Pack ‘X’ and you
will see in the smart buttons that show <em>On Hand</em> and <em>Forecasted</em> the
quantities based on the <em>On Hand</em> and <em>Forecasted</em> quantities of
its components. That is the minimum quantities of its components.</li>
<li>Go to <em>Inventory -&gt; Operations -&gt; Transfers</em> and create transfer
related to components of a Pack ‘X’.</li>
<li>Then go to <em>Inventory -&gt; Master Data -&gt; Product</em>, find the Pack ‘X’
and you will see in the smart buttons that show <em>On Hand</em> and
<em>Forecasted</em> the quantities based on the <em>On Hand</em> and <em>Forecasted</em>
quantities of its components. That is the minimum quantities of its
components.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-pack/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-pack/issues/new?body=module:%20stock_product_pack%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/OCA/product-pack/issues/new?body=module:%20stock_product_pack%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">
Expand Down Expand Up @@ -439,7 +440,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/ernestotejeda"><img alt="ernestotejeda" src="https://github.com/ernestotejeda.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-pack/tree/16.0/stock_product_pack">OCA/product-pack</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-pack/tree/17.0/stock_product_pack">OCA/product-pack</a> project on GitHub.</p>
<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>
</div>
</div>
Expand Down

0 comments on commit dbad46e

Please sign in to comment.