Search 1.9 billion lines of Odoo code on GitHub

delivery_auto_refresh

Author: Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0
Repository: anhvu-sg/delivery-carrier
Dependencies: delivery
Languages: PO File (422, 62.8%), Python (183, 27.2%), XML (11, 1.6%), and reStructuredText (56, 8.3%)
Other branches: 11.0, 12.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

<a class="reference external image-reference" href="https://www.gnu.org/licenses/agpl"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a name="auto-refresh-delivery-price-in-sales-orders"></a> <h2>Auto-refresh delivery price in sales orders</h2> <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> <a name="configuration"></a> <h3>Configuration</h3> <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="usage"></a> <h3>Usage</h3> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/99/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <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> <h3>Bug Tracker</h3> <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 smash it by providing detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Tecnativa &lt;<a class="reference external" href="https://www.tecnativa.com">https://www.tecnativa.com</a>&gt;: * Pedro M. Baeza &lt;<a class="reference external" href="mailto:pedro.baeza&#64;tecnativa.com">pedro.baeza&#64;tecnativa.com</a>&gt;</li> </ul> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>