Search 1.9 billion lines of Odoo code on GitHub

delivery_auto_refresh

Author: Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: anhvu-sg/delivery-carrier
Dependencies: delivery
Languages: HTML (371, 33.2%), PO File (444, 39.7%), Python (200, 17.9%), XML (11, 1.0%), and reStructuredText (91, 8.1%)
Other branches: 10.0, 11.0, and 13.0
Other repositories: Change2improve/delivery-carrier, Comunitea/delivery-carrier, DavidNitro/delivery-carrier, Digital5-Odoo/delivery-carrier, ERPLibre/delivery-carrier, Gabinete-Digital/delivery-carrier, GrupoAlvamex/delivery-carrier, Guobower/delivery-carrier, Ingeos/delivery-carrier, NeatNerdPrime/delivery-carrier, Nitrokey/odoo-delivery-carrier, OCA-MUK/delivery-carrier, OCA/delivery-carrier, PESOL/delivery-carrier, PlanetaTIC/delivery-carrier, SSISoftware/delivery-carrier, SimoRubi/delivery-carrier, TDu/delivery-carrier, Tecnativa/delivery-carrier, Timo17100-c2c/delivery-carrier, TristanMozos/delivery-carrier, VisiionSolucionesTecnologicas/delivery-carrier, aaltinisik/delivery-carrier, acsone/delivery-carrier, ajaniszewska-dev/delivery-carrier, akretion/delivery-carrier, ali-husain/delivery-carrier, angelmoya/delivery-carrier, anodino-dev/carrier-delivery, apetbiz/delivery-carrier, ateneolab/delivery-carrier, aurestic/carrier-delivery, brain-tec/carrier-delivery, camptocamp/delivery-carrier, conroyke56/delivery-carrier, dani-xtendoo/delivery-carrier, daramousk/delivery-carrier, dong-z/delivery-carrier, ecosoft-odoo/delivery-carrier, erp27/delivery-carrier, estraka/delivery-carrier, eversatis/delivery-carrier, fanha99/delivery-carrier, gbaumgartner-callino/delivery-carrier, grap/delivery-carrier, grindtildeath/delivery-carrier, guewen/carrier-delivery, gurneyalex/carrier-delivery, halfbug/delivery-carrier, hassanfadl/delivery-carrier, i-vyshnevska/delivery-carrier, isoscl/delivery-carrier, jcoux/delivery-carrier, jctrey/delivery-carrier, jvpascual/delivery-carrier, landoo-es/delivery-carrier, lideritjnma/delivery-carrier, luismontalba/delivery-carrier, mFlayyan/delivery-carrier, manuelcalerosolis/delivery-carrier, marionumza/delivery-carrier, miguel-trey/delivery-carrier, moylop260/carrier-delivery, noorealam96/delivery-carrier, nteej/delivery-carrier, one2pret/delivery-carrier, pscloud/delivery-carrier, quadit-dev/delivery-carrier, rdeheele/delivery-carrier, rlizana/delivery-carrier, rousseldenis/delivery-carrier, royalline1/delivery-carrier, santostelmo/delivery-carrier, sanube/delivery-carrier, saxomanu/delivery-carrier, sebalix/delivery-carrier, sendalpegat/delivery-carrier, sewisoft/delivery-carrier, sunflowerit/delivery-carrier, sygel-technology/delivery-carrier, tarsbase/delivery-carrier, tarteo/delivery-carrier, tschanzt/delivery-carrier, valmarnet/delivery-carrier, victoralmau/delivery-carrier, vrenaville/delivery-carrier, wahello/delivery-carrier, yvaucher/delivery-carrier, and zahravelasco/delivery-carrier

<h1 class="title">Auto-refresh delivery</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/delivery-carrier/tree/12.0/delivery_auto_refresh"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/delivery-carrier-12-0/delivery-carrier-12-0-delivery_auto_refresh"><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/99/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module automates the delivery price handling for the following cases:</p> <ul class="simple"> <li>If you change any line in your draft sales order (SO), when saving, the delivery price will be adjusted without having to click on &quot;→ Set price&quot;.</li> <li>If specified in the system parameter, the delivery line can be also auto-added when creating/saving.</li> <li>If you deliver a different quantity than the ordered one, the delivery price is adjusted on the linked SO when the picking is transferred.</li> </ul> <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> <ul class="simple"> <li>Activate developer mode.</li> <li>Go to <em>Settings &gt; Technical &gt; Parameters &gt; System Parameters</em>.</li> <li>Locate the setting with key &quot;delivery_auto_refresh.auto_add_delivery_line&quot; or create a new one if not exists. Put a non Falsy value (1, True...) if you want to add automatically the delivery line on save.</li> <li>Locate the setting with key &quot;delivery_auto_refresh.refresh_after_picking&quot; or create a new one if not exists. Put a non Falsy value (1, True...) if you want to refresh delivery price after transferring.</li> </ul> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h2> <ul class="simple"> <li>After confirming the sales order, the price of the delivery line (if exists) will be only updated after the picking is transferred, but not when you might modify the order lines.</li> <li>There can be some duplicate delivery unset/set for assuring that the refresh is done on all cases.</li> <li>On multiple deliveries, second and successive pickings update the delivery price, but you can't invoice the new delivery price.</li> <li>This is only working from user interface, as there's no way of making compatible the auto-refresh intercepting create/write methods from sale order lines.</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/delivery-carrier/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/delivery-carrier/issues/new?body=module:%20delivery_auto_refresh%0Aversion:%2012.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>Tecnativa</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <ul class="simple"> <li>Tecnativa &lt;<a class="reference external" href="https://www.tecnativa.com">https://www.tecnativa.com</a>&gt;: * Pedro M. Baeza * Vicent Cubells</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/delivery-carrier/tree/12.0/delivery_auto_refresh">OCA/delivery-carrier</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>