Metadata-Version: 2.1
Name: odoo-addon-pos_discount_per_line
Version: 18.0.1.0.1
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Apply general discount on each line
Home-page: https://github.com/sygel-technology/sy-pos
License: AGPL-3
Author: Sygel
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
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 Discount Per Line
=====================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |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-sygel--technology%2Fsy--pos-lightgray.png?logo=github
    :target: https://github.com/sygel-technology/sy-pos/tree/18.0/pos_discount_per_line
    :alt: sygel-technology/sy-pos

|badge1| |badge2| |badge3|

This module allows to set a general discount in all the POS lines.

Unlike Odoo's default global POS discount, which applies to the entire
order, this discount is applied individually to each line item.

This module also offers the option to set two types of discount
operations:

- Sum: The global discount percentage will be added to the discount
  percentage of each line item.
- Replace: The discount percentage of each line item will be the global
  discount percentage applied.

**Table of contents**

.. contents::
   :local:

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

To configure this module, you need to:

1. Go to Point of Sale / Configuration / Settings. Select your Point of
   Sale to configure
2. Search the "Discount per Line" option. Select your desired default
   method, 'sum' or 'replace'

Usage
=====

To use this module, you need to:

1. Go to "Point of Sale" and open a POS session
2. Select some products to be selled
3. Click on Actions / Discount Per Line
4. Select your global discont and your method. Click on "Ok"
5. The discount would be applied to all the products you selected to be
   selled, in their respective lines.

Known issues / Roadmap
======================

- Unit tests or tours to test the JS code should be added in the next
  module versions

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

Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-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/sygel-technology/sy-pos/issues/new?body=module:%20pos_discount_per_line%0Aversion:%2018.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
-------

* Sygel

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

- `Sygel <https://www.sygel.es>`__:

  - Manuel Regidor
  - Alberto Martínez
  - Valentin Vinagre
  - Harald Panten

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

This module is part of the `sygel-technology/sy-pos <https://github.com/sygel-technology/sy-pos/tree/18.0/pos_discount_per_line>`_ project on GitHub.

You are welcome to contribute.
