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

[15.0][MIG] stock_orderpoint_manual_procurement: Migration to version 15.0 #1641

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
65ebd9b
stock_orderpoint_manual_procurement (#210)
JordiBForgeFlow Dec 22, 2016
b3cdcd7
stock_orderpoint_manual_procurement: Migrated to 9.0
LoisRForgeFlow Dec 22, 2016
4ea1b1a
[10.0][MIG] stock_orderpoint_manual_procurement
LoisRForgeFlow Mar 15, 2017
3321314
[10.0][REW] remove dependency with stock_orderpoint_uom
LoisRForgeFlow Jan 2, 2018
141ca36
[MIG] stock_orderpoint_manual_procurement: Migration to 11.0
Feb 27, 2018
a14e10a
[IMP] wizard button standard & QTY readonly if no access
Mar 8, 2018
448fb3a
[FIX] orderpoint quantity
Mar 12, 2018
6e8cf4c
[IMP] set UoM values from wizard line UoM
Mar 20, 2018
016d2f7
[11.0][FIX] stock_orderpoint_manual_procurement: readd date_planned t…
LoisRForgeFlow Apr 12, 2018
7d01d5b
[11.0][IMP] stock_orderpoint_manual_procurement: add test case
LoisRForgeFlow Apr 25, 2018
13fe43c
[Fix] Convert date_planned string to datetime string
grindtildeath May 25, 2018
ecb4193
[11.0][IMP] Improve module stock_orderpoint_manual_procurement
AdriaGForgeFlow Dec 21, 2018
9013923
[11.0][FIX] stock_orderpoint_manual_procurement: pass requested_uid i…
LoisRForgeFlow Jan 15, 2019
c1ba2c9
[12.0][MIG] stock_orderpoint_manual_procurement
kittiu Mar 16, 2019
c49522d
[IMP] dependencies
MiquelRForgeFlow Jul 15, 2019
42feb8b
[IMP] stock_orderpoint_manual_procurement: black, isort
JoanSForgeFlow Jan 20, 2020
f7ed99f
[MIG] stock_orderpoint_manual_procurement: Migration to 13.0
JoanSForgeFlow Jan 20, 2020
42998ee
[MIG] stock_orderpoint_manual_procurement: Migration to 14.0
dzungtran89 May 6, 2021
c9e0e1c
[FIX] s_o_manual_procurement: handle NewId (test)
sebalix Jul 30, 2021
d3cf554
[FIX] s_o_manual_procurement: handle NewId (fix)
sebalix Jul 30, 2021
96d2c1a
[FIX] stock_orderpoint_manual_procurement: wrong parameter in _prepar…
mariadforgeflow Feb 9, 2022
0bd4a37
[FIX] s_o_manual_procurement: fix heavy request if no orderpoint
sebalix Apr 7, 2022
2055119
[IMP] Update templates with copier
rousseldenis May 16, 2022
3eae79d
[FIX] stock_orderpoint_manual_procurement: Change assertEquals to ass…
victoralmau Oct 21, 2022
bdc182e
[IMP] stock_orderpoint_manual_procurement: black, isort, prettier
ernesto-garcia-tecnativa Feb 16, 2023
0870f76
[MIG] stock_orderpoint_manual_procurement: Migration to 15.0
ernesto-garcia-tecnativa Feb 16, 2023
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_manual_procurement/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,
)
104 changes: 104 additions & 0 deletions stock_orderpoint_manual_procurement/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
===================================
Stock Orderpoint Manual Procurement
===================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/14.0/stock_orderpoint_manual_procurement
: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-14-0/stock-logistics-warehouse-14-0-stock_orderpoint_manual_procurement
: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/14.0
:alt: Try me on Runbot

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

This module allows users to manually start procurements from the list of reordering rules,
based on the quantity that is recommended to be procured.

**Table of contents**

.. contents::
:local:

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

If you want users to be able to change the recommended quantity to procure,
you should assign them to the security group
'Change quantity in manual procurements from reordering rules',
under 'Settings / Users / Users'.

Usage
=====

Go to 'Inventory > Master Data > Reordering Rules' and review the quantity recommended to be procured.
You can now start the procurement for a single or a list of reordering rules.

The recommended quantity to procure is adjusted to the
procurement unit of measure indicated in the reordering rule.

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_manual_procurement%0Aversion:%2014.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
~~~~~~~

* ForgeFlow

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

* Jordi Ballester Alomar <[email protected]>
* Lois Rilo Antelo <[email protected]>
* Bhavesh Odedra <[email protected]>
* Kitti Upariphutthiphong <[email protected]>
* Joan Sisquella Andrés <[email protected]>

* `Trobz <https://trobz.com>`_:

* Dung Tran <[email protected]>

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

The migration of this module from 13.0 to 14.0 was 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-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_orderpoint_manual_procurement>`_ project on GitHub.

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

from . import models
from . import wizards
23 changes: 23 additions & 0 deletions stock_orderpoint_manual_procurement/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2016-20 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Stock Orderpoint Manual Procurement",
"summary": "Allows to create procurement orders from orderpoints instead "
"of relying only on the scheduler.",
"version": "15.0.1.0.0",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse Management",
"depends": ["purchase_stock"],
"demo": ["demo/product.xml"],
"data": [
"security/stock_orderpoint_manual_procurement_security.xml",
"security/ir.model.access.csv",
"wizards/make_procurement_orderpoint_view.xml",
"views/stock_warehouse_orderpoint_view.xml",
],
"license": "AGPL-3",
"installable": True,
"application": False,
}
10 changes: 10 additions & 0 deletions stock_orderpoint_manual_procurement/demo/product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" ?>
<odoo noupdate="1">
<record id="product_supplierinfo_product_7" model="product.supplierinfo">
<field name="product_tmpl_id" ref="product.product_product_7" />
<field name="name" ref="base.res_partner_3" />
<field name="delay">3</field>
<field name="min_qty">1</field>
<field name="price">72</field>
</record>
</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_orderpoint_manual_procurement
#
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: stock_orderpoint_manual_procurement
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procure_without_security
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procurment_buffer_wizard
msgid "Cancel"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:res.groups,name:stock_orderpoint_manual_procurement.group_change_orderpoint_procure_qty
msgid "Change quantity in manual procurements from reordering rules"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_warehouse_orderpoint_tree
msgid "Create Procurement"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint__create_uid
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__create_uid
msgid "Created by"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint__create_date
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__create_date
msgid "Created on"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint__display_name
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__display_name
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_stock_warehouse_orderpoint__display_name
msgid "Display Name"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procure_without_security
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procurment_buffer_wizard
msgid "Execute"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint__id
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__id
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_stock_warehouse_orderpoint__id
msgid "ID"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint__item_ids
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procure_without_security
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procurment_buffer_wizard
msgid "Items"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint____last_update
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item____last_update
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_stock_warehouse_orderpoint____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint__write_uid
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__write_uid
msgid "Last Updated by"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint__write_date
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__write_date
msgid "Last Updated on"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__location_id
msgid "Location"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model,name:stock_orderpoint_manual_procurement.model_make_procurement_orderpoint_item
msgid "Make Procurements from Orderpoint Item"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model,name:stock_orderpoint_manual_procurement.model_make_procurement_orderpoint
msgid "Make Procurements from Orderpoints"
msgstr ""

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

#. module: stock_orderpoint_manual_procurement
#: code:addons/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py:0
#, python-format
msgid "No reordering rule found!"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__date_planned
msgid "Planned Date"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_stock_warehouse_orderpoint__procure_recommended_qty
msgid "Procure Recommendation"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procure_without_security
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procurment_buffer_wizard
msgid "Procurement Request"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__product_id
msgid "Product"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__qty
msgid "Qty"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__qty_without_security
msgid "Quantity"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: code:addons/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py:0
#, python-format
msgid "Quantity must be positive."
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_stock_warehouse_orderpoint__procure_recommended_date
msgid "Recommended Request Date"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__orderpoint_id
msgid "Reordering rule"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.actions.act_window,name:stock_orderpoint_manual_procurement.act_make_procurement_from_orderpoint
msgid "Request Procurement"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__uom_id
msgid "Unit of Measure"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procure_without_security
#: model_terms:ir.ui.view,arch_db:stock_orderpoint_manual_procurement.view_make_procurment_buffer_wizard
msgid ""
"Use this assistant to generate a procurement request for this\n"
" stock buffer. According to the product configuration,\n"
" this may trigger a draft purchase order, a manufacturing\n"
" order or a transfer picking."
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__warehouse_id
msgid "Warehouse"
msgstr ""

#. module: stock_orderpoint_manual_procurement
#: model:ir.model.fields,field_description:stock_orderpoint_manual_procurement.field_make_procurement_orderpoint_item__wiz_id
msgid "Wizard"
msgstr ""
Loading