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

[11.0][MIG] purchase_date_planned_manual #597

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
100 changes: 100 additions & 0 deletions purchase_date_planned_manual/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
============================
Purchase Date Planned Manual
============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |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%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/11.0/purchase_date_planned_manual
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/142/11.0
:alt: Try me on Runbot

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

This module makes the system to always respect the planned (or scheduled)
date set by the user when creating a Purchase Order.

Additionally, this module modifies the PO views and sets in red the lines
that are predicted to arrive late compared to the scheduled date and vendor
lead time.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module you could follow any of the two options below:

#. Go to 'Purchase' and create a purchase order.
#. Manually set the scheduled date in the PO lines.
#. This date will never be modified by the system and the lines that are
expected to be late are highlighted in red.

Or:

#. Create a procurement order for a product that can be bought and have the
route 'buy' activated.
#. Run the procurement.
#. Now the scheduled date in the procurement is respected even if the line is
added to a previously existing PO.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-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.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Eficent

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

* Lois Rilo <[email protected]>

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.

.. |maintainer-lreficent| image:: https://github.com/lreficent.png?size=40px
:target: https://github.com/lreficent
:alt: lreficent

Current `maintainer <https://odoo-community.org/page/maintainer-role>`_:

|maintainer-lreficent|

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/11.0/purchase_date_planned_manual>`_ 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 purchase_date_planned_manual/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions purchase_date_planned_manual/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2017 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": "Purchase Date Planned Manual",
"summary": "This module makes the system to always respect the planned "
"(or scheduled) date in PO lines.",
"version": "11.0.1.0.0",
"development_status": "Mature",
"author": "Eficent, "
"Odoo Community Association (OCA)",
"maintainers": ["lreficent"],
"website": "https://github.com/OCA/purchase-workflow",
"category": "Purchase Management",
"depends": ["purchase"],
"data": [
'views/purchase_order_view.xml',
],
"license": "AGPL-3",
"installable": True,
"application": False,
}
57 changes: 57 additions & 0 deletions purchase_date_planned_manual/i18n/de.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:
# * purchase_date_planned_manual
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-23 00:46+0000\n"
"PO-Revision-Date: 2017-06-23 00:46+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 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: purchase_date_planned_manual
#: model:ir.ui.view,arch_db:purchase_date_planned_manual.view_purchase_order_form
msgid "Arriving late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,field_description:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid "Planned to be late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_procurement_order
msgid "Procurement"
msgstr "Beschaffung"

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Bestellposition"

#. module: purchase_date_planned_manual
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:51
#, python-format
msgid ""
"This line is scheduled for: %s. \n"
" However it is now planned to arrive late."
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,help:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid ""
"True if the arrival at scheduled date is planned to be late. Takes into "
"account the vendor lead time and the company margin for lead times."
msgstr ""

#~ msgid "Purchase Order"
#~ msgstr "Bestellauftrag"
57 changes: 57 additions & 0 deletions purchase_date_planned_manual/i18n/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:
# * purchase_date_planned_manual
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-23 00:46+0000\n"
"PO-Revision-Date: 2017-06-23 00:46+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 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: purchase_date_planned_manual
#: model:ir.ui.view,arch_db:purchase_date_planned_manual.view_purchase_order_form
msgid "Arriving late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,field_description:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid "Planned to be late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_procurement_order
msgid "Procurement"
msgstr "Abastecimiento"

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea orden de compra"

#. module: purchase_date_planned_manual
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:51
#, python-format
msgid ""
"This line is scheduled for: %s. \n"
" However it is now planned to arrive late."
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,help:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid ""
"True if the arrival at scheduled date is planned to be late. Takes into "
"account the vendor lead time and the company margin for lead times."
msgstr ""

#~ msgid "Purchase Order"
#~ msgstr "Pedido de compra"
56 changes: 56 additions & 0 deletions purchase_date_planned_manual/i18n/es_MX.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:
# * purchase_date_planned_manual
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# Juan González <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-23 00:46+0000\n"
"PO-Revision-Date: 2017-06-23 00:46+0000\n"
"Last-Translator: Juan González <[email protected]>, 2017\n"
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/"
"es_MX/)\n"
"Language: es_MX\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: purchase_date_planned_manual
#: model:ir.ui.view,arch_db:purchase_date_planned_manual.view_purchase_order_form
msgid "Arriving late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,field_description:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid "Planned to be late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_procurement_order
msgid "Procurement"
msgstr "Contratación"

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de orden de compra"

#. module: purchase_date_planned_manual
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:51
#, python-format
msgid ""
"This line is scheduled for: %s. \n"
" However it is now planned to arrive late."
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,help:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid ""
"True if the arrival at scheduled date is planned to be late. Takes into "
"account the vendor lead time and the company margin for lead times."
msgstr ""
58 changes: 58 additions & 0 deletions purchase_date_planned_manual/i18n/fi.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_date_planned_manual
#
# Translators:
# Timo Talvitie <[email protected]>, 2017
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-23 00:46+0000\n"
"PO-Revision-Date: 2017-06-23 00:46+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
"Language: fi\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: purchase_date_planned_manual
#: model:ir.ui.view,arch_db:purchase_date_planned_manual.view_purchase_order_form
msgid "Arriving late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,field_description:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid "Planned to be late"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_procurement_order
msgid "Procurement"
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Ostotilausrivi"

#. module: purchase_date_planned_manual
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:51
#, python-format
msgid ""
"This line is scheduled for: %s. \n"
" However it is now planned to arrive late."
msgstr ""

#. module: purchase_date_planned_manual
#: model:ir.model.fields,help:purchase_date_planned_manual.field_purchase_order_line_predicted_arrival_late
msgid ""
"True if the arrival at scheduled date is planned to be late. Takes into "
"account the vendor lead time and the company margin for lead times."
msgstr ""

#~ msgid "Purchase Order"
#~ msgstr "Ostotilaus"
Loading