-
-
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 14654d3
Showing
31 changed files
with
4,834 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,92 @@ | ||
================================== | ||
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-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |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. | ||
|
||
**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,35 @@ | ||
# 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", | ||
"depends": [ | ||
# TODO fix dependencies | ||
"calendar", | ||
"product_expiry", | ||
"sale_purchase_stock", | ||
"stock", | ||
"resource", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"data/weekdays.xml", | ||
"views/stock_rule_views.xml", | ||
"views/stock_warehouse_views.xml", | ||
"views/weekdays.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> |
Oops, something went wrong.