Metadata-Version: 2.1
Name: odoo-addon-pos_order_split_invoice
Version: 17.0.1.0.0.6
Requires-Python: >=3.10
Requires-Dist: odoo>=17.0a,<17.1dev
Summary: Allow to generate a secondary invoice from a point of sale order for a second partner
Home-page: https://github.com/OCA/pos
License: AGPL-3
Author: Dixmit,INVITU,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 17.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 3 - Alpha
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=================
Pos Split Invoice
=================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:adb29b227e2789fbb1f2b0b36e4defba2d384fbcf8992d2e43e5e5c6788860a6
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
    :target: https://odoo-community.org/page/development-status
    :alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
    :target: https://github.com/OCA/pos/tree/17.0/pos_order_split_invoice
    :alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/pos-17-0/pos-17-0-pos_order_split_invoice
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=17.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module would allow use to split a pos.order in two moves.

The first one will be payed inside the PoS Order, and the second one
will be payed after by this secondary partner.

This approach might appear in several cases, mainly on co-payments
(Medical centers, Pharmacies...)

The pricelists created with split method shouldn't be used on Sale
Orders, as they are only supported with pos orders made in the pos UI.

.. IMPORTANT::
   This is an alpha version, the data model and design can change at any time without warning.
   Only for development or testing purpose, do not use in production.
   `More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
   :local:

Configuration
=============

Before using this module, you need to define pricelists with "Advanced
price rules" in point of sale settings (Pricing section).

After that, you need to create a Pricelist with a Splitting partner
configured and a rule with type **Split Invoice**. On that rule you need
to set the base pricelist used to compute the total price, the pricelist
used to split and the amount payed by the splitting partner.

For example, if we have a Product with a Pricelist A of 100 and a
Pricelist B of 80, and we specify the price computation "Based on"
Pricelist A and "Split amount based on" Pricelist B with "Split
percentage" of 90%, the final amount payed by the Customer will be: 100
- 80*90% = 28.

All the pricelists involved in the calculations (including the "Based
on") must be included on the Point Of Sale Configuration in order to
proceed properly.

Usage
=====

Change the amount pricelist of products to a splitting one and the
amount will be correctly computed on PoS.

After PoS validation, the invoice to the splitting partner will be
created.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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 <https://github.com/OCA/pos/issues/new?body=module:%20pos_order_split_invoice%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Dixmit
* INVITU

Contributors
------------

- Enric Tobella

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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/pos <https://github.com/OCA/pos/tree/17.0/pos_order_split_invoice>`_ project on GitHub.

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