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
125 changes: 125 additions & 0 deletions stock_location_history/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
======================
Stock Location History
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8ef2e101fc89b5c5da4407bd4a206ff4616465f468c30b5d56604b0ba2299927
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fstock--logistics--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/18.0/stock_location_history
:alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-18-0/stock-logistics-warehouse-18-0-stock_location_history
: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/stock-logistics-warehouse&target_branch=18.0
:alt: Try me on Runboat

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

This module allows you to manage stages of location and their history.
This was developed to manage silos and similar storage locations for
bulk products.

**Table of contents**

.. contents::
:local:

Configuration
=============

- Go to Inventory > Configuration > Location Stages.

- Click New to create a stage and configure only the following
parameters:

- Name
- Sequence
- Status: Active
- Allowed Validation Groups
- Allowed Stage Change Groups

- Set Stage Properties

- For each stage, specify whether it applies to one of the following
categories (these fields are used for form validations):

- Is First
- Is Final
- Is Pause
- Is Use

- Configure Stage Transitions

- After creating all the stages, define the allowed transitions for each
stage to establish a proper flow.

Usage
=====

- Go to Inventory > Operations > Locations
- Open a location to see its stages and history
- Use the buttons to change the stages of the location

\* Based on its stage, the location will be available to receive a new
lot of bulk products or not.

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

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

* Open Source Integrators

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

- Johannan Luna <jluna@opensourceintegrators.com>

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.

.. |maintainer-jasiel-OSI| image:: https://github.com/jasiel-OSI.png?size=40px
:target: https://github.com/jasiel-OSI
:alt: jasiel-OSI

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-jasiel-OSI|

This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/18.0/stock_location_history>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions stock_location_history/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions stock_location_history/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Stock Location History",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"depends": ["stock", "gaqsa_plc"],
"category": "Stock",
"data": [
# "data/stock_location_stage_data.xml",
"security/ir.model.access.csv",
"views/stock_location_views.xml",
"views/stock_location_stage_views.xml",
"views/stock_location_history_views.xml",
"views/stock_lot_views.xml",
],
"development_status": "Beta",
"maintainers": ["jasiel-OSI"],
}
31 changes: 31 additions & 0 deletions stock_location_history/data/stock_location_stage_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<odoo>
<record id="stock_location_stage_empty" model="stock.location.stage">
<field name="name">Empty</field>
<field name="sequence">10</field>
<field name="is_default">True</field>
<field name="description">Location is empty.</field>
</record>

<record id="stock_location_stage_ready" model="stock.location.stage">
<field name="name">Ready</field>
<field name="sequence">20</field>
<field name="validation">True</field>
<field name="description">Location has been cleaned and is ready to
receive a new lot.</field>
</record>

<record id="stock_location_stage_occupied" model="stock.location.stage">
<field name="name">Occupied</field>
<field name="sequence">30</field>
<field name="validation">True</field>
<field name="description">Location is occupied and contains a lot.</field>
</record>

<record id="stock_location_stage_retired" model="stock.location.stage">
<field name="name">Retired</field>
<field name="sequence">90</field>
<field name="is_closed">True</field>
<field name="fold">True</field>
<field name="description">Location has been retired.</field>
</record>
</odoo>
4 changes: 4 additions & 0 deletions stock_location_history/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from . import stock_location
from . import stock_location_stage
from . import stock_location_history
from . import stock_lot
Loading
Loading