Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] sale_commission_partial_settlement: Migration to 16.0 #561

Open
wants to merge 30 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
42e9914
[ADD]sale_commission_partial_payment: Commission based on payment amount
matteonext Dec 1, 2023
04722e8
[UPD] Update sale_commission_partial_settlement.pot
Dec 13, 2023
1688f60
Added translation using Weblate (Spanish)
Ivorra78 Dec 13, 2023
5eed4cb
Translated using Weblate (Spanish)
Ivorra78 Dec 13, 2023
686fddc
Translated using Weblate (Spanish)
Ivorra78 Dec 13, 2023
6991d40
Added translation using Weblate (Italian)
francesco-ooops Dec 14, 2023
08e15d4
Translated using Weblate (Italian)
francesco-ooops Dec 14, 2023
3ab51e8
[FIX] sale_commission_partial_settlement: reset agent partial
renda-dev Jul 25, 2024
b2551df
[IMP] sale_commission_partial_settlement: add maintainers
renda-dev Jul 26, 2024
b4d87c8
[BOT] post-merge updates
OCA-git-bot Jul 29, 2024
0bb7f3e
[IMP] sale_commission_partial_settlement: pre-commit stuff
dalonsofl Sep 11, 2024
3ae3861
[MIG] sale_commission_partial_settlement: Migration to 16.0
dalonsofl Sep 11, 2024
c051217
[FIX]sale_commission_product_criteria: ignore error on create
PicchiSeba Oct 15, 2024
d647a51
[IMP]sale_commission_product_criteria: reorder test functions, add ma…
PicchiSeba Oct 15, 2024
090359c
Merge PR #571 into 16.0
OCA-git-bot Nov 5, 2024
6ad15f0
[BOT] post-merge updates
OCA-git-bot Nov 5, 2024
bf48b2f
[ADD]sale_commission_partial_payment: Commission based on payment amount
matteonext Dec 1, 2023
c24d96a
[UPD] Update sale_commission_partial_settlement.pot
Dec 13, 2023
64c69c0
Added translation using Weblate (Spanish)
Ivorra78 Dec 13, 2023
e66f4a7
Translated using Weblate (Spanish)
Ivorra78 Dec 13, 2023
54f4062
Translated using Weblate (Spanish)
Ivorra78 Dec 13, 2023
eb2d8a1
Added translation using Weblate (Italian)
francesco-ooops Dec 14, 2023
c2bf624
Translated using Weblate (Italian)
francesco-ooops Dec 14, 2023
acb024c
[FIX] sale_commission_partial_settlement: reset agent partial
renda-dev Jul 25, 2024
8c2e3b8
[IMP] sale_commission_partial_settlement: add maintainers
renda-dev Jul 26, 2024
14d7853
[BOT] post-merge updates
OCA-git-bot Jul 29, 2024
35ca34d
[IMP] sale_commission_partial_settlement: pre-commit stuff
dalonsofl Sep 11, 2024
d890fb9
[MIG] sale_commission_partial_settlement: Migration to 16.0
dalonsofl Sep 11, 2024
8b29a92
[MIG] sale_commission_partial_settlement: Migration to 16.0
dalonsofl Nov 19, 2024
4b3a0f3
[MIG] sale_commission_partial_settlement: Migration to 16.0
dalonsofl Nov 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ addon | version | maintainers | summary
[hr_commission](hr_commission/) | 16.0.1.0.0 | | HR commissions
[sale_commission](sale_commission/) | 16.0.1.0.2 | [![pedrobaeza](https://github.com/pedrobaeza.png?size=30px)](https://github.com/pedrobaeza) | Sales commissions
[sale_commission_agent_restrict](sale_commission_agent_restrict/) | 16.0.1.0.0 | [![aleuffre](https://github.com/aleuffre.png?size=30px)](https://github.com/aleuffre) | Sales Commissions Agent Restrict
[sale_commission_product_criteria](sale_commission_product_criteria/) | 16.0.1.0.0 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Advanced commissions rules
[sale_commission_product_criteria_discount](sale_commission_product_criteria_discount/) | 16.0.1.0.0 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Advanced commissions rules with discount
[sale_commission_product_criteria](sale_commission_product_criteria/) | 16.0.1.0.1 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Advanced commissions rules
[sale_commission_product_criteria_discount](sale_commission_product_criteria_discount/) | 16.0.1.0.1 | [![aleuffre](https://github.com/aleuffre.png?size=30px)](https://github.com/aleuffre) [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) [![renda-dev](https://github.com/renda-dev.png?size=30px)](https://github.com/renda-dev) [![PicchiSeba](https://github.com/PicchiSeba.png?size=30px)](https://github.com/PicchiSeba) | Advanced commissions rules with discount
[sale_commission_product_criteria_domain](sale_commission_product_criteria_domain/) | 16.0.1.0.2 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Sale Commission Product Criteria Domain
[sale_commission_salesman](sale_commission_salesman/) | 16.0.1.0.1 | | Sales commissions from salesman

Expand Down
110 changes: 110 additions & 0 deletions sale_commission_partial_settlement/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
======================================
Sales commissions based on paid amount
======================================

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

.. |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-OCA%2Fcommission-lightgray.png?logo=github
:target: https://github.com/OCA/commission/tree/16.0/sale_commission_partial_settlement
:alt: OCA/commission
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/commission-16-0/commission-16-0-sale_commission_partial_settlement
: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/commission&target_branch=16.0
:alt: Try me on Runboat

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

This module allows to settle commissions based on paid amount.

**Table of contents**

.. contents::
:local:

Usage
=====

* Go to Sales > Commissions Management > Commission Types > create or open a record
* Select Invoice Status: Payment Based
* Select Payment Amount Type: Paid Amount

Behavior for commission settlements will be as per module description.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/commission/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/commission/issues/new?body=module:%20sale_commission_partial_settlement%0Aversion:%2016.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
~~~~~~~

* Nextev Srl
* Ooops

Contributors
~~~~~~~~~~~~

* Nextev <odoo@nextev.it>:

* Matteo Tognini

* PyTech SRL <info@pytech.it>:

* Alessandro Uffreduzzi <alessandro.uffreduzzi@pytech.it>

* Ooops404 <info@ooops404.com>:

* Francesco Foresti <francesco.foresti@ooops404.com>

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.

.. |maintainer-aleuffre| image:: https://github.com/aleuffre.png?size=40px
:target: https://github.com/aleuffre
:alt: aleuffre
.. |maintainer-renda-dev| image:: https://github.com/renda-dev.png?size=40px
:target: https://github.com/renda-dev
:alt: renda-dev
.. |maintainer-PicchiSeba| image:: https://github.com/PicchiSeba.png?size=40px
:target: https://github.com/PicchiSeba
:alt: PicchiSeba

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-aleuffre| |maintainer-renda-dev| |maintainer-PicchiSeba|

This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/16.0/sale_commission_partial_settlement>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions sale_commission_partial_settlement/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
16 changes: 16 additions & 0 deletions sale_commission_partial_settlement/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2023 Nextev
{
"name": "Sales commissions based on paid amount",
"version": "16.0.1.0.0",
"author": "Nextev Srl," "Ooops," "Odoo Community Association (OCA)",
"maintainers": ["aleuffre", "renda-dev", "PicchiSeba"],
"category": "Sales Management",
"license": "AGPL-3",
"depends": ["sale_commission"],
"website": "https://github.com/OCA/commission",
"data": [
"security/ir.model.access.csv",
"views/commission_view.xml",
],
"installable": True,
}
148 changes: 148 additions & 0 deletions sale_commission_partial_settlement/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_commission_partial_settlement
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-13 07:50+0000\n"
"PO-Revision-Date: 2024-09-13 07:50+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__agent_line
msgid "Agent Line"
msgstr "Línea de Agente"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_commission_settlement_line__agent_line_partial_ids
msgid "Agent Line Partial"
msgstr "Línea de Agente Parcial"

#. module: sale_commission_partial_settlement
#: model:ir.model,name:sale_commission_partial_settlement.model_account_invoice_line_agent
msgid "Agent detail of commission line in invoice lines"
msgstr "Detalle de agente de línea de comisión en líneas de pedido"

#. module: sale_commission_partial_settlement
#: model:ir.model,name:sale_commission_partial_settlement.model_commission
msgid "Commission"
msgstr "Comisión"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__amount
msgid "Commission Amount"
msgstr "Importe de la Comisión"

#. module: sale_commission_partial_settlement
#. odoo-python
#: code:addons/sale_commission_partial_settlement/wizard/commission_make_settle.py:0
#, python-format
msgid "Created Settlements"
msgstr "Liquidaciones Creadas"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__create_date
msgid "Created on"
msgstr "Creado el"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__currency_id
msgid "Currency"
msgstr "Divisa"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__display_name
msgid "Display Name"
msgstr "Nombre a Mostrar"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields.selection,name:sale_commission_partial_settlement.selection__commission__payment_amount_type__full
msgid "Full amount"
msgstr "Importe total"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__id
msgid "ID"
msgstr ""

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__invoice_line_agent_id
msgid "Invoice Line Agent"
msgstr "Agente de Línea de Facturación"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__write_uid
msgid "Last Updated by"
msgstr "Última Actualización por"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__write_date
msgid "Last Updated on"
msgstr "Última Actualización el"

#. module: sale_commission_partial_settlement
#: model:ir.model,name:sale_commission_partial_settlement.model_commission_settlement_line
msgid "Line of a commission settlement"
msgstr "Línea de liquidación de una comisión"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields.selection,name:sale_commission_partial_settlement.selection__commission__payment_amount_type__paid
msgid "Paid amount"
msgstr "Importe pagado"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent__partial_settled
msgid "Partial Commission Amount Settled"
msgstr "Comisión Parcial Importe liquidado"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_partial_reconcile__partial_commission_settled
msgid "Partial Commission Settled"
msgstr "Comisión Parcial Liquidada"

#. module: sale_commission_partial_settlement
#: model:ir.model,name:sale_commission_partial_settlement.model_account_partial_reconcile
msgid "Partial Reconcile"
msgstr "Conciliación parcial"

#. module: sale_commission_partial_settlement
#: model:ir.model,name:sale_commission_partial_settlement.model_account_invoice_line_agent_partial
msgid "Partial agent commissions"
msgstr "Comisiones parciales de agente"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_commission__payment_amount_type
msgid "Payment amount type"
msgstr "Tipo de importe del pago"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_account_invoice_line_agent_partial__settled
msgid "Settled"
msgstr "Liquidado"

#. module: sale_commission_partial_settlement
#: model:ir.model.fields,field_description:sale_commission_partial_settlement.field_commission_settlement_line__settled_amount
msgid "Settled Amount"
msgstr "Cantidad Liquidada"

#. module: sale_commission_partial_settlement
#: model:ir.model,name:sale_commission_partial_settlement.model_commission_make_settle
msgid "Wizard for settling commissions"
msgstr "Asistente para liquidación de comisiones"
Loading
Loading