Skip to content

Commit

Permalink
Merge pull request #325 from Vauxoo/16.0
Browse files Browse the repository at this point in the history
Syncing from upstream Vauxoo/addons-vauxoo (16.0)
  • Loading branch information
bt-admin authored May 17, 2024
2 parents a2d0457 + 786280a commit 60dbc12
Show file tree
Hide file tree
Showing 22 changed files with 948 additions and 0 deletions.
52 changes: 52 additions & 0 deletions stock_manual_transfer/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg
:alt: License: LGPL-3

Stock Manual Transfer:
----------------------

This module allows you to trigger transfers using a specific route, as it were triggered by a reordering rule.

- In order to be able to make the transfer, the user must belong to the stock manual transfer group:

.. image:: ./static/description/manual_transfer_group.png
:alt: Manual transfer group
:width: 600px

- And the route must be allowed to make manual transfers:

.. image:: ./static/description/manual_transfer_route.png
:alt: Manual transfer field on the route
:width: 600px

A new item in the operations menu of the stock module will be shown in order to create Manual transfers:

.. image:: ./static/description/manual_transfer_menu.png
:alt: Manual transfer menu option
:width: 600px

Once the Manual Transfer has been created as 'draft', a button in the form will validate the transfer
and create a Transfer (picking):

.. image:: ./static/description/manual_transfer_form.png
:alt: Manual transfer form view
:width: 600px

.. image:: ./static/description/stock_move_created.png
:alt: Stock move created
:width: 600px

Maintainer
----------

.. image:: https://www.vauxoo.com/logo.png
:alt: Vauxoo
:target: https://vauxoo.com

This module is maintained by Vauxoo.

a latinamerican company that provides training, coaching,
development and implementation of enterprise management
systems and bases its entire operation strategy in the use
of Open Source Software and its main product is Odoo.

To contribute to this module, please visit http://www.vauxoo.com
3 changes: 3 additions & 0 deletions stock_manual_transfer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright 2022 Vauxoo
# License LGPL-3 or later (http://www.gnu.org/licenses/lgpl).
from . import models
28 changes: 28 additions & 0 deletions stock_manual_transfer/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2022 Vauxoo
# License LGPL-3 or later (http://www.gnu.org/licenses/lgpl).
{
"name": "Stock Manual Transfer",
"author": "Vauxoo",
"summary": """
Trigger transfers using a specific route, as it were triggered by a reordering rule
""",
"website": "https://www.vauxoo.com",
"license": "LGPL-3",
"category": "Inventory/Inventory",
"version": "16.0.1.0.1",
"depends": [
"stock",
],
"data": [
"security/res_groups.xml",
"security/ir.model.access.csv",
"data/ir_sequence_data.xml",
"views/stock_route_views.xml",
"views/stock_manual_transfer_views.xml",
],
"demo": [
"demo/stock_demo.xml",
],
"installable": True,
"auto_install": False,
}
11 changes: 11 additions & 0 deletions stock_manual_transfer/data/ir_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record id="sequence_transfer" model="ir.sequence">
<field name="name">Manual Transfers</field>
<field name="code">stock.manual_transfer</field>
<field name="prefix">MT/%(year)s/</field>
<field name="padding">5</field>
</record>

</odoo>
32 changes: 32 additions & 0 deletions stock_manual_transfer/demo/stock_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<!-- Warehouse -->
<record id="demo_warehouse_01" model="stock.warehouse">
<field name="name">Demo Warehouse 1</field>
<field name="code">DW1</field>
<field name="reception_steps">one_step</field>
<field name="delivery_steps">ship_only</field>
</record>

<!-- Stock Location Routes -->
<record id="demo_wh_route_reception" model="stock.route">
<field name="name">Reception</field>
<field name="product_selectable" eval="True" />
<field name="warehouse_selectable" eval="True" />
<field name="manual_transfer_selectable" eval="True" />
</record>

<!-- Pull Rules -->
<record id="demo_wh_rule" model="stock.rule">
<field name="name">Vendors → Stock</field>
<field name="action">pull</field>
<field name="picking_type_id" ref="stock.picking_type_in" />
<field name="warehouse_id" ref="demo_warehouse_01" />
<field name="location_src_id" ref="stock.stock_location_suppliers" />
<field name="location_dest_id" model="stock.warehouse" eval="obj(ref('demo_warehouse_01')).lot_stock_id.id" />
<field name="procure_method">make_to_stock</field>
<field name="route_id" ref="demo_wh_route_reception" />
</record>

</odoo>
Loading

0 comments on commit 60dbc12

Please sign in to comment.