-
-
Notifications
You must be signed in to change notification settings - Fork 649
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by hparfr
- Loading branch information
Showing
39 changed files
with
2,461 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../stock_auto_move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
========================= | ||
Automatic Move Processing | ||
========================= | ||
|
||
This modules adds the possibility to have move automatically processed as soon | ||
as the products are available in the move source location. | ||
|
||
It also adds the possibility to define the move as being automatic in | ||
a procurement rule. | ||
|
||
Automatic moves are triggered by previous move when the move is chained | ||
or by the scheduler otherwise. | ||
|
||
Note that automatic moves are given a procurement group name "Automatic", | ||
whatever the user or the procurement rule selects. | ||
|
||
Installation | ||
============ | ||
|
||
To install this module, you need to: | ||
|
||
* Click on install button | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
* Set the flag "Automatic" on procurement rule | ||
|
||
Usage | ||
===== | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/154/8.0 | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/OCA/stock-logistics-workflow/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-workflow/issues/new?body=module:%20 | ||
stock_auto_move%0Aversion:%20 | ||
10.0%0A%0A**Steps%20to%20reproduce**%0A-%20.. | ||
.%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Credits | ||
======= | ||
|
||
Images | ||
------ | ||
|
||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. | ||
|
||
Contributors | ||
------------ | ||
|
||
* Nicolas Piganeau <[email protected]> | ||
* Cédric Pigeon <[email protected]> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
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. | ||
|
||
To contribute to this module, please visit http://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2014 NDP Systèmes (<https://www.ndp-systemes.fr>) | ||
# Copyright 2020 ACSONE SA/NV (<https://acsone.eu>) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Automatic Move Processing", | ||
"version": "13.0.1.0.0", | ||
"author": "NDP Systèmes, ACSONE SA/NV, Odoo Community Association (OCA)", | ||
"category": "Warehouse", | ||
"development_status": "Production/Stable", | ||
"website": "https://github.com/OCA/stock-logistics-workflow", | ||
"depends": ["stock"], | ||
"data": [ | ||
"data/procurement_group.xml", | ||
"views/stock_move.xml", | ||
"views/stock_rule.xml", | ||
], | ||
"demo": [ | ||
"demo/stock_location.xml", | ||
"demo/stock_location_route.xml", | ||
"demo/stock_rule.xml", | ||
], | ||
"installable": True, | ||
"license": "AGPL-3", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2014-2015 NDP Systèmes (<https://www.ndp-systemes.fr>) | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record model="procurement.group" id="automatic_group"> | ||
<field name="name">Automatic</field> | ||
<field name="move_type">direct</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2014-2015 NDP Systèmes (<https://www.ndp-systemes.fr>) | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record id="stock_location_a" model="stock.location"> | ||
<field name="name">Location 1</field> | ||
<field name="location_id" ref="stock.stock_location_locations" /> | ||
<field name="active">1</field> | ||
<field name="usage">internal</field> | ||
</record> | ||
<record id="stock_location_b" model="stock.location"> | ||
<field name="name">Location 2</field> | ||
<field name="location_id" ref="stock.stock_location_locations" /> | ||
<field name="active">1</field> | ||
<field name="usage">internal</field> | ||
</record> | ||
<record id="stock_location_c" model="stock.location"> | ||
<field name="name">Location 3</field> | ||
<field name="location_id" ref="stock.stock_location_locations" /> | ||
<field name="active">1</field> | ||
<field name="usage">internal</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2014-2015 NDP Systèmes (<https://www.ndp-systemes.fr>) | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record model="stock.location.route" id="test_route"> | ||
<field name="name">Test route</field> | ||
<field name="active">1</field> | ||
<field name="sequence">20</field> | ||
<field name="product_categ_selectable" /> | ||
<field name="product_selectable">1</field> | ||
<field name="company_id" /> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2014-2015 NDP Systèmes (<https://www.ndp-systemes.fr>) | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record model="stock.rule" id="stock_rule_a_to_b"> | ||
<field name="name">1 => 2 with auto_move</field> | ||
<field name="action">pull</field> | ||
<field name="location_id" ref="stock_location_b" /> | ||
<field name="warehouse_id" ref="stock.warehouse0" /> | ||
<field name="route_id" ref="test_route" /> | ||
<field name="group_propagation_option">propagate</field> | ||
<field name="propagate_cancel" eval="True" /> | ||
<field name="picking_type_id" ref="stock.picking_type_internal" /> | ||
<field name="procure_method">make_to_stock</field> | ||
<field name="auto_move" eval="True" /> | ||
<field name="location_src_id" ref="stock_location_a" /> | ||
</record> | ||
<record model="stock.rule" id="auto_location_path"> | ||
<field name="name">Test push route 3=>1</field> | ||
<field name="location_src_id" ref="stock_location_c" /> | ||
<field name="location_id" ref="stock_location_a" /> | ||
<field name="picking_type_id" ref="stock.picking_type_internal" /> | ||
<field name="auto">transparent</field> | ||
<field name="route_id" ref="test_route" /> | ||
<field name="action">push</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_auto_move | ||
# | ||
# Translators: | ||
# Carles Antoli <[email protected]>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-01-14 08:48+0000\n" | ||
"PO-Revision-Date: 2017-01-14 08:48+0000\n" | ||
"Last-Translator: Carles Antoli <[email protected]>, 2017\n" | ||
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" | ||
"Language: ca\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: stock_auto_move | ||
#: model:procurement.rule,name:stock_auto_move.procurement_rule_a_to_b | ||
msgid "1 => 2 with auto_move" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model.fields,field_description:stock_auto_move.field_procurement_rule_auto_move | ||
#: model:ir.model.fields,field_description:stock_auto_move.field_stock_move_auto_move | ||
msgid "Automatic move" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model.fields,help:stock_auto_move.field_procurement_rule_auto_move | ||
msgid "" | ||
"If this option is selected, the generated move will be automatically " | ||
"processed as soon as the products are available. This can be useful for " | ||
"situations with chained moves where we do not want an operator action." | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model.fields,help:stock_auto_move.field_stock_move_auto_move | ||
msgid "" | ||
"If this option is selected, the move will be automatically processed as soon " | ||
"as the products are available." | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location,name:stock_auto_move.stock_location_a | ||
msgid "Location 1" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location,name:stock_auto_move.stock_location_b | ||
msgid "Location 2" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location,name:stock_auto_move.stock_location_c | ||
msgid "Location 3" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_procurement_order | ||
msgid "Procurement" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_procurement_rule | ||
msgid "Procurement Rule" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_stock_location_path | ||
msgid "Pushed Flow" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_stock_move | ||
msgid "Stock Move" | ||
msgstr "Moure l'estoc" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location.route,name:stock_auto_move.test_route | ||
msgid "Test route" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_auto_move | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 2016 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2016-11-18 01:44+0000\n" | ||
"PO-Revision-Date: 2016-11-18 01:44+0000\n" | ||
"Last-Translator: OCA Transbot <[email protected]>, 2016\n" | ||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" | ||
"Language: de\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#. module: stock_auto_move | ||
#: model:procurement.rule,name:stock_auto_move.procurement_rule_a_to_b | ||
msgid "1 => 2 with auto_move" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model.fields,field_description:stock_auto_move.field_procurement_rule_auto_move | ||
#: model:ir.model.fields,field_description:stock_auto_move.field_stock_move_auto_move | ||
msgid "Automatic move" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model.fields,help:stock_auto_move.field_procurement_rule_auto_move | ||
msgid "" | ||
"If this option is selected, the generated move will be automatically " | ||
"processed as soon as the products are available. This can be useful for " | ||
"situations with chained moves where we do not want an operator action." | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model.fields,help:stock_auto_move.field_stock_move_auto_move | ||
msgid "" | ||
"If this option is selected, the move will be automatically processed as soon " | ||
"as the products are available." | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location,name:stock_auto_move.stock_location_a | ||
msgid "Location 1" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location,name:stock_auto_move.stock_location_b | ||
msgid "Location 2" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location,name:stock_auto_move.stock_location_c | ||
msgid "Location 3" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_procurement_order | ||
msgid "Procurement" | ||
msgstr "Beschaffung" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_procurement_rule | ||
msgid "Procurement Rule" | ||
msgstr "Beschaffungsregel" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_stock_location_path | ||
msgid "Pushed Flow" | ||
msgstr "" | ||
|
||
#. module: stock_auto_move | ||
#: model:ir.model,name:stock_auto_move.model_stock_move | ||
msgid "Stock Move" | ||
msgstr "Lagerbuchung" | ||
|
||
#. module: stock_auto_move | ||
#: model:stock.location.route,name:stock_auto_move.test_route | ||
msgid "Test route" | ||
msgstr "" |
Oops, something went wrong.