Auto-refresh delivery price in sales orders
Project description
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.
Locate the setting with key “delivery_auto_refresh.auto_void_delivery_line” or create a new one if it doesn’t exists. Put a non Falsy value (1, True…) if you want to void the delivery line values (price, units ordered, units delivered) in the sale order when the delivered picking is returned to refund prior to be invoiced.
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Tecnativa <https://www.tecnativa.com>: * Pedro M. Baeza * Vicent Cubells * Carlos Roca
Maintainers
This module is maintained by the OCA.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo13_addon_delivery_auto_refresh-13.0.1.0.7-py3-none-any.whl
.
File metadata
- Download URL: odoo13_addon_delivery_auto_refresh-13.0.1.0.7-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.3.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a893b72e8f3eb5edc71c43d5ce4fad6132f83a23e2219f9faee59d2dad07d85 |
|
MD5 | 28798b03bd15a3c02188a7013a543bea |
|
BLAKE2b-256 | bb1a408ba790163e2e5ed2a2d6629cd7f03507c4ded5a2b850453fa8e39396cf |