Skip to content

Commit

Permalink
Merge PR #31 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by LoisRForgeFlow
  • Loading branch information
OCA-git-bot committed Sep 17, 2024
2 parents 2d3be1f + 5f19465 commit 381260e
Show file tree
Hide file tree
Showing 40 changed files with 4,667 additions and 0 deletions.
142 changes: 142 additions & 0 deletions stock_request_kanban/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
====================
Stock Request kanban
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c763005080ad5060f60ab52c53ec61ef5481fe56055b9b406aac71c67c6fbd5b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.0/stock_request_kanban
: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-17-0/stock-logistics-request-17-0-stock_request_kanban
: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=17.0
:alt: Try me on Runboat

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

On most companies there are products that must be purchased often but
cannot be stored as a usual product because no consumption moves are
made. Usually, they are stored as consumables or putaway rules are
defined. In both cases, reordering rules cannot be used. This module
allows to use stock request as reordering rules for this kind of
products.

It is created following the concept of lean kanban cards.

**Table of contents**

.. contents::
:local:

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

If the barcode does not contain a CRC check digit on the kanban card,
you should:

- Access on Development mode
- Access 'Settings / Technical / Parameters / System Parameters'
- Create a parameter with name 'stock_request_kanban.crc' and set it to
value to 0

If the barcode contains a CRC check digit and you want to ignore it:

- Create a paramenter with name 'stock_request_kanban.ignore_crc' and
set it to value to 1

If you want to change the format of the QR, you should:

- Access on Development mode
- Access 'Settings / Technical / Parameters / System Parameters'
- Create a parameter with name 'stock_request_kanban.barcode_format'
and set the format of the barcode

Usage
=====

Creation
--------

- Go to 'Stock Requests / Stock Requests Kanban' and create a new
Kanban.
- Indicate a product, quantity and location.
- Press 'Save'.
- Print the kanban and put it in the storage of the product

Request kanban
--------------

This should be used if you want to create the kanban when the card is
consumed.

- Once the product is consumed, take the card
- Go to 'Stock Requests / Order Kanban Card'
- Scan the card
- The stock request is created

Request kanban batch
--------------------

This should be used when you will store the cards and create request
orders for kanbans later.

- Once the product is consumed, take the card and store it
- Create a store request order
- Press the scan button
- Scan all the pending kanban cards

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_kanban%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
-------

* Creu Blanca
* ForgeFlow

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

- Enric Tobella <etobella@creublanca.es>
- Kitti Upariphutthiphong <kittiu@ecosoft.co.th>

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/17.0/stock_request_kanban>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions stock_request_kanban/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2018 Creu Blanca
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

from . import models
from . import wizard
30 changes: 30 additions & 0 deletions stock_request_kanban/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2018-22 Creu Blanca
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

{
"name": "Stock Request kanban",
"version": "17.0.1.0.0",
"category": "Warehouse Management",
"website": "https://github.com/OCA/stock-logistics-request",
"author": "Creu Blanca, ForgeFlow, Odoo Community Association (OCA)",
"license": "LGPL-3",
"summary": "Adds a stock request order, and takes stock requests as lines",
"depends": ["stock_request", "barcodes"],
"data": [
"data/stock_request_sequence_data.xml",
"report/report_paper_format.xml",
"wizard/wizard_stock_inventory_kanban_views.xml",
"wizard/wizard_stock_request_kanban_views.xml",
"wizard/wizard_stock_request_order_kanban_views.xml",
"views/stock_request_order_views.xml",
"views/stock_request_kanban_views.xml",
"views/stock_inventory_kanban_views.xml",
"views/stock_request_menu.xml",
"views/stock_request_views.xml",
"views/product_views.xml",
"report/stock_request_kanban_templates.xml",
"security/ir.model.access.csv",
],
"installable": True,
"application": False,
}
17 changes: 17 additions & 0 deletions stock_request_kanban/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_kanban" model="ir.sequence">
<field name="name">Stock Request Kanban</field>
<field name="code">stock.request.kanban</field>
<field name="prefix">KB</field>
<field name="padding">5</field>
<field name="company_id" eval="False" />
</record>
<record id="seq_stock_inventory_kanban" model="ir.sequence">
<field name="name">Stock Inventory Kanban</field>
<field name="code">stock.inventory.kanban</field>
<field name="prefix">IKB</field>
<field name="padding">5</field>
<field name="company_id" eval="False" />
</record>
</odoo>
Loading

0 comments on commit 381260e

Please sign in to comment.