Skip to content
Closed
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
89 changes: 89 additions & 0 deletions product_pricelist_alternative/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=============================
Product Pricelist Alternative
=============================

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

.. |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/license-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%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/19.0/product_pricelist_alternative
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-19-0/product-attribute-19-0-product_pricelist_alternative
: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/product-attribute&target_branch=19.0
:alt: Try me on Runboat

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

It allows you to define alternative price lists to a reference price
list. As a general rule, the price of a given product is obtained from
the minimum between its reference price list and the alternative price
lists.

However, if the product's reference price has been calculated on the
basis of a price rule in which the "Alternative Pricelist Policy =
Ignore" field is selected, the alternative price lists will not be taken
into account.

**Table of contents**

.. contents::
:local:

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

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

* Camptocamp

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

- Telmo Santos <telmo.santos@camptocamp.com>
- Akim Juillerat <akim.juillerat@camptocamp.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.

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/19.0/product_pricelist_alternative>`_ 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 product_pricelist_alternative/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions product_pricelist_alternative/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2024 Camptocamp (<https://www.camptocamp.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Product Pricelist Alternative",
"version": "19.0.1.0.0",
"development_status": "Beta",
"category": "Product",
"summary": "Calculate product price based on alternative pricelists",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"license": "AGPL-3",
"depends": [
"product",
],
"data": [
"views/product_pricelist_item_view.xml",
"views/product_pricelist_view.xml",
],
"installable": True,
"auto_install": False,
}
98 changes: 98 additions & 0 deletions product_pricelist_alternative/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_pricelist_alternative
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-19 09:06+0000\n"
"PO-Revision-Date: 2024-03-19 09:06+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist_item__alternative_pricelist_policy
msgid "Alternative Pricelist Policy"
msgstr "Politique de prix alternatifs"

#. module: product_pricelist_alternative
#: model_terms:ir.ui.view,arch_db:product_pricelist_alternative.product_pricelist_view
msgid "Alternative Pricelists"
msgstr "Listes de prix alternatives"

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist__alternative_pricelist_ids
msgid "Alternative pricelists"
msgstr "Listes de prix alternatives"

#. module: product_pricelist_alternative
#: model_terms:ir.ui.view,arch_db:product_pricelist_alternative.product_pricelist_view
msgid "Alternative to Pricelist"
msgstr "Alternative à la liste de prix"

#. module: product_pricelist_alternative
#. odoo-python
#: code:addons/product_pricelist_alternative/models/product_pricelist.py:0
#, python-format
msgid ""
"Formulas based on another pricelist are not allowed on alternative "
"pricelists."
msgstr ""
"Les formules basées sur un autre liste de prix ne sont pas autorisées sur "
"les listes de prix alternatives alternatifs."

#. module: product_pricelist_alternative
#: model:ir.model.fields.selection,name:product_pricelist_alternative.selection__product_pricelist_item__alternative_pricelist_policy__ignore
msgid "Ignore alternatives"
msgstr "Ignorer les alternatives"

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist__is_alternative_to_pricelist_count
msgid "Is Alternative To Pricelist Count"
msgstr ""

#. module: product_pricelist_alternative
#. odoo-python
#: code:addons/product_pricelist_alternative/models/product_pricelist.py:0
#, python-format
msgid "Is Alternative to Pricelist"
msgstr ""

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist__is_alternative_to_pricelist_ids
msgid "Is alternative to pricelists"
msgstr ""

#. module: product_pricelist_alternative
#. odoo-python
#: code:addons/product_pricelist_alternative/models/product_pricelist_item.py:0
#, python-format
msgid ""
"It is not possible to encode this price rule. Formulas based on another "
"pricelist are not allowed on alternative pricelists. Please change to "
"another type of price computation."
msgstr ""
"Il n'est pas possible d'encoder cette règle de prix. Les formules basées sur "
"une autre ne sont pas autorisées dans les listes de prix alternatives. "
"Veuillez passer à un autre type de calcul de prix."

#. module: product_pricelist_alternative
#: model:ir.model,name:product_pricelist_alternative.model_product_pricelist
msgid "Pricelist"
msgstr ""

#. module: product_pricelist_alternative
#: model:ir.model,name:product_pricelist_alternative.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr ""

#. module: product_pricelist_alternative
#: model:ir.model.fields.selection,name:product_pricelist_alternative.selection__product_pricelist_item__alternative_pricelist_policy__use_lower_price
msgid "Use lower price"
msgstr "Utiliser le prix le plus bas"
98 changes: 98 additions & 0 deletions product_pricelist_alternative/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_pricelist_alternative
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-10-13 18:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.6.2\n"

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist_item__alternative_pricelist_policy
msgid "Alternative Pricelist Policy"
msgstr "Politica dei listini alternativi"

#. module: product_pricelist_alternative
#: model_terms:ir.ui.view,arch_db:product_pricelist_alternative.product_pricelist_view
msgid "Alternative Pricelists"
msgstr "Listini alternativi"

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist__alternative_pricelist_ids
msgid "Alternative pricelists"
msgstr "Listini alternativi"

#. module: product_pricelist_alternative
#: model_terms:ir.ui.view,arch_db:product_pricelist_alternative.product_pricelist_view
msgid "Alternative to Pricelist"
msgstr "Alternativa al listino"

#. module: product_pricelist_alternative
#. odoo-python
#: code:addons/product_pricelist_alternative/models/product_pricelist.py:0
#, python-format
msgid ""
"Formulas based on another pricelist are not allowed on alternative "
"pricelists."
msgstr ""
"Le formule che si basano su un altro listino non sono consentite nei listini "
"alternativi."

#. module: product_pricelist_alternative
#: model:ir.model.fields.selection,name:product_pricelist_alternative.selection__product_pricelist_item__alternative_pricelist_policy__ignore
msgid "Ignore alternatives"
msgstr "Ignora alternative"

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist__is_alternative_to_pricelist_count
msgid "Is Alternative To Pricelist Count"
msgstr "Conteggio alternative ai listino"

#. module: product_pricelist_alternative
#. odoo-python
#: code:addons/product_pricelist_alternative/models/product_pricelist.py:0
#, python-format
msgid "Is Alternative to Pricelist"
msgstr "È alternativa al listino"

#. module: product_pricelist_alternative
#: model:ir.model.fields,field_description:product_pricelist_alternative.field_product_pricelist__is_alternative_to_pricelist_ids
msgid "Is alternative to pricelists"
msgstr "È alternativa ai listini"

#. module: product_pricelist_alternative
#. odoo-python
#: code:addons/product_pricelist_alternative/models/product_pricelist_item.py:0
#, python-format
msgid ""
"It is not possible to encode this price rule. Formulas based on another "
"pricelist are not allowed on alternative pricelists. Please change to "
"another type of price computation."
msgstr ""
"Non è possibile codificare questa regola di prezzo. Le formule che si basano "
"su un altro listino non sono consentite nei listini alternativi. Scegliere "
"un altro tipo di calcolo del prezzo."

#. module: product_pricelist_alternative
#: model:ir.model,name:product_pricelist_alternative.model_product_pricelist
msgid "Pricelist"
msgstr "Listino prezzi"

#. module: product_pricelist_alternative
#: model:ir.model,name:product_pricelist_alternative.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr "Regola listino prezzi"

#. module: product_pricelist_alternative
#: model:ir.model.fields.selection,name:product_pricelist_alternative.selection__product_pricelist_item__alternative_pricelist_policy__use_lower_price
msgid "Use lower price"
msgstr "Utilizzare prezzo minimo"
Loading