Search 1.9 billion lines of Odoo code on GitHub

sale_delivery_date

Author: Camptocamp SA, Odoo Community Association (OCA)
License: AGPL-3
Branch: 14-sale_automatic_workflow-xbo
Repository: acsone/sale-workflow
Dependencies: base, delivery, partner_tz, sale, sale_stock, stock, stock_partner_delivery_window, and stock_warehouse_calendar
Languages: HTML (396, 15.8%), PO File (339, 13.5%), Python (1542, 61.6%), XML (111, 4.4%), and reStructuredText (117, 4.7%)
Other branches: 14-sale_order_restrict_cancel_existing_invoice, 14-sale_promotion_rule, 14-sale_promotion_rule_delivery, 14-sale_promotion_rule_delivery-xbo, 14.0, 14.0-abi_master, 14.0-add-sale_order_line_unit_price_no_tax-dro, 14.0-add-sale_order_option_product_group-dro, 14.0-fix-sale-product_set-dro, 14.0-fwd-1739-dro, 14.0-imp-sale-mass_action-dro, 14.0-mig-sale-procurement-amendment-dro, 14.0-mig-sale_order_mass_action-dro, 14.0-mig-sale_product_set_layout-dro, and sale_quotation_delivery_mandatory-xbo
Other repositories: 394879024/odoomrp-wip, AgoraDev/odoomrp-wip, Antiun/odoomrp-wip, BenjaHe/sale-workflow, Change2improve/sale-workflow, ClearCorp/odoomrp-wip, Comunitea/sale-workflow, DarkGreising/odoomrp-wip, Darknroses/sale-workflow, Dayssam/odoomrp-wip, Diego88cc/odoomrp-wip, Digital5-Odoo/odoomrp-wip, Digital5-Odoo/sale-workflow, ElvenStudio/odoomrp-wip, Endika/odoomrp-wip, FelixAdler/odoomrp-wip, ForgeFlow/odoomrp-wip, ForgeFlow/sale-workflow, GGamblin/odoomrp-wip, GrupoAlvamex/odoomrp-wip, HaojunZou/odoomrp-wip, IJOL/odoomrp-wip, InakiZabala/odoomrp-wip, InfotoolsCorp/odoomrp-wip, Ingeos/odoomrp-wip, Ingeos/sale-workflow, Innovahn/odoomrp-wip, JavierMarhuenda/odoomrp-wip, JuaniFreedoo/odoomrp-wip, JuaniFreedoo/sale-workflow, KennyLeung/odoomrp-wip, LevelPrime/sale-workflow, LudLaf/odoomrp-wip, MadsackMediaStore/odoomrp-wip, MedMehdiMMM/odoomrp-wip, MindAndGo/odoomrp-wip, MindAndGo/sale-workflow, MrZ-777/odoomrp-wip, OCA/sale-workflow, OdooBulgaria/odoomrp-wip, OpenPymeMx/odoomrp-wip, QANSEE/odoomrp-wip, Sarfarazsajjad/odoomrp-wip, SetRac/odoomrp-wip, SeuMarco/odoomrp-wip, SeuMarco/sale-workflow, Sjd-Risca/odoomrp-wip, SodexisTeam/sale-workflow, StefanRijnhart/odoomrp-wip, Studio73/sale-workflow, Tecnativa/sale-workflow, Trust-Code/odoomrp-wip, Vauxoo/odoomrp-wip, VbossEkat/odoomrp-wip, VisiionSoluciones/odoomrp-wip, YogendrasinhChavda/odoomrp-wip, aaltinisik/odoomrp-wip, abdo3247/odoomrp-wip, aduijs/odoomrp-wip, agaldona/odoomrp-wip-1, akretion/odoomrp-wip, akretion/sale-workflow, alangwansui/odoomrp-wip, alexteodor/odoomrp-wip, alfredoavanzosc/odoomrp-wip-1, alhashash/odoomrp-wip, alonesword/odoomrp-wip, alpseber/odoomrp-wip, amarildogolloshi/odoomrp-wip, andhit-r/odoomrp-wip, angelmoya/sale-workflow, anndream/odoomrp-wip, annieclone/odoomrp-wip, anodino-dev/odoomrp-wip, arasty/odoomrp-wip, archetipo/odoomrp-wip, arnaulorente/odoomrp-wip, asphaltzipper/odoomrp-wip, aurestic/odoomrp-wip, aurestic/sale-workflow, binovo/odoomrp-wip, bisnesmart/odoomrp-wip, bmya/sale-workflow, brain-tec/sale-workflow, bunhin/odoomrp-wip, camptocamp/sale-workflow, carlosap92/odoomrp-wip, carlosdauden/odoomrp-wip, ccdos/odoomrp-wip, ceteca/odoomrp-wip, chajmill/odoomrp-wip, chenjingxiong/odoomrp-wip, chenrobotcat/odoomrp-wip, chenyingkun/odoomrp-wip, cialuo/odoomrp-wip, codequarters/odoomrp-wip, codewr/odoomrp-wip, colima/odoomrp-wip, colmeirin/odoomrp-wip, contactek/odoomrp-wip, coopiteasy/sale-workflow, copermine/odoomrp-wip, cshardey/odoomrp-wip, cubells/odoomrp-wip, cvinh/odoomrp-wip, damdam-s/odoomrp-wip, damdam-s/sale-workflow, damendieta/odoomrp-wip, danielkurman/odoomrp-wip, danztensai/odoomrp-wip, daramousk/odoomrp-wip, daramousk/sale-workflow, ddico/odoomrp-wip, dhp-denero/odoomrp-wip, diagramsoftware/odoomrp-wip, diggy128/odoomrp-wip, digitalwow/odoomrp-wip, diogocduarte/odoomrp-wip, disna-sistemas/odoomrp-wip, drl9319/odoomrp-wip, duanyp1991/odoomrp-wip, dvitme/odoomrp-wip, ecosoft-odoo/sale-workflow, eezee-it/odoomrp-wip, elego/sale-workflow, emendez2006/odoomrp-wip, enmingc/odoomrp-wip, erocre/odoomrp-wip, esthermm/odoomrp-wip, ethernetcash/odoomrp-wip, factorlibre/odoomrp-wip, farfansixto/odoomrp-wip, fedexin40/odoomrp-wip, fevxie/odoomrp-wip, florian-dacosta/sale-workflow, forvas/odoomrp-wip, frankchongli/odoomrp-wip, garzadekoster/odoomrp-wip, george-taotaome/odoomrp-wip, gkliska/odoomrp-wip, gleke/odoomrp-wip, globalyst/odoomrp-wip, gmoncada/odoomrp-wip, grindtildeath/sale-workflow, grottas/odoomrp-wip, gsunjka/odoomrp-wip, haryoran04/odoomrp-wip, hassanfadl/odoomrp-wip, hibou-io/oca-sale-workflow, hifans/odoomrp-wip, hifly/odoomrp-wip, hotkee/odoomrp-wip, hurrinico/sale-workflow, iamyeonhan/odoomrp-wip, iaranburu/odoomrp-wip, igallart/odoomrp-wip, igallart/sale-workflow, igorabpereira/odoomrp-wip, incaser/odoomrp-wip, informaticartica/odoomrp-wip-1, initOS/odoomrp-wip, initOS/sale-workflow, itmeca/odoomrp-wip, jackethu/odoomrp-wip, jado95/sale-workflow, jason156/odoomrp-wip, javieralmancevo/odoomrp-wip, jcarlosmontoya/odoomrp-wip, jellyhappy/odoomrp-wip, jhoengels/odoomrp-wip, johannbelet/odoomrp-wip, jorsea/odoomrp-wip, jparssi/odoomrp-wip, juanfe/odoomrp-wip, jusdng/odoomrp-wip, kholioeg/odoomrp-wip, kkarolis/odoomrp-wip, kkoci/odoomrp-wip, kmee/sale-workflow, konsoar/odoomrp-wip, kossovo/odoomrp-wip, lbelorgey/odoomrp-wip, leangjia/odoomrp-wip, lepistone/odoomrp-wip, levkar/odoomrp-wip, lihaihe/odoomrp-wip, likaiyuan/elneo-openobject, likaiyuan/odoomrp-wip, ljsalvatierra-binovo/odoomrp-wip, maljac/odoomrp-wip, marcel1981/odoomrp-wip, marcelomora/odoomrp-wip, marionumza/odoomrp-wip, mathi123/odoomrp-wip, mauroanelli2017/odoomrp-wip, maxhome1/odoomrp-wip, mayang1178/odoomrp-wip, mdelneo/elneo-openobject, michaeljohn32/odoomrp-wip, mikelarre/odoomrp-wip-1, mohamedhagag/elneo-openobject, mohshedid/odoomrp-wip, mohzein/odoomrp-wip, molandtoxx/odoomrp-wip, morgana68/odoomrp-wip, msteinfeld-intero/odoomrp-wip, muguli22/odoomrp-wip, mutita/odoomrp-wip, myodoo/odoomrp-wip, niulinlnc/odoomrp-wip, numerigraphe/odoomrp-wip, odoo-modules/odoomrp-wip, odoobgorg/odoomrp-wip, odoocn/odoomrp-wip, odoomrp/odoomrp-wip, odoousers2014/elneo-openobject, oihane/odoomrp-wip, one2pret/odoomrp-wip, onurugur/odoomrp-wip, open-synergy/odoomrp-wip, osstw/odoomrp-wip, ozono/odoomrp-wip, parchanco/odoomrp-wip, pedrobaeza/odoomrp-wip, petrus-v/sale-workflow, petypi/odoomrp-wip, prisehub/odoomrp-wip, pythoner-3k/odoomrp-wip, r3ap3r2004/odoomrp-wip, raycarnes/odoomrp-wip, rdeheele/odoomrp-wip, richard-willdooit/odoomrp-wip, rlizana/odoomrp-wip, rossasa/odoomrp-wip, s2d4theworld/odoomrp-wip, sagar-developer-92/odoomrp-wip, saigonsofttech/odoomrp-wip, samuel1971/odoomrp-wip, sasakuma/odoomrp-wip, saxomanu/sale-workflow, sergio-teruel/odoomrp-wip, sergiocorato/odoomrp-wip, shine-it/odoomrp-wip, slevenhagen/odoomrp-wip, sodexis/sale-workflow, subteno-it/odoomrp-wip, supuy-ruby/odoomrp-wip, syci/odoomrp-wip, sygel-technology/sale-workflow, thaiodoo/odoomrp-wip, thinkopensolutions/odoomrp-odoomrp-wip, time-table/odoomrp-wip, topecz/odoomrp-wip, treytux/odoomrp-wip, tvtma/odoomrp-wip, ubic135/odoomrp-wip, ursais/sale-workflow, vafonso/odoomrp-wip, valenciaricardos/odoomrp-wip, valley51/odoomrp-wip, versada/odoomrp-wip, versada/sale-workflow, vialaurea/OCA-sale-workflow, vrenaville/sale-workflow, vrms/odoomrp-wip, vsanjuan2/odoomrp-wip, wahhid/odoomrp-wip, wanfgh/odoomrp-wip, waynejid/odoomrp-wip, westlyou/odoomrp-wip, windedge/odoomrp-wip, xiaowenzi/odoomrp-wip, xpansa/odoomrp-wip, xtendoo-corporation/sale-workflow, yahooboohooyah/odoomrp-wip, yasmanycastillo/odoomrp-wip, yastri/odoomrp-wip, yoozeer/odoomrp-wip, yustas147/odoomrp-wip, zbik2607/odoomrp-wip, zhaohuaw/odoomrp-wip, and zmakrelouf/odoomrp-wip

<h1 class="title">Sale Delivery Date</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/14.0/sale_delivery_date"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_delivery_date"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/167/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <a name="cutoff"></a> <h2>Cutoff</h2> <p>Potpone order preparation by 1 day if it has been validated after the partner or the warehouse cutoff.</p> <p>This can be bypassed if commitment date is set.</p> <a name="warehouse-calendar"></a> <h2>Warehouse Calendar</h2> <p>Postpone delivery according to the warehouse calendar, if any.</p> <a name="partner-delivery-window"></a> <h2>Partner delivery window</h2> <p>Allows to define scheduling preference for delivery orders on customers, in order to select possible delivery windows to postpone deliveries to.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h3><a class="toc-backref" href="#id1">Usage</a></h3> <p>To use this, you have to configure a few things:</p> <ul class="simple"> <li>You may configure the cutoff by either:<ul> <li>setting the order cutoff preference to <cite>warehouse_cutoff</cite>, in order to use the warehouse cutoff.</li> <li>setting the order cutoff preference to <cite>partner_cutoff</cite>, in order to use the partner cutoff.</li> </ul> </li> <li>By default, customer's delivery window is set to <cite>anytime</cite> (default odoo behavior). It can also be set to <cite>working days</cite> or <cite>time window</cite>. If the latter is chosen, then time windows will have to be configured on the customer.</li> <li>By default, warehouse working hours aren't taken into account when computing the scheduled date. If you want to use this feature, just add a calendar on the warehouse, and enable the <cite>apply cutoff</cite> option.</li> </ul> <a name="known-issues-roadmap"></a> <h3><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h3> <dl class="docutils"> <dt>The following modules (available in 13.0) has been merged into this module:</dt> <dd><ul class="first last simple"> <li>sale_warehouse_calendar</li> <li>sale_cutoff_time_delivery</li> <li>sale_partner_delivery_window</li> <li>sale_partner_cutoff_delivery_window</li> </ul> </dd> </dl> <p>The reason for that is that <cite>sale_warehouse_calendar</cite> overrides have to be executed between <cite>sale_cutoff_time_delivery</cite> and <cite>sale_partner_delivery_window</cite>, and there's no other clean way to do that.</p> <dl class="docutils"> <dt>However, there's still a few things to deal with:</dt> <dd><ul class="first last simple"> <li>Clean tests</li> <li>Clean code</li> <li>Use TZ where it is not the case</li> <li>Use calendar instead of time windows when delivery preference is <cite>working days</cite></li> </ul> </dd> </dl> <a name="bug-tracker"></a> <h3><a class="toc-backref" href="#id3">Bug Tracker</a></h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_delivery_date%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h3><a class="toc-backref" href="#id4">Credits</a></h3> <a name="authors"></a> <h4><a class="toc-backref" href="#id5">Authors</a></h4> <ul class="simple"> <li>Camptocamp SA</li> </ul> <a name="contributors"></a> <h4><a class="toc-backref" href="#id6">Contributors</a></h4> <ul class="simple"> <li>Akim Juillerat &lt;<a class="reference external" href="mailto:akim.juillerat&#64;camptocamp.com">akim.juillerat&#64;camptocamp.com</a>&gt;</li> <li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.com">guewen.baconnier&#64;camptocamp.com</a>&gt;</li> <li>Simone Orsi &lt;<a class="reference external" href="mailto:simahawk&#64;gmail.com">simahawk&#64;gmail.com</a>&gt;</li> <li>Matthieu Méquignon &lt;<a class="reference external" href="mailto:matthieu.mequignon&#64;camptocamp.com">matthieu.mequignon&#64;camptocamp.com</a>&gt;</li> </ul> <a name="maintainers"></a> <h4><a class="toc-backref" href="#id7">Maintainers</a></h4> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/mmequignon"><img alt="mmequignon" src="https://github.com/mmequignon.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/14.0/sale_delivery_date">OCA/sale-workflow</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>