Skip to content

Commit

Permalink
Merge PR #13 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Mar 21, 2024
2 parents 3fedaab + 764f12e commit 3f250e8
Show file tree
Hide file tree
Showing 69 changed files with 36,750 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup/stock_request/odoo/addons/stock_request
6 changes: 6 additions & 0 deletions setup/stock_request/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
141 changes: 141 additions & 0 deletions stock_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
=============
Stock Request
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a466d45b459fb5887294de33e31dfbd31db3dcedb0f5b44560203bdfe27da502
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--request-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-request/tree/16.0/stock_request
:alt: OCA/stock-logistics-request
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-request-16-0/stock-logistics-request-16-0-stock_request
: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-request&target_branch=16.0
:alt: Try me on Runboat

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

This module was written to allow users to request products that are
frequently stocked by the company, to be transferred to their chosen location.

**Table of contents**

.. contents::
:local:

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

To configure this module:

* Go to Stock Requests > Settings

Users should be assigned to the groups 'Stock Request / User' or 'Stock
Request / Manager'.

## Group Stock Request / User

* Can see her/his own Stock Requests, and others that she/he's been granted
permission to follow.

* Can create/update only her/his Stock Requests.

## Group Stock Request / Manager

* Can fully manage all Stock Requests

Usage
=====

## Creation

* Go to 'Stock Requests / Stock Requests' and create a new Request.
* Indicate a product, quantity and location.
* Press 'Confirm'.

Upon confirmation the request will be evaluated using the procurement rules
for the selected location.

In case that transfers are created, the user will be able to access to them
from the button 'Transfers' available in the Stock Request.

## Cancel

When the user cancels a Stock Request, the related pending stock moves will be
also cancelled.

Known issues / Roadmap
======================

There is no way to achieve Storck Request and Stock Request Orders.
It should be developed taking into account that only Cancel and Done
stock request can be archived.

It is also required to manage active field logically from Orders to SRs.

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

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

* ForgeFlow

Contributors
~~~~~~~~~~~~

* Jordi Ballester (EFICENT) <jordi.ballester@forgeflow.com>.
* Enric Tobella <etobella@creublanca.es>
* Atte Isopuro <atte.isopuro@avoin.systems>
* Lois Rilo <lois.rilo@forgeflow.com>
* Raul Martin <raul.martin@braintec-group.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* `Open Source Integrators <https://www.opensourceintegrators.com>`_

* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Steve Campbell <scampbell@opensourceintegrators.com>

* Héctor Villarreal <hector.villarreal@forgeflow.com>
* Kitti U. <kittiu@ecosoft.co.th>
* Bernat Puig <bernat.puig@forgeflow.com>
* Oriol Miranda <oriol.miranda@forgeflow.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.

This module is part of the `OCA/stock-logistics-request <https://github.com/OCA/stock-logistics-request/tree/16.0/stock_request>`_ 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_request/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
27 changes: 27 additions & 0 deletions stock_request/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2017-2021 ForgeFlow, S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

{
"name": "Stock Request",
"summary": "Internal request for stock",
"version": "16.0.1.0.0",
"license": "LGPL-3",
"website": "https://github.com/OCA/stock-logistics-request",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"category": "Warehouse Management",
"depends": ["stock"],
"data": [
"security/stock_request_security.xml",
"security/ir.model.access.csv",
"views/product.xml",
"views/stock_request_views.xml",
"views/stock_request_allocation_views.xml",
"views/stock_move_views.xml",
"views/stock_picking_views.xml",
"views/stock_request_order_views.xml",
"views/res_config_settings_views.xml",
"views/stock_request_menu.xml",
"data/stock_request_sequence_data.xml",
],
"installable": True,
}
17 changes: 17 additions & 0 deletions stock_request/data/stock_request_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="seq_stock_request" model="ir.sequence">
<field name="name">Stock Request</field>
<field name="code">stock.request</field>
<field name="prefix">SR/</field>
<field name="padding">5</field>
<field name="company_id" eval="False" />
</record>
<record id="seq_stock_request_order" model="ir.sequence">
<field name="name">Stock Request Order</field>
<field name="code">stock.request.order</field>
<field name="prefix">SRO/</field>
<field name="padding">5</field>
<field name="company_id" eval="False" />
</record>
</odoo>
Loading

0 comments on commit 3f250e8

Please sign in to comment.