Skip to main content

Auto-refresh delivery price in sales orders

Project description

Beta License: AGPL-3 OCA/delivery-carrier Translate me on Weblate Try me on Runboat

This module automates the delivery price handling for the following cases:

  • If you change any line in your draft sales order (SO), when saving, the delivery price will be adjusted without having to click on “→ Set price”.

  • If specified in the system parameter, the delivery line can be also auto-added when creating/saving.

  • If you deliver a different quantity than the ordered one, the delivery price is adjusted on the linked SO when the picking is transferred.

Table of contents

Configuration

  • Activate developer mode.

  • Go to Settings > Technical > Parameters > System Parameters.

  • Locate the setting with key “delivery_auto_refresh.auto_add_delivery_line” 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.

  • Locate the setting with key “delivery_auto_refresh.refresh_after_picking” or create a new one if not exists. Put a non Falsy value (1, True…) if you want to refresh delivery price after transferring.

Known issues / Roadmap

  • 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.

  • There can be some duplicate delivery unset/set for assuring that the refresh is done on all cases.

  • On multiple deliveries, second and successive pickings update the delivery price, but you can’t invoice the new delivery price.

  • 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.

Bug Tracker

Bugs are tracked on GitHub 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.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:

    • Pedro M. Baeza

    • Vicent Cubells

    • David Vidal

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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/delivery-carrier project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo11_addon_delivery_auto_refresh-11.0.1.0.0.99.dev6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for odoo11_addon_delivery_auto_refresh-11.0.1.0.0.99.dev6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 84395f9b3330d2c713e9adac35075d2861aae55980eee5e8d5e0cf1134222538
MD5 055ca1efcd6624496a48749fc0c5f352
BLAKE2b-256 c3662807aea96525e20bbe9e70458591eb4d352969d989eb2f210ef98b4bc684

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page