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

[17.0][MIG] loyalty_limit: Migration to 17.0 #233

Open
wants to merge 10 commits into
base: 17.0
Choose a base branch
from
Open
94 changes: 94 additions & 0 deletions loyalty_limit/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
=============
Loyalty Limit
=============

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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%2Fsale--promotion-lightgray.png?logo=github
:target: https://github.com/OCA/sale-promotion/tree/17.0/loyalty_limit
:alt: OCA/sale-promotion
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-promotion-17-0/sale-promotion-17-0-loyalty_limit
: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/sale-promotion&target_branch=17.0
:alt: Try me on Runboat

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

This module allows to configure a limit on the times a promotion can be
applied. It's a technical base to be extended with top level
functionality (sales, pos).

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-promotion/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/sale-promotion/issues/new?body=module:%20loyalty_limit%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
-------

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- David Vidal
- Pilar Vargas

- `Akretion <https://www.akretion.com>`__:

- Florian Mounier

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-chienandalu| image:: https://github.com/chienandalu.png?size=40px
:target: https://github.com/chienandalu
:alt: chienandalu

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

|maintainer-chienandalu|

This module is part of the `OCA/sale-promotion <https://github.com/OCA/sale-promotion/tree/17.0/loyalty_limit>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions loyalty_limit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions loyalty_limit/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2021 Tecnativa - David Vidal
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Loyalty Limit",
"summary": "Restrict number of promotions per customer or salesman",
"version": "17.0.1.0.0",
"development_status": "Production/Stable",
"category": "Sale",
"website": "https://github.com/OCA/sale-promotion",
"author": "Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["chienandalu"],
"license": "AGPL-3",
"depends": ["loyalty"],
"data": ["views/loyalty_program_views.xml", "security/ir.model.access.csv"],
}
162 changes: 162 additions & 0 deletions loyalty_limit/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * loyalty_limit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-17 09:19+0000\n"
"PO-Revision-Date: 2025-01-17 09:19+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: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__create_uid
msgid "Created by"
msgstr "Creado por"

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

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__id
msgid "ID"
msgstr ""

#. module: loyalty_limit
#: model:ir.model.fields,help:loyalty_limit.field_loyalty_program__salesmen_strict_limit
msgid ""
"If marked, promotion will only be allowed for the list of salesmen with "
"their quantities"
msgstr ""
"Si se marca, la promoción sólo se permitirá para la lista de vendedores con "
"sus cantidades"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: loyalty_limit
#: model:ir.model,name:loyalty_limit.model_loyalty_program
msgid "Loyalty Program"
msgstr "Programa de fidelización"

#. module: loyalty_limit
#: model:ir.model,name:loyalty_limit.model_loyalty_salesmen_limit
msgid "Loyalty Salesmen limits"
msgstr "Límites de los vendedores fieles"

#. module: loyalty_limit
#: model_terms:ir.ui.view,arch_db:loyalty_limit.loyalty_program_view_form
msgid "Max"
msgstr ""

#. module: loyalty_limit
#: model_terms:ir.ui.view,arch_db:loyalty_limit.loyalty_program_view_form
msgid "Max. Customer Applications"
msgstr "Max. Aplicaciones del cliente"

#. module: loyalty_limit
#: model_terms:ir.ui.view,arch_db:loyalty_limit.loyalty_program_view_form
msgid "Max. Salesmen Applications"
msgstr "Max. Vendedores Aplicaciones"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_program__max_customer_application
msgid "Maximum Customer Applications"
msgstr "Máximas aplicaciones para el cliente"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__max_salesman_application
msgid "Maximum Salesman Applications"
msgstr "Máximas aplicaciones para el vendedor"

#. module: loyalty_limit
#: model:ir.model.fields,help:loyalty_limit.field_loyalty_salesmen_limit__max_salesman_application
msgid "Maximum times a salesman can apply a program. 0 for no limit."
msgstr "Máximo de veces que un vendedor puede aplicar un programa. 0 para ningún límite."

#. module: loyalty_limit
#: model:ir.model.fields,help:loyalty_limit.field_loyalty_program__salesmen_limit_ids
msgid "Maximum times salesmen can apply a program. Empty for no limit."
msgstr "Máximo de veces que los vendedores pueden aplicar un programa. Vacío para sin límite."

#. module: loyalty_limit
#: model:ir.model.fields,help:loyalty_limit.field_loyalty_program__max_customer_application
msgid ""
"Maximum times that a program can be applied to a customer. 0 for no limit."
msgstr ""
"Máximo de veces que se puede aplicar un programa a un cliente. 0 para ningún límite."

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__program_id
msgid "Program"
msgstr "Programa"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__user_id
msgid "Salesman"
msgstr "Vendedor"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_program__salesmen_limit_ids
msgid "Salesmen Limits"
msgstr "Límites para vendedores"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_program__salesmen_limit_count
msgid "Salesmen maximum promotions"
msgstr "Promociones máximas de vendedores"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_program__salesmen_limit_used_count
msgid "Salesmen promotions used"
msgstr "Promociones de vendedores utilizadas"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_program__salesmen_strict_limit
msgid "Strict limit"
msgstr "Limite estricto"

#. module: loyalty_limit
#: model:ir.model.constraint,message:loyalty_limit.constraint_loyalty_salesmen_limit_user_id_uniq
msgid "This salesman limit is already configured"
msgstr "Este límite de vendedor ya está configurado"

#. module: loyalty_limit
#: model_terms:ir.ui.view,arch_db:loyalty_limit.loyalty_program_view_form
msgid "Total limit"
msgstr "Limite total"

#. module: loyalty_limit
#: model_terms:ir.ui.view,arch_db:loyalty_limit.loyalty_program_view_form
msgid "Total used"
msgstr "Total utilizado"

#. module: loyalty_limit
#: model:ir.model.fields,field_description:loyalty_limit.field_loyalty_salesmen_limit__times_used
msgid "Uses"
msgstr "Utiliza"

#. module: loyalty_limit
#: model_terms:ir.ui.view,arch_db:loyalty_limit.loyalty_program_view_form
msgid "used already)"
msgstr "ya utilizado)"
Loading
Loading