Skip to content

Commit

Permalink
Merge pull request #568 from kittiu/12.0-mig2-stock_orderpoint_uom
Browse files Browse the repository at this point in the history
[12.0][MIG] stock_orderpoint_uom
  • Loading branch information
LoisRForgeFlow committed Apr 4, 2019
2 parents 0114581 + b7bfc8f commit e6ac6be
Show file tree
Hide file tree
Showing 37 changed files with 2,055 additions and 0 deletions.
94 changes: 94 additions & 0 deletions stock_orderpoint_uom/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
====================
Stock Orderpoint UoM
====================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-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--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_orderpoint_uom
: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-12-0/stock-logistics-warehouse-12-0-stock_orderpoint_uom
: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/12.0
:alt: Try me on Runbot

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

This module allows users users to define what unit of measure should be used
in procurements created from minimum stock rules.

A typical use case would be a product that is stocked in centimeters, and
needs to be restocked in meters from another warehouse. When the picking is
created, the quantity to be transferred will be expressed in meters, making
it easier for the people responsible for the transfers to understand the
requirement.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to 'Inventory > Configuration > Settings'
and enable 'Sell and purchase products in different units of measure' option.

Usage
=====

Go to 'Inventory > Master Data > Reordering Rules' and indicate a Procurement UoM.

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_orderpoint_uom%0Aversion:%2012.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
~~~~~~~

* Eficent

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

* Jordi Ballester Alomar <jordi.ballester@eficent.com>
* Lois Rilo <lois.rilo@eficent.com>
* Bhavesh Odedra <bodedra@opensourceintegrators.com>
* 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-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_orderpoint_uom>`_ 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_orderpoint_uom/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2016-17 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
18 changes: 18 additions & 0 deletions stock_orderpoint_uom/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2016-17 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Stock Orderpoint UoM",
"summary": "Allows to create procurement orders in the UoM indicated in "
"the orderpoint",
"version": "12.0.1.0.0",
"author": "Eficent, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse Management",
"depends": ["purchase", "stock"],
"data": ["views/stock_warehouse_orderpoint_view.xml"],
"license": "AGPL-3",
'installable': True,
'application': False,
}
56 changes: 56 additions & 0 deletions stock_orderpoint_uom/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_orderpoint_uom
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-16 14:36+0000\n"
"PO-Revision-Date: 2018-01-16 14:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\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_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/product_template.py:21
#, python-format
msgid ""
"At least one reordering rule for this product has a different Procurement "
"unit of measure category."
msgstr ""

#. module: stock_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23
#, python-format
msgid ""
"Error: The product default Unit of Measure and the procurement Unit of "
"Measure must be in the same category."
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint
msgid "Minimum Inventory Rule"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group
msgid "Procurement Requisition"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id
msgid "Procurement UoM"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_product_template
msgid "Product Template"
msgstr "Plantilla del producte"
56 changes: 56 additions & 0 deletions stock_orderpoint_uom/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_orderpoint_uom
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-16 14:36+0000\n"
"PO-Revision-Date: 2018-01-16 14:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\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_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/product_template.py:21
#, python-format
msgid ""
"At least one reordering rule for this product has a different Procurement "
"unit of measure category."
msgstr ""

#. module: stock_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23
#, python-format
msgid ""
"Error: The product default Unit of Measure and the procurement Unit of "
"Measure must be in the same category."
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint
msgid "Minimum Inventory Rule"
msgstr "Mindestbestandsregel"

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group
msgid "Procurement Requisition"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id
msgid "Procurement UoM"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_product_template
msgid "Product Template"
msgstr "Produktvorlage"
56 changes: 56 additions & 0 deletions stock_orderpoint_uom/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_orderpoint_uom
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-16 14:36+0000\n"
"PO-Revision-Date: 2018-01-16 14:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/product_template.py:21
#, python-format
msgid ""
"At least one reordering rule for this product has a different Procurement "
"unit of measure category."
msgstr ""

#. module: stock_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23
#, python-format
msgid ""
"Error: The product default Unit of Measure and the procurement Unit of "
"Measure must be in the same category."
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint
msgid "Minimum Inventory Rule"
msgstr "Regla de inventario mínimo"

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group
msgid "Procurement Requisition"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id
msgid "Procurement UoM"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_product_template
msgid "Product Template"
msgstr "Plantilla de producto"
57 changes: 57 additions & 0 deletions stock_orderpoint_uom/i18n/es_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_orderpoint_uom
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-28 03:50+0000\n"
"PO-Revision-Date: 2017-12-28 03:50+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/"
"es_ES/)\n"
"Language: es_ES\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_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/product_template.py:21
#, python-format
msgid ""
"At least one reordering rule for this product has a different Procurement "
"unit of measure category."
msgstr ""

#. module: stock_orderpoint_uom
#: code:addons/stock_orderpoint_uom/models/stock_warehouse_orderpoint.py:23
#, python-format
msgid ""
"Error: The product default Unit of Measure and the procurement Unit of "
"Measure must be in the same category."
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_stock_warehouse_orderpoint
msgid "Minimum Inventory Rule"
msgstr "Regla inventario mínimo"

#. module: stock_orderpoint_uom
#: model:ir.model,name:stock_orderpoint_uom.model_procurement_group
msgid "Procurement Requisition"
msgstr ""

#. module: stock_orderpoint_uom
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_procure_uom_id
#: model:ir.model.fields,field_description:stock_orderpoint_uom.field_stock_warehouse_orderpoint_template_procure_uom_id
msgid "Procurement UoM"
msgstr ""

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

0 comments on commit e6ac6be

Please sign in to comment.