Skip to main content

Merge sale orders that are confirmed, invoiced or delivered

Project description

License: AGPL-3

Merge sale orders

This module allows the sale employee to merge draft or confirmed orders from the same customer.

When orders are merged, draft invoices and unprocessed outgoing pickings will be merged as well.

Usage

To use this module, you need to go to the main sale order that you want to merge with other sale orders. If there are any candidates, you will see a Merge button in the header of the sale order form. If you click on this button, a window will pop-up that has all mergeable sale orders preselected. Remove the orders that you do not want to merge, and click on the Merge button in the footer of the pop-up window. The main window will then refresh to the updated main sale order.

The mergeability criteria are defined as follows:

  • Same customer, shipping address, warehouse and company.

  • Orders must be in status ‘Draft Quotation’, ‘Quotation Sent’, ‘Waiting Shedule’, ‘Sale Order’, ‘Sale to Invoice’.

  • Once the order has already been confirmed, only draft orders or confirmed orders with the same invoice policy can be merged.

The criteria can easily be extended in a custom module using method _get_merge_domain of model sale.order

Try me on Runbot

Known issues / Roadmap

  • Orders with an invoice exception or a picking exception cannot be merged.

  • If prepaid sale orders with confirmed invoices are merged, procurement will not be postponed until all the invoices are paid. Instead, it will start when the original invoice of the main order has been paid.

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.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

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.

To contribute to this module, please visit https://odoo-community.org.

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo8_addon_sale_order_merge-8.0.1.0.0.99.dev1-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_sale_order_merge-8.0.1.0.0.99.dev1-py2-none-any.whl
Algorithm Hash digest
SHA256 b30fff7fa88b52e455624135b393216d292e8043050d81c4e1ecd2e68e942393
MD5 ae6ece6542bdc1e97d0aafb6b66fef58
BLAKE2b-256 dc9548149d9ca4fd89fa7f463d85323aebf30984415daff202a3ecb52e4caf5a

See more details on using hashes here.

Supported by

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