Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
e3aaf61
Module to split purchase receptions by dates
Mar 17, 2014
8542815
purchase_delivery_split_date
Jun 30, 2015
991153d
migration to v9
JordiBForgeFlow Dec 27, 2016
55f975d
Datetime issue.
LoisRForgeFlow Mar 2, 2017
ddfd82b
[10.0][MIG] purchase_delivery_split_date
LoisRForgeFlow Mar 14, 2017
65fefb3
[MIG][11.0] purchase_delivery_split_date
JordiBForgeFlow Sep 16, 2018
956c21a
add new readme and travis fixes
HviorForgeFlow Oct 25, 2018
23ce951
[MIG] purchase_delivery_split_date: Migration to v12
bjeficent Dec 5, 2018
f91b50a
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
7f7f697
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
2b374e5
[FIX] _get_group_keys(): date_planned is datetime
MiquelRForgeFlow Nov 6, 2019
a131c3b
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
876ded1
[IMP] 12.0 purchase_delivery_split_date
gurneyalex Apr 10, 2020
f2b2414
[IMP] purchase_delivery_split_date: black, isort, prettier
ps-tubtim Apr 29, 2020
ade76f0
[MIG] purchase_delivery_split_date: Migration to 13.0
ps-tubtim May 13, 2020
3434d59
Translated using Weblate (German)
didierdonze Jul 22, 2020
4afcb8c
Translated using Weblate (French)
didierdonze Jul 22, 2020
1e527a0
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
161d7ad
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
efffe3a
[MIG] purchase_delivery_split_date: Migration to 14.0
SurachetS Nov 27, 2020
ccdacd5
[14.0][FIX] purchase_delivery_split_date: Error when PO has Sections …
mmarcot Feb 12, 2021
2fc3ad3
[14.0][FIX] purchase_location_by_line : Too many receipts are created…
mmarcot Feb 6, 2021
64c6f30
Fix purchase_delivery_split_date stock move in waiting
santostelmo Mar 18, 2021
81076ee
[IMP] [12.0] purchase_delivery_split_date
gurneyalex Apr 30, 2020
09645d8
[13.0][FIX] purchase_delivery_split_date
TDu May 11, 2021
807d826
[13.0][FIX] purchase_delivery_split_date with tz
TDu May 31, 2021
1a25d2a
[13.0][FIX] purchase_delivery_split pickings same date
TDu Jun 30, 2021
adefaa3
purchase_delivery_split_date: fix date_planned can be False
hparfr Jan 18, 2022
b7f92e5
[IMP] purchase_delivery_split_date: black, isort, prettier
rauferdeveloper Feb 11, 2022
6f92f29
[15.0][MIG] purchase_delivery_split_date: Migration to 15.0
rauferdeveloper Feb 11, 2022
7b8e23f
[FIX] Fixed unit test case
Nikul-OSI Apr 13, 2022
86ae04e
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 3, 2022
d8e581f
[16.0][MIG] purchase_delivery_split_date: Migration to 16.0
FernandoRomera Dec 19, 2022
92fda80
[IMP] purchase_delivery_split_date: Change tests setup to classmethod
rousseldenis Feb 16, 2023
95cf456
[IMP] purchase_delivery_split_date: Reintroduce older fix to save the…
rousseldenis Feb 16, 2023
f589a97
[IMP] purchase_delivery_split_date: Split one model per file
rousseldenis Feb 16, 2023
0211118
[IMP] purchase_delivery_split_date: Avoid too much queries
rousseldenis Feb 16, 2023
8b00184
Translated using Weblate (Italian)
francesco-ooops Apr 7, 2023
c940963
Translated using Weblate (Spanish)
Ivorra78 Jul 20, 2023
4245d44
[16.0] [IMP] purchase_delivery_split_date: Fix key access to date dict
yassine-rhimi Nov 6, 2023
4dc4e7e
[IMP] purchase_delivery_split_date: pre-commit auto fixes
nguyenminhchien Mar 14, 2024
95f729e
[MIG] purchase_delivery_split_date: Migration to 17.0
nguyenminhchien Mar 14, 2024
4f1b6b3
[FIX] purchase_delivery_split_date: do not create empty pickings
LoisRForgeFlow Jul 2, 2024
10847ce
[IMP] purchase_delivery_split_date: change scheduled_date instead of …
ThiagoMForgeFlow Jun 4, 2024
e3d041d
[IMP] purchase_delivery_split_date: pre-commit auto fixes
vvrossem Jan 17, 2025
e090f4f
[MIG] purchase_delivery_split_date: Migration to 18.0
vvrossem Jan 17, 2025
436547b
[UPD] Update purchase_delivery_split_date.pot
Feb 13, 2025
6a1813b
[BOT] post-merge updates
OCA-git-bot Feb 13, 2025
ea28d88
Update translation files
weblate Feb 13, 2025
ea1dd60
[IMP] purchase_delivery_split_date: Split improvements
rousseldenis Oct 19, 2023
0db7e9b
[FIX] purchase_delivery_split_date: Split improvements
jbaudoux Jun 5, 2025
e41468d
[FIX] purchase_delivery_split_date: Migration v18.0
jbaudoux Jun 6, 2025
4edb6cd
[UPD] Update purchase_delivery_split_date.pot
Jun 6, 2025
ff0c15f
[BOT] post-merge updates
OCA-git-bot Jun 6, 2025
c21397f
Update translation files
weblate Jun 6, 2025
0de5600
Translated using Weblate (Italian)
mymage Jun 9, 2025
07fc44e
[IMP] purchase_delivery_split_date: let all receipts inherit the PO's…
denaux Jul 10, 2025
4674129
[IMP] purchase_delivery_split_date: test picking partner matches po
vvrossem Jul 9, 2025
433d3c0
[BOT] post-merge updates
OCA-git-bot Jul 11, 2025
d67044f
[MIG] purchase_delivery_split_date: Migration to 19.0
Nov 4, 2025
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
144 changes: 144 additions & 0 deletions purchase_delivery_split_date/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

============================
Purchase Delivery Split Date
============================

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

.. |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/license-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/19.0/purchase_delivery_split_date
: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-19-0/purchase-workflow-19-0-purchase_delivery_split_date
: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=19.0
:alt: Try me on Runboat

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

When this module is installed, each Purchase Order you confirm will
generate one Incoming Shipment for each schedule date indicated in the
Purchase Order Lines.

Once the Purchase Order has been confirmed, subsequent changes made to
the scheduled dates in the PO lines will produce a reorganization of the
corresponding stock moves in the Incoming Shipments, creating/deleting
new Incoming Shipments when needed, to ensure that each Incoming
Shipment contains moves to be received in the same date.

This module is also designed for extensibility, so that you can define
in other modules new criteria to split deliveries.

**Table of contents**

.. contents::
:local:

Usage
=====

When a Purchase Order is confirmed, shipments will be grouped by same
scheduled date.

Changelog
=========

12.0.2.1.0 (2020-04-30)
-----------------------

- [FIX] when adding a new line on a confirmed PO, split the delivery
(this was done only if a date was changed on an existing line)
- [IMP] when the quantity on a line is changed, the onchange would reset
the planned date -> change this to prevent setting a date earlier than
the one on the line, since if we are using this module the user
probably has manually set the date first

12.0.2.0.0 (2020-04-10)
-----------------------

- Improve the module: when changing the date on a purchase line, this
will cause a split or a merge of the pickings, to keep 1 picking per
date.

11.0.1.0.0 (2018-09-16)
-----------------------

- Migration to 11.0.
(`#461 <https://github.com/OCA/purchase-workflow/issues/461>`__)
- When the scheduled date is changed in the PO after confirmation the
pickings are reorganized so as to force that every picking will have
only moves to be delivered on the same date.

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_delivery_split_date%0Aversion:%2019.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
-------

* Numerigraphe
* ForgeFlow
* Camptocamp
* BCIM

Contributors
------------

- Philippe Rossi <[email protected]> (initial patch against v6.0)
- Lionel Sausin <[email protected]> (modularization for v7+)
- Jordi Ballester Alomar <[email protected]> (modularization
v8, v9)
- Lois Rilo <[email protected]> (migration to v10)
- Alexandre Fayolle <[email protected]>
- Pimolnat Suntian <[email protected]>
- Mallory Marcot <[email protected]>
- Denis Roussel <[email protected]>
- Jacques-Etienne Baudoux (BCIM) <[email protected]>

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

The migration of this module from 18.0 to 19.0 was financially supported
by SprintIT Ltd.

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/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_delivery_split_date>`_ project on GitHub.

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

from . import models
20 changes: 20 additions & 0 deletions purchase_delivery_split_date/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2014-2016 Numérigraphe SARL
# Copyright 2017 ForgeFlow, S.L.
# Copyright 2021 Jacques-Etienne Baudoux (BCIM) <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Purchase Delivery Split Date",
"version": "19.0.1.0.0",
"summary": "Allows Purchase Order you confirm to generate one Incoming "
"Shipment for each expected date indicated in the Purchase Order Lines",
"author": (
"Numerigraphe, ForgeFlow, Camptocamp, BCIM, Odoo Community Association (OCA)"
),
"website": "https://github.com/OCA/purchase-workflow",
"category": "Purchase Management",
"license": "AGPL-3",
"depends": ["purchase_stock"],
"installable": True,
"application": False,
}
34 changes: 34 additions & 0 deletions purchase_delivery_split_date/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_delivery_split_date
#
# 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-02-24 13:09+0000\n"
"PO-Revision-Date: 2017-02-24 13:09+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\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: purchase_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

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

#. module: purchase_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_stock_picking
msgid "Transfer"
msgstr "Transferència"
39 changes: 39 additions & 0 deletions purchase_delivery_split_date/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_delivery_split_date
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# Rudolf Schnapka <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-24 13:09+0000\n"
"PO-Revision-Date: 2020-07-22 12:19+0000\n"
"Last-Translator: c2cdidier <[email protected]>\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"
"X-Generator: Weblate 3.10\n"

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

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

#. module: purchase_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_stock_picking
msgid "Transfer"
msgstr "Transfer"

#~ msgid "Purchase Order"
#~ msgstr "Bestellung"
39 changes: 39 additions & 0 deletions purchase_delivery_split_date/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_delivery_split_date
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# Pedro M. Baeza <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-24 13:09+0000\n"
"PO-Revision-Date: 2023-07-20 10:15+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\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"
"X-Generator: Weblate 4.17\n"

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

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

#. module: purchase_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_stock_picking
msgid "Transfer"
msgstr "Transferir"

#~ msgid "Purchase Order"
#~ msgstr "orden de compra"
39 changes: 39 additions & 0 deletions purchase_delivery_split_date/i18n/es_MX.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_delivery_split_date
#
# Translators:
# 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-02-24 13:09+0000\n"
"PO-Revision-Date: 2017-02-24 13:09+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_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de orden de compra"

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

#. module: purchase_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_stock_picking
msgid "Transfer"
msgstr ""

#, fuzzy
#~ msgid "Purchase Order"
#~ msgstr "Línea de orden de compra"
39 changes: 39 additions & 0 deletions purchase_delivery_split_date/i18n/es_PE.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_delivery_split_date
#
# Translators:
# Henry Garcia <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-15 06:42+0000\n"
"PO-Revision-Date: 2017-07-15 06:42+0000\n"
"Last-Translator: Henry Garcia <[email protected]>, 2017\n"
"Language-Team: Spanish (Peru) (https://www.transifex.com/oca/teams/23907/"
"es_PE/)\n"
"Language: es_PE\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_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Linea de orden de compra"

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

#. module: purchase_delivery_split_date
#: model:ir.model,name:purchase_delivery_split_date.model_stock_picking
msgid "Transfer"
msgstr "Transferir"

#, fuzzy
#~ msgid "Purchase Order"
#~ msgstr "Linea de orden de compra"
Loading