Skip to content

Commit

Permalink
Merge PR #1819 into 18.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
OCA-git-bot committed Feb 4, 2025
2 parents 06013c6 + b12def1 commit d0852dc
Show file tree
Hide file tree
Showing 11 changed files with 572 additions and 0 deletions.
91 changes: 91 additions & 0 deletions product_state_stock_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
===================
Product State Stock
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7ec50e9a9269fe3f3d96b4d868fe362d46c009af40b51678f5117c5aea497920
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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-OCA%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/18.0/product_state_stock_base
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_state_stock_base
: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-attribute&target_branch=18.0
:alt: Try me on Runboat

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

This module add the use of product_state module in stock

**Table of contents**

.. contents::
:local:

Usage
=====

To create a new state:

1. Go to *Inventory > Configuration > Products > Product States*.
2. You can set its name and a description.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/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-attribute/issues/new?body=module:%20product_state_stock_base%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
-------

* Camptocamp

Contributors
------------

- `Trobz <https://trobz.com>`__:

- Tuan Nguyen <[email protected]>

Other credits
-------------

The development of this module was financially supported by Camptocamp.

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

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/18.0/product_state_stock_base>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
15 changes: 15 additions & 0 deletions product_state_stock_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2017 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Product State Stock",
"summary": """
This module add the use of Product State in Stock""",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"category": "Product",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["product_state", "stock"],
"data": ["security/security.xml", "views/product_state_views.xml"],
"auto_install": True,
}
3 changes: 3 additions & 0 deletions product_state_stock_base/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions product_state_stock_base/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [Trobz](https://trobz.com):
- Tuan Nguyen \<<[email protected]>\>
1 change: 1 addition & 0 deletions product_state_stock_base/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The development of this module was financially supported by Camptocamp.
1 change: 1 addition & 0 deletions product_state_stock_base/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module add the use of product_state module in stock
4 changes: 4 additions & 0 deletions product_state_stock_base/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
To create a new state:

1. Go to *Inventory \> Configuration \> Products \> Product States*.
2. You can set its name and a description.
8 changes: 8 additions & 0 deletions product_state_stock_base/security/security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<odoo>
<record id="stock.group_stock_manager" model="res.groups">
<field
name="implied_ids"
eval="[(4, ref('product_state.group_product_state_manager'))]"
/>
</record>
</odoo>
Loading

0 comments on commit d0852dc

Please sign in to comment.