# PoS Order To Sale Order

This module extends the functionality of point of sale to allow sale orders creation from the Point of Sale.

In the POS UI, button has been added to create a sale order and discard the current POS order.

This module is usefull in many cases, for exemple :

- take orders with a very simple interface
- if you have some customers that come every day in your shop, but want to have a unique invoice at the end of the month. With that module, you can create a sale order and deliver products every time to keep your stock value correct, and to create a unique invoice, when you want.

Table of contents

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

## Configuration

- Go to Point Of Sale / Configuration / Point of Sale
- Check the box ‘Create Sale Orders’
- Select the desired default behaviour

## Usage

- Open your Point of sale
- Create a new order and select products
- Select a customer
- Click on the “Create Order” button

Four options are available (depending on the PoS settings):

- Create a draft Order A new sale order in a draft mode will be created that can be changed later.
- Create a Confirmed Order A new sale order will be created and confirmed.
- Create Delivered Sale Order A new sale order will be created and confirmed. the associated picking will be marked as delivered.
- Create Invoiced Sale Order A new sale order will be created and confirmed. the associated picking will be marked as delivered. An invoice will be created and confirmed.

## Development

- Some prepare functions are available in the `sale.order` model and `sale.order.line` models to overload the creation of the sale order.

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

- GRAP

### Contributors

- Sylvain LE GAL (https://www.twitter.com/legalsylvain)

### 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 maintainer:

This module is part of the OCA/pos project on GitHub.

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