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

[16.0][MIG] stock_orderpoint_mto_as_mts #14

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
27d6b2b
Create module sale_stock_mto_as_mts_orderpoint
grindtildeath Aug 13, 2020
f1b0cb2
Check move state in selection of delivery move
grindtildeath Aug 18, 2020
8c9d578
[UPD] Update sale_stock_mto_as_mts_orderpoint.pot
oca-travis Aug 27, 2020
dff07a6
[UPD] README.rst
OCA-git-bot Aug 27, 2020
290d152
[ADD] icon.png
OCA-git-bot Aug 27, 2020
3a5305b
sale_stock_mto_as_mts_orderpoint 13.0.1.2.1
OCA-git-bot Aug 27, 2020
6fd8842
[13.0][FIX] sale_stock_mto_as_mts_orderpoint
TDu Dec 9, 2020
cd7682f
sale_stock_mto_as_mts_orderpoint 13.0.1.2.2
OCA-git-bot Dec 22, 2020
a4b8aa0
[IMP] sale_stock_mto_as_mts_orderpoint: black, isort, prettier
dzungtran89 Jan 11, 2021
2102478
[MIG] sale_stock_mto_as_mts_orderpoint: Migration to 14.0
dzungtran89 Jan 11, 2021
bc4c413
[UPD] Update sale_stock_mto_as_mts_orderpoint.pot
oca-travis Oct 7, 2021
2eb4faa
[FIX] sale_stock_mto_as_mts_orderpoint: support product set
sebalix Sep 30, 2020
23d7137
[IMP] sale_stock_mto_as_mts_orderpoint: test coverage
sebalix Jan 18, 2021
32ce056
sale_stock_mto_as_mts_orderpoint 14.0.1.0.1
OCA-git-bot Nov 30, 2021
3476f17
[UPD] README.rst
OCA-git-bot Sep 3, 2023
dc8e5cd
[FIX] black, isort, prettier
sergiocorato Oct 18, 2023
bd39817
[BOT] post-merge updates
OCA-git-bot Oct 24, 2023
fb1b593
Added translation using Weblate (Italian)
mymage Jan 22, 2024
dcf6c54
[IMP] sale_stock_mto_as_mts_orderpoint: apply pre-commit auto fixes
tuantrantg Apr 12, 2024
cb7ac20
[REF] stock_orderpoint_mto_as_mts: Rename module from sale_stock_mto_…
tuantrantg Apr 16, 2024
fc51a5d
[IMP] stock_orderpoint_mto_as_mts
tuantrantg Apr 16, 2024
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
6 changes: 6 additions & 0 deletions setup/stock_orderpoint_mto_as_mts/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,
)
109 changes: 109 additions & 0 deletions stock_orderpoint_mto_as_mts/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
================================
Sale Stock Mto As Mts Orderpoint
================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c8b1ce07ee2789445838ad44716c9e14a30bc2f72ed5b4cf970336217b7fdf4e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--orderpoint-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-orderpoint/tree/16.0/stock_orderpoint_mto_as_mts
:alt: OCA/stock-logistics-orderpoint
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_orderpoint_mto_as_mts
: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-orderpoint&target_branch=16.0
:alt: Try me on Runboat

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

This module aims to materialize the triggering of another stock rule through
an orderpoint in the procurement of MTO products from a sale order.

When a sales order is confirmed, if the delivery order move is generated by
the stock rule linked to the standard MTO route, and the MTO route is marked
on the product, an orderpoint will be created on the Stock location of the
warehouse, with min/max quantities of zero.

This allows to regenerate procurement according to the procure_recommended_qty
using module `stock_orderpoint_manual_procurement`.

Finally, orderpoints with min/max quantities of zero will be archived if the
MTO route is removed on the product.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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

* Do not rely on original MTO record and have something configurable instead.

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

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

* BCIM
* Camptocamp

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

* Akim Juillerat <[email protected]>
* Jacques-Etienne Baudoux (BCIM) <[email protected]>
* ACSONE SA/NV
* Dung Tran <[email protected]>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Camptocamp

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-orderpoint <https://github.com/OCA/stock-logistics-orderpoint/tree/16.0/stock_orderpoint_mto_as_mts>`_ 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_orderpoint_mto_as_mts/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions stock_orderpoint_mto_as_mts/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2020 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
{
"name": "Sale Stock Mto As Mts Orderpoint",
"summary": "Materialize need from MTO route through orderpoint",
"version": "16.0.1.0.0",
"development_status": "Alpha",
"category": "Operations/Inventory/Delivery",
"website": "https://github.com/OCA/stock-logistics-orderpoint",
"author": "BCIM, Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"base_partition",
"product_route_mto",
"stock",
"stock_orderpoint_default_location",
],
"data": [
"views/stock_warehouse_views.xml",
],
}
64 changes: 64 additions & 0 deletions stock_orderpoint_mto_as_mts/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_stock_mto_as_mts_orderpoint
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\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: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse__display_name
msgid "Display Name"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse__id
msgid "ID"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__is_from_mto_route
msgid "Is From Mto Route"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_stock_warehouse
msgid "Warehouse"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_stock_mto_as_mts_orderpoint
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse__display_name
msgid "Display Name"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse__id
msgid "ID"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__is_from_mto_route
msgid "Is From Mto Route"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_stock_warehouse
msgid "Warehouse"
msgstr ""
2 changes: 2 additions & 0 deletions stock_orderpoint_mto_as_mts/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import product_product
from . import stock_warehouse
Loading
Loading