Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b6b676f
[12.0][ADD]supplier_calendar
NuriaXifre Mar 19, 2020
46054d5
[UPD] Update supplier_calendar.pot
oca-travis Apr 7, 2020
b5f1adb
[UPD] README.rst
OCA-git-bot Apr 7, 2020
8407874
[IMP] : black, isort, prettier
NuriaXifre May 4, 2020
893f67e
[13.0][MIG] supplier_calendar
NuriaXifre May 4, 2020
dec4211
[UPD] Update supplier_calendar.pot
oca-travis May 18, 2020
c938288
[UPD] README.rst
OCA-git-bot May 18, 2020
b22a34e
fixup! fixup! fixup! fixup! [ADD] purchase_delays
mmequignon Jun 25, 2020
5e0e638
[FIX] Delete empty " " spaces in same string line
MiquelRForgeFlow Sep 30, 2020
fd8153a
[IMP] *: pre-commit execution
joao-p-marques Aug 5, 2021
bc68750
[UPD] README.rst
OCA-git-bot Sep 3, 2023
5539553
[MIG] supplier_calendar: Migration to 14.0
LoisRForgeFlow Dec 4, 2023
7a98022
[UPD] Update supplier_calendar.pot
Dec 5, 2023
b8f7e32
[MIG] supplier_calendar: Migration to 15.0
DavidJForgeFlow Dec 15, 2023
4757b72
[MIG] supplier_calendar: Migration to 16.0
DavidJForgeFlow Dec 18, 2023
1663bd6
[UPD] Update supplier_calendar.pot
Dec 29, 2023
ca70486
[BOT] post-merge updates
OCA-git-bot Dec 29, 2023
4bde9f1
Added translation using Weblate (Italian)
mymage Jan 3, 2024
f30c446
Translated using Weblate (Italian)
mymage Jan 3, 2024
a40b4e8
Added translation using Weblate (Spanish)
Ivorra78 Feb 11, 2024
788f5ca
Translated using Weblate (Spanish)
Ivorra78 Feb 11, 2024
1d6364f
[IMP] supplier_calendar: robustness
LoisRForgeFlow Apr 25, 2024
69b4108
[BOT] post-merge updates
OCA-git-bot Apr 26, 2024
7977b18
[IMP] supplier_calendar: pre-commit auto fixes
bizzappdev May 3, 2024
fbbc312
[MIG] supplier_calendar: Migration to 17.0
bizzappdev May 3, 2024
e623618
[UPD] Update supplier_calendar.pot
May 29, 2024
8331103
[BOT] post-merge updates
OCA-git-bot May 29, 2024
21e78f7
[MIG] supplier_calendar: Migration to 18.0
ThiagoMForgeFlow Mar 17, 2025
5b87612
[UPD] Update supplier_calendar.pot
Mar 19, 2025
495aab1
[BOT] post-merge updates
OCA-git-bot Mar 19, 2025
f0f78dc
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jun 25, 2025
dfefe30
[MIG] supplier_calendar: Migration to 19.0
BhaveshHeliconia May 5, 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
122 changes: 122 additions & 0 deletions supplier_calendar/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=================
Supplier Calendar
=================

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

.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-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/supplier_calendar
: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-supplier_calendar
: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|

This module adds a Calendar to the ResPartner model. This calendar can
then used as the basis of the proper computation of start/end dates
based on the delivery lead time of the supplier in this and other
modules.

In this module, the calendar is considered in the computation of the
schedules date of a stock picking and in the order date of a purchase
order.

**Table of contents**

.. contents::
:local:

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

- Go to *Settings* and activate the developer mode.
- Go to *Settings > Technical > Resource > Working Schedules* and define
your resource calendar.
- Go to *Contacts > Sales&Purchases > Purchase > Delay Calendar Type*
and assign Supplier Calendar and in *Factory Calendar* assign the
Resource Calendar desired.

Usage
=====

When a picking is created from a purchase order of a supplier, the lead
time used to calculate the scheduled date is computed in natural days.
At the same time, when a purchase order is created due to a a
procurement evaluation, its order date is also computed considering the
lead time in natural days. THis module adds the possibility of
expressing the lead time of a vendor in his own calendar. This way, the
order dates of purchase orders and the scheduled dates of receipts will
only take into account the supplier working days.

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:%20supplier_calendar%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
-------

* ForgeFlow

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

- Núria Martín <nuria.martin@forgeflow.com>
- Jordi Ballester <jordi.ballester@forgeflow.com>
- Lois Rilo <lois.rilo@eforgeflow>
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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/19.0/supplier_calendar>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions supplier_calendar/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# License LGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import models
17 changes: 17 additions & 0 deletions supplier_calendar/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2020 ForgeFlow
# License LGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Supplier Calendar",
"summary": "Supplier Calendar",
"version": "19.0.1.0.0",
"website": "https://github.com/OCA/purchase-workflow",
"category": "Purchase Management",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"maintainers": ["LoisRForgeFlow"],
"license": "LGPL-3",
"application": False,
"installable": True,
"auto_install": False,
"depends": ["purchase_stock", "resource"],
"data": ["views/res_partner_view.xml", "views/product_view.xml"],
}
60 changes: 60 additions & 0 deletions supplier_calendar/i18n/es.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:
# * supplier_calendar
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-11 19:34+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\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: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_product_supplierinfo__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__delay_calendar_type
msgid "Delay Calendar Type"
msgstr "Tipo de Calendario de Retraso"

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__factory_calendar_id
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__factory_calendar_id
msgid "Factory Calendar"
msgstr "Calendario de Fábrica"

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__natural
msgid "Natural days"
msgstr "Días naturales"

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de Orden de Compra"

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_stock_rule
msgid "Stock Rule"
msgstr "Regla de Existencias"

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__supplier_calendar
msgid "Supplier Calendar"
msgstr "Calendario de Proveedores"

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_product_supplierinfo
msgid "Supplier Pricelist"
msgstr "Lista de Precios de Proveedor"
60 changes: 60 additions & 0 deletions supplier_calendar/i18n/it.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:
# * supplier_calendar
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-03 10:37+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_res_partner
msgid "Contact"
msgstr "Contatto"

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_product_supplierinfo__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__delay_calendar_type
msgid "Delay Calendar Type"
msgstr "Tipo ritardo calendario"

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__factory_calendar_id
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__factory_calendar_id
msgid "Factory Calendar"
msgstr "Calendario di fabbrica"

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__natural
msgid "Natural days"
msgstr "Giorni solari"

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Riga ordine di acquisto"

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_stock_rule
msgid "Stock Rule"
msgstr "Regola di giacenza"

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__supplier_calendar
msgid "Supplier Calendar"
msgstr "Calendario fornitore"

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_product_supplierinfo
msgid "Supplier Pricelist"
msgstr "Listino prezzi fornitore"
58 changes: 58 additions & 0 deletions supplier_calendar/i18n/pt_BR.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:
# * supplier_calendar
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: pt_BR\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: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_res_partner
msgid "Contact"
msgstr ""

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_product_supplierinfo__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__delay_calendar_type
msgid "Delay Calendar Type"
msgstr ""

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__factory_calendar_id
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__factory_calendar_id
msgid "Factory Calendar"
msgstr ""

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__natural
msgid "Natural days"
msgstr ""

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

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

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__supplier_calendar
msgid "Supplier Calendar"
msgstr ""

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_product_supplierinfo
msgid "Supplier Pricelist"
msgstr ""
57 changes: 57 additions & 0 deletions supplier_calendar/i18n/supplier_calendar.pot
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:
# * supplier_calendar
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.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: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_res_partner
msgid "Contact"
msgstr ""

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_product_supplierinfo__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__delay_calendar_type
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__delay_calendar_type
msgid "Delay Calendar Type"
msgstr ""

#. module: supplier_calendar
#: model:ir.model.fields,field_description:supplier_calendar.field_res_partner__factory_calendar_id
#: model:ir.model.fields,field_description:supplier_calendar.field_res_users__factory_calendar_id
msgid "Factory Calendar"
msgstr ""

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__natural
msgid "Natural days"
msgstr ""

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

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

#. module: supplier_calendar
#: model:ir.model.fields.selection,name:supplier_calendar.selection__res_partner__delay_calendar_type__supplier_calendar
msgid "Supplier Calendar"
msgstr ""

#. module: supplier_calendar
#: model:ir.model,name:supplier_calendar.model_product_supplierinfo
msgid "Supplier Pricelist"
msgstr ""
5 changes: 5 additions & 0 deletions supplier_calendar/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# License LGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import res_partner
from . import product
from . import stock_rule
from . import purchase
Loading
Loading