-
-
Notifications
You must be signed in to change notification settings - Fork 649
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] stock_rule_delays_in_workable_days
- Loading branch information
1 parent
5cfaae6
commit 3a432d7
Showing
35 changed files
with
4,633 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
setup/stock_rule_delays_in_workable_days/odoo/addons/stock_rule_delays_in_workable_days
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../stock_rule_delays_in_workable_days |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
================================== | ||
Stock Rule Delays in Workable Days | ||
================================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:839210c9d8261ca8dad172d52794f903afb5e795c23e858da9744386c763b2be | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Alpha | ||
.. |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--workflow-lightgray.png?logo=github | ||
:target: https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_rule_delays_in_workable_days | ||
:alt: OCA/stock-logistics-workflow | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_rule_delays_in_workable_days | ||
: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/stock-logistics-workflow&target_branch=14.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
TODO | ||
|
||
This offer a default behaviour while confirming sale order to set the planned date to be use | ||
by `stock_move_planned_consumed_date` and `stock_restrict_by_planned_consumed_date` modules. | ||
|
||
This module add a computed field on sale order line that can be adapted to your needs. | ||
|
||
This planned consumed date is used while calling the procurement method while confirming the sale order. | ||
|
||
.. IMPORTANT:: | ||
This is an alpha version, the data model and design can change at any time without warning. | ||
Only for development or testing purpose, do not use in production. | ||
`More details on development status <https://odoo-community.org/page/development-status>`_ | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-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/stock-logistics-workflow/issues/new?body=module:%20stock_rule_delays_in_workable_days%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 | ||
~~~~~~~ | ||
|
||
* Alexandre Galdeano <[email protected]> | ||
* Damien Crier <[email protected]> | ||
* Pierre Verkest <[email protected]> | ||
* Matthias Barkat <[email protected]> | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Foodles <https://foodles.co>`_: | ||
|
||
* Alexandre Galdeano <[email protected]> | ||
* Damien Crier <[email protected]> | ||
* Matthias Barkat <[email protected]> | ||
|
||
* Pierre Verkest <[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. | ||
|
||
This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_rule_delays_in_workable_days>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 2024 Foodles (https://www.foodles.co) | ||
# @author Alexandre Galdeano <[email protected]> | ||
# @author Damien Crier <[email protected]> | ||
# @author Pierre Verkest <[email protected]> | ||
# @author Matthias Barkat <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "Stock Rule Delays in Workable Days", | ||
"summary": """ | ||
TODO | ||
""", | ||
"version": "14.0.0.1.0", | ||
"author": "Alexandre Galdeano <[email protected]>, " | ||
"Damien Crier <[email protected]>, " | ||
"Pierre Verkest <[email protected]>, " | ||
"Matthias Barkat <[email protected]>, " | ||
"Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/stock-logistics-workflow", | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"development_status": "Alpha", | ||
"depends": [ | ||
"calendar", | ||
"product_expiry", | ||
"sale_purchase_stock", | ||
"stock_location_warehouse", | ||
"stock", | ||
"resource", | ||
"stock_restrict_by_planned_consumed_date", | ||
"stock_move_planned_consumed_date", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"data/weekdays.xml", | ||
"views/res_partner_views.xml", | ||
"views/stock_rule_views.xml", | ||
"views/stock_warehouse_views.xml", | ||
"views/weekday_views.xml", | ||
], | ||
"demo": [ | ||
"demo/lead_time_by_day_value.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright 2024 Foodles (https://www.foodles.co/). | ||
@author Damien Crier <[email protected]> | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
--> | ||
<odoo noupdate="1"> | ||
<record id="weekday_monday" model="weekdays"> | ||
<field name="name">Monday</field> | ||
<field name="weekday">0</field> | ||
</record> | ||
<record id="weekday_tuesday" model="weekdays"> | ||
<field name="name">Tuesday</field> | ||
<field name="weekday">1</field> | ||
</record> | ||
<record id="weekday_wednesday" model="weekdays"> | ||
<field name="name">Wednesday</field> | ||
<field name="weekday">2</field> | ||
</record> | ||
<record id="weekday_thursday" model="weekdays"> | ||
<field name="name">Thursday</field> | ||
<field name="weekday">3</field> | ||
</record> | ||
<record id="weekday_friday" model="weekdays"> | ||
<field name="name">Friday</field> | ||
<field name="weekday">4</field> | ||
</record> | ||
<record id="weekday_saturday" model="weekdays"> | ||
<field name="name">Saturday</field> | ||
<field name="weekday">5</field> | ||
</record> | ||
<record id="weekday_sunday" model="weekdays"> | ||
<field name="name">Sunday</field> | ||
<field name="weekday">6</field> | ||
</record> | ||
</odoo> |
31 changes: 31 additions & 0 deletions
31
stock_rule_delays_in_workable_days/demo/lead_time_by_day_value.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright 2024 Foodles (https://www.foodles.co/). | ||
@author Alexandre Galdeano <[email protected]> | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
--> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="lead_times_by_day_value_2" model="lead_times_by_day.value"> | ||
<field name="value">2</field> | ||
</record> | ||
<record id="lead_times_by_day_value_10" model="lead_times_by_day.value"> | ||
<field name="value">10</field> | ||
</record> | ||
<record id="lead_times_by_day_value_11" model="lead_times_by_day.value"> | ||
<field name="value">11</field> | ||
</record> | ||
<record id="lead_times_by_day_value_12" model="lead_times_by_day.value"> | ||
<field name="value">12</field> | ||
</record> | ||
<record id="lead_times_by_day_value_14" model="lead_times_by_day.value"> | ||
<field name="value">14</field> | ||
</record> | ||
<record id="lead_times_by_day_value_15" model="lead_times_by_day.value"> | ||
<field name="value">15</field> | ||
</record> | ||
<record id="lead_times_by_day_value_16" model="lead_times_by_day.value"> | ||
<field name="value">16</field> | ||
</record> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_rule_delays_in_workable_days | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0+e\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: fr\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_res_partner | ||
msgid "Contact" | ||
msgstr "" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_purchase_order_line__display_name | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_res_partner__display_name | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_resource_calendar__display_name | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_stock_rule__display_name | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_stock_warehouse__display_name | ||
msgid "Display Name" | ||
msgstr "Nom affiché" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__lead_times_by_day__weekday__4 | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__weekdays__weekday__4 | ||
msgid "Friday" | ||
msgstr "Vendredi" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_purchase_order_line__id | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_res_partner__id | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_resource_calendar__id | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_stock_rule__id | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_stock_warehouse__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_purchase_order_line____last_update | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_res_partner____last_update | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_resource_calendar____last_update | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_stock_rule____last_update | ||
#: model:ir.model.fields,field_description:stock_rule_delays_in_workable_days.field_stock_warehouse____last_update | ||
msgid "Last Modified on" | ||
msgstr "Dernière modification le" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model_terms:ir.ui.view,arch_db:stock_rule_delays_in_workable_days.view_stock_rule_form | ||
msgid "Lead Times By Day" | ||
msgstr "Délais par jour" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_lead_times_by_day | ||
#: model_terms:ir.ui.view,arch_db:stock_rule_delays_in_workable_days.view_stock_rule_form | ||
msgid "Lead times by day" | ||
msgstr "Délais par jour" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_lead_times_by_day_value | ||
msgid "Lead times by day value" | ||
msgstr "Valeur des délais par jour" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_weekdays | ||
msgid "Model representing days in Odoo" | ||
msgstr "Modèle représentant les jours dans Odoo" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__lead_times_by_day__weekday__0 | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__weekdays__weekday__0 | ||
msgid "Monday" | ||
msgstr "Lundi" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_purchase_order_line | ||
msgid "Purchase Order Line" | ||
msgstr "" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_resource_calendar | ||
msgid "Resource Working Time" | ||
msgstr "Temps de travail de la ressource" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__lead_times_by_day__weekday__5 | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__weekdays__weekday__5 | ||
msgid "Saturday" | ||
msgstr "Samedi" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_stock_rule | ||
msgid "Stock Rule" | ||
msgstr "Règle d’approvisionnement" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__lead_times_by_day__weekday__3 | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__weekdays__weekday__3 | ||
msgid "Thursday" | ||
msgstr "Jeudi" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__lead_times_by_day__weekday__1 | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__weekdays__weekday__1 | ||
msgid "Tuesday" | ||
msgstr "Mardi" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model,name:stock_rule_delays_in_workable_days.model_stock_warehouse | ||
msgid "Warehouse" | ||
msgstr "Entrepôt" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__lead_times_by_day__weekday__2 | ||
#: model:ir.model.fields.selection,name:stock_rule_delays_in_workable_days.selection__weekdays__weekday__2 | ||
msgid "Wednesday" | ||
msgstr "Mercredi" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.model.constraint,message:stock_rule_delays_in_workable_days.constraint_weekdays_weekday_uniq | ||
msgid "Weekday must be unique!" | ||
msgstr "Le jour doit être unique !" | ||
|
||
#. module: stock_rule_delays_in_workable_days | ||
#: model:ir.actions.act_window,name:stock_rule_delays_in_workable_days.action_weekdays | ||
#: model:ir.ui.menu,name:stock_rule_delays_in_workable_days.menu_calendar_weekdays | ||
msgid "Weekdays" | ||
msgstr "Jours" |
Oops, something went wrong.