# Sale Order Product Recommendation

This module adds a recommended products wizard to current sale order.

It is based on recent delivered products, and allows the salesman to quickly know the most sold products for current customer, which results in an easy to use hint to improve sale.

If you want a better mobile usability, the module is ready to use with the ‘web_widget_numeric_step’ module. Just install it and you will get a better numeric input experience.

Table of contents

- Configuration
- Usage
- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

# Configuration

To configure this module you need to:

In sale order product recommendation you can display the product price unit from list price or from last sale order price. To set the default value follow the next steps

1. Go to Sales > Configuration > Settings > Sale order recommendations.
2. Assign the desired value to Product recommendation price origin field.
3. Press Save button to store the change.

In sale order product recommendation you can compute the recommendations using the Delivery Address instead of the Customer. To set this option by default follow the next steps

1. Go to Sales > Configuration > Settings > Sale order recommendations.
2. Assign the desired value to Use delivery address field.
3. Press Save button to store the change.

You can define other default values like as:

- Months backwards to generate recommendations.
- Number of recommendations to display.

You can force the addition of all the products recommended in the sale order. You can then edit the desired quantities directly in the sale order.

1. Go to Sales > Configuration > Settings > Sale order recommendations.
2. Select Force zero units included

You can add a filter domain to exclude or include additional recommended products.

1. Go to Sales > Configuration > Settings > Sale order recommendations.
2. Add a filter in section Sale order product recommendation domain Example: `[("product_type", "!=" "service")]`

# Usage

To use this module, you need to:

1. Create a new sale order.
2. Assign its customer.
3. Press Recommended Products button.
4. Configure the recommendations parameters.
5. Press Get recommendations button.
6. Add products into the opened wizard.
7. Press Accept.

# 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:
  - Jairo Llopis
  - David Vidal
  - Alexandre Díaz
  - Pedro M. Baeza
  - Sergio Teruel
  - Carlos Roca
  - Víctor Martínez
- Camptocamp SA:
  - Telmo Santos
- Moduon:
  - Rafael Blasco
  - Gelo Joga
  - Jairo Llopis
- Trobz:
  - Tris Doan

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

Current maintainers:

This module is part of the OCA/sale-workflow project on GitHub.

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