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 12 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
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