Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
51348b4
[REN] product_pricelist_margin to product_pricelist_simulation
Jul 12, 2022
02674e3
[IMP] product_pricelist_simulation: black, isort, prettier
Jul 12, 2022
3730c17
[MIG] product_pricelist_simulation: Migration to 13.0
Jul 12, 2022
515df94
[UPD] Update product_pricelist_simulation.pot
Jul 20, 2022
ca06a60
[UPD] README.rst
OCA-git-bot Jul 20, 2022
5fdb62d
[IMP] product_pricelist_simulation: pre-commit stuff
Jun 6, 2023
f316e0c
[MIG] product_pricelist_simulation: Migration to 16.0
Jun 6, 2023
27a8f66
[UPD] Update product_pricelist_simulation.pot
Jun 7, 2023
e1002e4
[UPD] README.rst
OCA-git-bot Jun 7, 2023
14e49b1
Update translation files
weblate Jun 7, 2023
058377b
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
415c3de
[UPD] README.rst
OCA-git-bot Sep 3, 2023
046b501
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Oct 4, 2023
ae8e07c
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 4, 2023
2c12c65
[FIX] product_pricelist_simulation: switch tests to TransactionCase
LoisRForgeFlow Oct 24, 2023
e0665a4
[BOT] post-merge updates
OCA-git-bot Oct 24, 2023
5eab755
Added translation using Weblate (Italian)
mymage Oct 29, 2023
27e008a
Translated using Weblate (Italian)
mymage Oct 29, 2023
3c7ce3c
[FIX] product_pricelist_simulation: change price label to "Unit Price"
LoisRForgeFlow Oct 30, 2023
73c55a3
[UPD] Update product_pricelist_simulation.pot
Oct 30, 2023
194dd93
[BOT] post-merge updates
OCA-git-bot Oct 30, 2023
22582ab
Update translation files
weblate Oct 30, 2023
cf97146
Translated using Weblate (Italian)
mymage Oct 30, 2023
ae926eb
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 31, 2023
0b2b6a4
Translated using Weblate (Spanish)
Ivorra78 Nov 4, 2023
147bb35
product_pricelist_simulation*: fix Monetary field warning
simahawk Feb 19, 2024
cca1fd1
[BOT] post-merge updates
OCA-git-bot Feb 29, 2024
7725aa8
Added translation using Weblate (Turkish)
Mar 11, 2024
3b75295
Translated using Weblate (Turkish)
Mar 11, 2024
f75434a
[IMP] product_pricelist_simulation: pre-commit auto fixes
bizzappdev May 31, 2024
2b211be
[MIG] product_pricelist_simulation: Migration to 17.0
bizzappdev Jun 14, 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
111 changes: 111 additions & 0 deletions product_pricelist_simulation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
============================
Product Pricelist Simulation
============================

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

.. |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%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/17.0/product_pricelist_simulation
: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-17-0/product-attribute-17-0-product_pricelist_simulation
: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=17.0
:alt: Try me on Runboat

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

This module extends the product pricelists feature to allow show price
for all pricelists from a product form view.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Go to product form view.
2. Click *See Price per Pricelist* button.
3. A new dialog will appear showing the prices for the current date and
quantity=1 for the current product.
4. You can modify the date to see the prices on that date (if you have
pricelists with specific intervals of time), or for other quantity
(if you have pricelists depending on the number).
5. If you have clicked from a product with variants, you will see by
default the prices for all the existing variants on each shown
pricelist, but you can select a specific variant in the field
"Product Variant" to filter out the rest of the variants except the
selected one.

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_simulation%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
-------

* GRAP
* Tecnativa

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

- Sylvain LE GAL <https://twitter.com/legalsylvain>
- `Tecnativa <https://www.tecnativa.com>`__:
- `FactorLibre <https://www.factorlibre.com>`__

- Sergio Teruel
- Ernesto Tejeda
- Pedro M. Baeza
- Hugo Córdoba

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

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

|maintainer-legalsylvain|

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/17.0/product_pricelist_simulation>`_ 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 product_pricelist_simulation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
22 changes: 22 additions & 0 deletions product_pricelist_simulation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2017 Tecnativa - Sergio Teruel
# License AGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Product Pricelist Simulation",
"summary": "Simulate the product price for all pricelists",
"version": "17.0.1.0.0",
"category": "Product",
"website": "https://github.com/OCA/product-attribute",
"author": "GRAP, Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["product"],
"data": [
"security/ir.model.access.csv",
"wizards/wizard_preview_pricelist_views.xml",
"views/product_views.xml",
"views/pricelist_views.xml",
],
}
144 changes: 144 additions & 0 deletions product_pricelist_simulation/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_pricelist_simulation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-13 20:23+0000\n"
"PO-Revision-Date: 2023-11-04 11:38+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: product_pricelist_simulation
#: model_terms:ir.ui.view,arch_db:product_pricelist_simulation.view_pricelist_simulation_view_form
msgid "Close"
msgstr "Cerrar"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__create_uid
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__create_date
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__create_date
msgid "Created on"
msgstr "Creado el"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__currency_id
msgid "Currency"
msgstr "Moneda"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__price_date
msgid "Date"
msgstr "Fecha"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__display_name
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__id
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__id
msgid "ID"
msgstr "ID"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist____last_update
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line____last_update
msgid "Last Modified on"
msgstr "Últ. modificación en"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__write_uid
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__write_uid
msgid "Last Updated by"
msgstr "Últ. actualización por"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__write_date
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__write_date
msgid "Last Updated on"
msgstr "Últ. actualización el"

#. module: product_pricelist_simulation
#: model:ir.model,name:product_pricelist_simulation.model_product_pricelist
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__pricelist_id
msgid "Pricelist"
msgstr "Tarifa"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__template_id
msgid "Product Template"
msgstr "Plantilla de producto"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__product_id
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__product_id
msgid "Product Variant"
msgstr "Variante de producto"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__product_qty
msgid "Quantity"
msgstr "Cantidad"

#. module: product_pricelist_simulation
#: model:ir.actions.act_window,name:product_pricelist_simulation.pricelist_simulation_action
#: model_terms:ir.ui.view,arch_db:product_pricelist_simulation.product_template_form_view_pricelist_simulation
msgid "See Price per Pricelist"
msgstr "Ver precio por tarifa"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_product_pricelist__show_in_simulation
msgid "Show In Simulation"
msgstr "Mostrar En Simulación"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__simulation_id
msgid "Simulation"
msgstr "Simulación"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__line_ids
msgid "Simulation Lines"
msgstr "Líneas de simulación"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist_line__price
msgid "Unit Price"
msgstr "Precio Unitario"

#. module: product_pricelist_simulation
#: model:ir.model.fields,field_description:product_pricelist_simulation.field_wizard_preview_pricelist__variant_count
msgid "Variants Count"
msgstr "Variantes"

#. module: product_pricelist_simulation
#: model:ir.model,name:product_pricelist_simulation.model_wizard_preview_pricelist
msgid "wizard - Preview Pricelist"
msgstr "asistente - Vista previa de la lista de precios"

#. module: product_pricelist_simulation
#: model:ir.model,name:product_pricelist_simulation.model_wizard_preview_pricelist_line
msgid "wizard - Preview Pricelist Line"
msgstr "asistente - Vista previa de línea de lista de precios"

#~ msgid "Price"
#~ msgstr "Precio"

#~ msgid "Show in simulation"
#~ msgstr "Mostrar en simulación"
Loading