Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] stock_request #1343

Merged
merged 61 commits into from
Feb 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
7f6523b
add stock_request in 11.0
JordiBForgeFlow Nov 13, 2017
533f009
Limit the routes available for selection.
JordiBForgeFlow Dec 22, 2017
9453d62
[FIX] stock_request: Add the option to select all the possible rules …
etobella Mar 15, 2018
f1015b7
[IMP] stock_request: Add stock request order
etobella Apr 9, 2018
484d7e7
[FIX] Various fixes:
MiquelRForgeFlow Apr 11, 2018
f0e6257
[11.0][IMP] stock_request: create request order from products
aisopuro Apr 12, 2018
067a4bd
[ADD] stock_request_kanban
etobella Apr 25, 2018
89bb02f
various fixes
JordiBForgeFlow Apr 25, 2018
3e313de
[IMP] simplify queries
etobella Apr 27, 2018
b9ade70
[fix] stock_requet: add menu image for stock requests
JordiBForgeFlow Jul 16, 2018
1dd6bca
[11.0][IMP] stock_request: allow to request from all locations types.…
LoisRForgeFlow Jan 8, 2019
2067b94
[ADD]stock_request_analytic
AaronHForgeFlow Dec 24, 2018
7887848
[11.0][FIX] solve unique constraint problems with product-attribute/p…
HviorForgeFlow Jan 9, 2019
2f13314
[11.0][FIX] stock_request: added readonly true on related company fields
HviorForgeFlow Jan 14, 2019
b7069f5
Skipping potential error when move has been deleted
Jan 21, 2019
218d4a7
Increasing version number
Jan 21, 2019
27e311c
Updating contributors
Jan 21, 2019
70520af
Updating version numbering as it was a minor fix
Jan 21, 2019
590a156
[MIG] stock_request v12
murtuzasaleh Mar 20, 2019
08e59c3
Translated using Weblate (German)
Apr 26, 2019
4cab686
[IMP] stock_request: Allow to set to draft multiple records
etobella Jul 12, 2019
85076a8
[FIX] stock_request: Losing partner_id and origin (#664)
max3903 Jul 22, 2019
fed256f
stock_request: Add order desc for SR and SRO
HviorForgeFlow Jul 30, 2019
516ff56
[12.0][IMP] stock_request:
HviorForgeFlow Aug 1, 2019
c1df61b
Allow stock_request_submit to be installed from stock_request
HviorForgeFlow Aug 1, 2019
8f41478
[IMP] Simplify inheritance of states
MiquelRForgeFlow Aug 9, 2019
04efcb0
[FIX] stock_request: Unable to activate the virtual location
max3903 Aug 20, 2019
2e03c73
[FIX] stock_request: add expected_date implicit on tests to avoid errors
HviorForgeFlow Aug 27, 2019
ae7e604
Translated using Weblate (German)
rschnapka Aug 31, 2019
5cf9559
[FIX] stock_request: Inventory users now can validate Transfers from …
HviorForgeFlow Aug 9, 2019
2a90d3d
[12.0][FIX] stock_request: stock request lines were not being
LoisRForgeFlow Sep 27, 2019
ca64325
Translated using Weblate (Chinese (Simplified))
liweijie0812 Oct 12, 2019
b92776c
[FIX] stock_request: Remove Inventory User bypass, not needed in v12
HviorForgeFlow Sep 9, 2019
7e87e95
Translated using Weblate (Chinese (Simplified))
liweijie0812 Oct 16, 2019
cec1b3f
[11.0][IMP] stock_request: new icon
LoisRForgeFlow Nov 14, 2019
fd1e161
[12.0][IMP] stock_request: adapt icon to new style
LoisRForgeFlow Nov 15, 2019
2681c95
[FIX] stock_request
max3903 Nov 29, 2019
d0072c6
Translated using Weblate (Spanish)
Jan 17, 2020
31d0b4c
[IMP] stock_request: black, isort
HviorForgeFlow Jan 28, 2020
8a6718a
[MIG] stock_request: Migration to 13.0
HviorForgeFlow Jan 29, 2020
1e91a13
[IMP] stock_request:
HviorForgeFlow Mar 18, 2020
57b4e51
[IMP] stock_request: Views
May 7, 2020
526447b
[13.0][FIX] stock_request: wrong module category reference
LoisRForgeFlow Jun 29, 2020
efd7f70
[13.0][ADD] stock_request_mrp
HviorForgeFlow Mar 12, 2020
13b4bdf
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
cc2715b
FIX: assign value to field compute always
celm1990 Oct 16, 2020
ceadaf0
[IMP] stock_request: Improve cancellation detection
etobella Jun 13, 2019
dad95ec
[IMP] stock_request:
etobella Jun 13, 2019
4c23809
[12.0][FIX] stock_request: fix archived search view
Dec 28, 2020
86301f6
[12.0][IMP] Improved _compute_qty code
murtuzasaleh Sep 3, 2020
5d9e44a
Ensure to set done, when qty_cancelled > 0
kittiu Apr 17, 2021
ea10471
Fix test to work with mrp installed in this repo
kittiu Apr 18, 2021
35b2987
[IMP] : black, isort, prettier
kittiu Apr 19, 2021
4bb9b34
[14.0][MIG] stock_request
kittiu Apr 19, 2021
b89e8ab
[14.0][FIX] stock_request, window action access error
kittiu Apr 25, 2021
11b2bde
Translated using Weblate (Spanish)
JrAdhoc May 26, 2021
6e372c6
Change parent of model category Stock Request
newtratip Aug 21, 2021
bf9833e
[14.0][FIX] stock_request: Stock Request User can delete Stock Reques…
newtratip Aug 22, 2021
40c3ab3
[FIX] stock_request: default value should not depend on another field
nilshamerlinck Sep 24, 2021
209baf7
[IMP] stock_request: black, isort, prettier
BernatPForgeFlow Dec 29, 2021
dfdc50d
[MIG] stock_request: Migration to 15.0
BernatPForgeFlow Dec 31, 2021
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
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,
)
136 changes: 136 additions & 0 deletions stock_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
=============
Stock Request
=============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_request
: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-14-0/stock-logistics-warehouse-14-0-stock_request
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/153/14.0
:alt: Try me on Runbot

|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-warehouse/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_request%0Aversion:%2014.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) <[email protected]>.
* Enric Tobella <[email protected]>
* Atte Isopuro <[email protected]>
* Lois Rilo <[email protected]>
* Raul Martin <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
* `Open Source Integrators <https://www.opensourceintegrators.com>`_

* Maxime Chambreuil <[email protected]>
* Steve Campbell <[email protected]>

* Héctor Villarreal <[email protected]>
* Kitti U. <[email protected]>

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-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/14.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": "15.0.1.0.0",
"license": "LGPL-3",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"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