Search 1.9 billion lines of Odoo code on GitHub

sale_cutoff_time_delivery

Author: Camptocamp, Odoo Community Association (OCA)
License: AGPL-3
Branch: 13.0-add-sale-line-all-moves-dro
Repository: acsone/sale-workflow
Dependencies: base, partner_tz, sale_stock, and stock
Languages: HTML (364, 34.7%), PO File (150, 14.3%), Python (392, 37.4%), XML (71, 6.8%), and reStructuredText (71, 6.8%)
Other branches: 13.0, 13.0-add-sale_route_amendment-dro, 13.0-cpi-multi-add, 13.0-cpi-prod-set, 13.0-fix-quotation_number-dro, 13.0-fix-sale-manual-delivery, 13.0-fix-sale_manual_delivery-ape, 13.0-hook-prepare-line-values-ape, 13.0-hook-sale-line-product-qty-ape, 13.0-imp-signature-dro, 13.0-mig-sale-procurement-amendment-dro, 13.0-mig-sale_delivery_split_date, 13.0-mig-sale_order_price_recalculation-dro, 13.0-mig-sale_promotion_rule, 13.0-mig-sale_promotion_rule_assortment, 13.0-sale_down_payment_wizard_taxes, 13.0-sale_product_multi_add_fix_wizard_view, 13.0-sale_product_set_fix_sequence, 13.0-slg_master, 13.0-tnc_master, 13.0-update-repor-copier, 13.0-wpu_master, 14.0-auto-payment-mode-cpi, and oca-port-pr-1819-from-14.0-to-13.0
Other repositories: BenjaHe/sale-workflow, Change2improve/sale-workflow, Comunitea/sale-workflow, Darknroses/sale-workflow, Digital5-Odoo/sale-workflow, ForgeFlow/sale-workflow, GSLabIt/sale-workflow, Jarsa/sale-workflow, JuaniFreedoo/sale-workflow, Khalid-SerpentCS/sale-workflow, LevelPrime/sale-workflow, MindAndGo/sale-workflow, NeatNerdPrime/sale-workflow, OCA-MUK/sale-workflow, OCA/sale-workflow, PCatinean/sale-workflow, QubiQ/sale-workflow, TDu/sale-workflow, Tecnativa/sale-workflow, TheCloneMaster/sale-workflow, adhoc-dev/sale-workflow, akretion/sale-workflow, anhvu-sg/sale-workflow, aurestic/sale-workflow, bizzappdev/sale-workflow, brain-tec/sale-workflow, camptocamp/sale-workflow, damdam-s/sale-workflow, digitalsatori/sale-workflow, ecosoft-odoo/sale-workflow, ehsu0407/sale-workflow, elego/sale-workflow, factorlibre/sale-workflow, grindtildeath/sale-workflow, guewen/sale-workflow, gurneyalex/sale-workflow, hbrunn/sale-workflow, hurrinico/sale-workflow, igallart/sale-workflow, jado95/sale-workflow, jobiols/oca-sale-workflow, jromeroarg/sale-workflow, kmee/sale-workflow, leemannd/sale-workflow, mmequignon/sale-workflow, nikul-serpentcs/sale-workflow, omalbastin/sale-workflow, rdeheele/sale-workflow, sygel-technology/sale-workflow, tegin/sale-workflow, unitek-solusi/OCA-sale-workflow, ursais/sale-workflow, versada/sale-workflow, vialaurea/OCA-sale-workflow, vrenaville/sale-workflow, wahello/sale-workflow, xcgd/sale-workflow, and xtendoo-corporation/sale-workflow

<h1 class="title">Sale Cutoff Time Delivery</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.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/13.0/sale_cutoff_time_delivery"><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-13-0/sale-workflow-13-0-sale_cutoff_time_delivery"><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/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module allows to define Cutoff times for delivery orders.</p> <p>If no commitment date is set, any sale order confirmed after the applicable cutoff time will have its delivery order postponed by one day at the time of the applicable cutoff, and any sale order confirmed before the applicable cutoff time will have its delivery order postponed to the time of the applicable cutoff.</p> <div class="admonition important"> <p class="first admonition-title">Important</p> <p class="last">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. <a class="reference external" href="https://odoo-community.org/page/development-status">More details on development status</a></p> </div> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</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="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>Application of cutoff is defined by partner, with default value being the cutoff time of the sale order's warehouse.</p> <p>Cut-off must however be applied on the warehouse by marking the checkbox &quot;Apply cutoff&quot; so that the computation happens.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h2> <ul> <li><p class="first">Storing times using <cite>float_time</cite> widget requires extra processing to ensure computations are done in the right timezone, because the value is not stored as UTC in the database, and must therefore be related to a <cite>tz</cite> field.</p> <p><cite>float_time</cite> in this sense should only be used for durations and not for a &quot;point in time&quot; as this is always needs a Date for a timezone conversion to be done properly. (Because a conversion from UTC to e.g. Europe/Brussels won't give the same result in winter or summer because of Daylight Saving Time).</p> <p>Therefore the right move would be to use a <cite>resource.calendar</cite> to define cutoff time using Datetime with recurrences.</p> </li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2> <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_cutoff_time_delivery%0Aversion:%2013.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> <h2><a class="toc-backref" href="#id4">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id5">Authors</a></h3> <ul class="simple"> <li>Camptocamp</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <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> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">Maintainers</a></h3> <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>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/13.0/sale_cutoff_time_delivery">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>