Metadata-Version: 2.1
Name: odoo-addon-sale_order_line_view_negative_margin
Version: 18.0.1.0.0
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Sale Order Line turns red if margin is negative or 0
Home-page: https://github.com/sygel-technology/sy-sale-workflow
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

====================================
Sale Order Line View Negative Margin
====================================

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

.. |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/licence-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--sale--workflow-lightgray.png?logo=github
    :target: https://github.com/sygel-technology/sy-sale-workflow/tree/18.0/sale_order_line_view_negative_margin
    :alt: sygel-technology/sy-sale-workflow

|badge1| |badge2| |badge3|

Sale Order Line turns red if margin is negative.

**Table of contents**

.. contents::
   :local:

Usage
=====

To use this module:

1. Go to **Sales > Orders > Quotations** and create a new quotation.
2. Add a product with a configured cost.
3. Set a sales price that results in a positive margin and verify that
   the order line is displayed normally.
4. Change the sales price so that the line has a negative margin and
   verify that the order line is highlighted in red.
5. Set the sales price so that the margin is exactly zero and verify
   that the order line is also highlighted in red.
6. Change the sales price again so that the margin becomes positive and
   verify that the red highlighting disappears.

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

Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-sale-workflow/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-sale-workflow/issues/new?body=module:%20sale_order_line_view_negative_margin%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
  - Valentin Vinagre
  - Harald Panten

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

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

You are welcome to contribute.
