Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
cf39bbf
purchase_date_planned_manual
LoisRForgeFlow Apr 3, 2017
049d73c
purchase_date_planned_manual: add tests
LoisRForgeFlow Jun 20, 2017
fbf5de6
OCA Transbot updated translations from Transifex
oca-transbot Jun 24, 2017
3495d76
[MIG] purchase_date_planned_manual: Migration to 10.0
MiquelRForgeFlow Jun 26, 2017
4a96d64
[11.0][MIG] purchase_date_planned_manual
LoisRForgeFlow Oct 18, 2018
ab9b90a
Update translation files
oca-transbot Dec 2, 2018
1a5a186
[IMP] Avoid merging lines with different date_planned
MiquelRForgeFlow Jun 27, 2019
a01db50
[MIG] purchase_date_planned_manual: Migration to 12.0
HviorForgeFlow Jul 30, 2019
16b1a1f
[IMP] Update predicted_arrival_late when po change state
MiquelRForgeFlow Jul 31, 2019
d9143ed
Update translation files
oca-transbot Sep 13, 2019
c0f3d91
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 17, 2019
9d41a72
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
8047def
Translated using Weblate (Slovenian)
sysadminmatmoz Feb 24, 2021
c4da0d3
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 3, 2022
a080357
Translated using Weblate (Italian)
francesco-ooops Feb 14, 2023
c4eea89
Update translation files
weblate Oct 9, 2023
8904270
[IMP] purchase_date_planned_manual: pre-commit auto fixes
chaule97 May 27, 2024
2489efe
[MIG] purchase_date_planned_manual: Migration to 16.0
chaule97 May 27, 2024
0aec8b9
[UPD] Update purchase_date_planned_manual.pot
Jun 10, 2024
c86557c
[BOT] post-merge updates
OCA-git-bot Jun 10, 2024
1769534
Translated using Weblate (Italian)
mymage Jun 15, 2024
dfea522
[IMP] purchase_date_planned_manual: do not merge even if procurements…
LoisRForgeFlow Sep 1, 2025
b2bd854
[UPD] purchase_date_planned_manual: Eficent -> ForgeFlow
LoisRForgeFlow Sep 1, 2025
c105349
[UPD] Update purchase_date_planned_manual.pot
Oct 7, 2025
2fe8088
[BOT] post-merge updates
OCA-git-bot Oct 7, 2025
ddf1bda
Update translation files
weblate Oct 7, 2025
84d861b
Translated using Weblate (Portuguese (Brazil))
rodmad85 Jan 21, 2026
8ee3bc3
[IMP][AI] purchase_date_planned_manual: pre-commit auto fixes
DavidJForgeFlow Mar 1, 2026
e51bb0c
[MIG][AI] purchase_date_planned_manual: Migration to 18.0
DavidJForgeFlow Mar 1, 2026
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
114 changes: 114 additions & 0 deletions purchase_date_planned_manual/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
============================
Purchase Date Planned Manual
============================

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

.. |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/18.0/purchase_date_planned_manual
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_date_planned_manual
: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/purchase-workflow&target_branch=18.0
:alt: Try me on Runboat

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

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:

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

Or:

1. Create a procurement order for a product that can be bought and have
the route 'buy' activated.
2. Run the procurement.
3. 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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_date_planned_manual%0Aversion:%2018.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
------------

- Lois Rilo <lois.rilo@forgeflow.com>
- Chau Le <chaulb@trobz.com>

Other credits
-------------

The migration of this module from 12.0 to 16.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.

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

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

|maintainer-LoisRForgeFlow|

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.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
21 changes: 21 additions & 0 deletions purchase_date_planned_manual/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2017-25 ForgeFlow S.L. (http://www.forgeflow.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": "18.0.1.0.0",
"development_status": "Mature",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"maintainers": ["LoisRForgeFlow"],
"website": "https://github.com/OCA/purchase-workflow",
"category": "Purchase Management",
"depends": ["purchase_stock"],
"data": [
"views/purchase_order_view.xml",
],
"license": "AGPL-3",
"installable": True,
"application": False,
}
61 changes: 61 additions & 0 deletions purchase_date_planned_manual/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_date_planned_manual
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <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: purchase_date_planned_manual
#: model_terms: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_purchase_order_line
msgid "Purchase Order Line"
msgstr "Bestellposition"

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_stock_rule
msgid "Stock Rule"
msgstr ""

#. module: purchase_date_planned_manual
#. odoo-python
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:0
#, 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 "Procurement"
#~ msgstr "Beschaffung"

#~ msgid "Purchase Order"
#~ msgstr "Bestellauftrag"
61 changes: 61 additions & 0 deletions purchase_date_planned_manual/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_date_planned_manual
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <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: purchase_date_planned_manual
#: model_terms: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_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea orden de compra"

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_stock_rule
msgid "Stock Rule"
msgstr ""

#. module: purchase_date_planned_manual
#. odoo-python
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:0
#, 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 "Procurement"
#~ msgstr "Abastecimiento"

#~ msgid "Purchase Order"
#~ msgstr "Pedido de compra"
60 changes: 60 additions & 0 deletions purchase_date_planned_manual/i18n/es_MX.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_date_planned_manual
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Juan González <bifomania@protonmail.com>, 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 <bifomania@protonmail.com>, 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_terms: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_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de orden de compra"

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_stock_rule
msgid "Stock Rule"
msgstr ""

#. module: purchase_date_planned_manual
#. odoo-python
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:0
#, 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 "Procurement"
#~ msgstr "Contratación"
59 changes: 59 additions & 0 deletions purchase_date_planned_manual/i18n/fi.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_date_planned_manual
#
# Translators:
# Timo Talvitie <timo.talvitie@vizucom.com>, 2017
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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_terms: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_purchase_order_line
msgid "Purchase Order Line"
msgstr "Ostotilausrivi"

#. module: purchase_date_planned_manual
#: model:ir.model,name:purchase_date_planned_manual.model_stock_rule
msgid "Stock Rule"
msgstr ""

#. module: purchase_date_planned_manual
#. odoo-python
#: code:addons/purchase_date_planned_manual/models/purchase_order.py:0
#, 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
Loading