Skip to content

Commit

Permalink
Merge pull request #1169 from VoicuStefan2001/17.0-mig-deltatech_sale…
Browse files Browse the repository at this point in the history
…_commission

[17.0][MIG] deltatech_sale_commission:Migration to 17.0
  • Loading branch information
dhongu authored Dec 28, 2023
2 parents 6f776ed + 2194fff commit c914300
Show file tree
Hide file tree
Showing 29 changed files with 2,222 additions and 0 deletions.
70 changes: 70 additions & 0 deletions deltatech_sale_commission/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
===============
Sale Commission
===============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:90ecb09f189f225524660f3abbc3f0a178ff938b137c9ead20605033679213ce
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/licence-OPL--1-blue.png
:target: https://www.odoo.com/documentation/master/legal/licenses.html
:alt: License: OPL-1
.. |badge3| image:: https://img.shields.io/badge/github-dhongu%2Fdeltatech-lightgray.png?logo=github
:target: https://github.com/dhongu/deltatech/tree/17.0/deltatech_sale_commission
:alt: dhongu/deltatech

|badge1| |badge2| |badge3|

Features:
- New technical access group for display margin and purchase price in customer invoice
- Technical access group to prevent changing price in customer invoice
- New technical access group to allow sale price below the purchase price
- Warning/Error on customer invoice if sale price is below the purchase price
- New report for analysis profitability
- Calculation of sales commissions on sale order salesperson or invoice salesperson (configurable)

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/dhongu/deltatech/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/dhongu/deltatech/issues/new?body=module:%20deltatech_sale_commission%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
~~~~~~~

* Terrabit
* Dorin Hongu

Maintainers
~~~~~~~~~~~

.. |maintainer-dhongu| image:: https://github.com/dhongu.png?size=40px
:target: https://github.com/dhongu
:alt: dhongu

Current maintainer:

|maintainer-dhongu|

This module is part of the `dhongu/deltatech <https://github.com/dhongu/deltatech/tree/17.0/deltatech_sale_commission>`_ project on GitHub.

You are welcome to contribute.
7 changes: 7 additions & 0 deletions deltatech_sale_commission/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# © 2008-2021 Deltatech
# See README.rst file on addons root folder for license details

from . import models

from . import report
from . import wizard
26 changes: 26 additions & 0 deletions deltatech_sale_commission/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# © 2008-2021 Deltatech
# See README.rst file on addons root folder for license details

{
"name": "Sale Commission",
"summary": "Compute sale commission",
"version": "17.0.1.1.5",
"category": "Sales",
"author": "Terrabit, Dorin Hongu",
"website": "https://www.terrabit.ro",
"depends": ["deltatech_sale_margin"],
"license": "OPL-1",
"data": [
"security/ir.model.access.csv",
"security/security.xml",
"views/account_invoice_view.xml",
"report/sale_margin_report.xml",
"views/commission_users_view.xml",
"wizard/commission_compute_view.xml",
"wizard/update_purchase_price_view.xml",
"views/res_config_settings_views.xml",
],
"images": ["static/description/main_screenshot.png"],
"development_status": "Mature",
"maintainers": ["dhongu"],
}
Loading

0 comments on commit c914300

Please sign in to comment.