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

[18.0][MIG] product_pricelist_revision: Migration to 18.0 #1791

Open
wants to merge 31 commits into
base: 18.0
Choose a base branch
from
Open
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
cf135c7
11.0[WIP]product_pricelist_revision
sergio-teruel Sep 21, 2018
3179382
[11.0][IMP] product_pricelist_revision: Complete translations
sergio-teruel Feb 8, 2019
9855a40
[MIG] product_pricelist_revision: Migration to 12.0
ernestotejeda Nov 5, 2019
3849973
[IMP] product_pricelist_revision: black, isort
sergio-teruel Feb 3, 2020
cfa4790
[MIG] product_pricelist_revision: Migration to v13.0
sergio-teruel Feb 3, 2020
e231087
[IMP] product_pricelist_revision: Add percent price column and curren…
carlosdauden Feb 10, 2021
3807c6a
Added translation using Weblate (Catalan)
claudiagn Feb 25, 2021
2dd4944
Translated using Weblate (Catalan)
claudiagn Feb 25, 2021
b43a168
[FIX] product_pricelist_revision: Applied the new way for digits
CarlosRoca13 Mar 4, 2021
60f59c7
[IMP] product_pricelist_revision: Allow create pricelist item
carlosdauden Mar 29, 2021
6d9511e
[IMP] *: pre-commit execution
joao-p-marques Aug 5, 2021
e98bb10
[MIG] product_pricelist_revision: Migration to 14.0
victoralmau Nov 10, 2021
0d7528d
[FIX] Fix access right issues when using actions
sebalix Jan 29, 2022
b7ea1cd
product_pricelist_revision: fix date_end/date_start are datetime
sebastienbeau Jul 11, 2022
28f47d0
Added translation using Weblate (Italian)
francesco-ooops Sep 29, 2022
1151260
Translated using Weblate (Italian)
francesco-ooops Sep 29, 2022
0674daa
[MIG] product_pricelist_revision: Migration to 15.0
CarlosRoca13 Nov 9, 2022
ef7a63b
[MIG] product_pricelist_revision: Migration to 16.0
Yadier-Tecnativa Apr 27, 2023
9f8a751
[UPD] Update product_pricelist_revision.pot
Jun 6, 2023
425ad58
[UPD] README.rst
OCA-git-bot Jun 6, 2023
14ba838
[UPD] README.rst
OCA-git-bot Sep 3, 2023
387827c
Translated using Weblate (Italian)
mymage Oct 29, 2023
083f3f7
[IMP] product_pricelist_revision: test performance improvement
josep-tecnativa Oct 23, 2023
882a473
[BOT] post-merge updates
OCA-git-bot Oct 30, 2023
0f44a4b
Added translation using Weblate (French)
Nov 15, 2023
4eaaeac
Translated using Weblate (French)
Nov 15, 2023
b828238
[IMP] product_pricelist_revision: pre-commit auto fixes
Apr 30, 2024
859e7ff
[MIG] product_pricelist_revision: Migration to 17.0
Apr 30, 2024
7d9b420
[UPD] Update product_pricelist_revision.pot
Sep 11, 2024
4ac597b
[BOT] post-merge updates
OCA-git-bot Sep 11, 2024
947160c
[MIG] product_pricelist_revision: Migration to 18.0
HeliconiaSolutions Dec 2, 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
114 changes: 114 additions & 0 deletions product_pricelist_revision/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
==========================
Product Pricelist Revision
==========================

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

.. |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/18.0/product_pricelist_revision
: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-18-0/product-attribute-18-0-product_pricelist_revision
: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=18.0
:alt: Try me on Runboat

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

This module adds a 'Pricelist items' tree view that allows to select
several elements to version them and also to see the percentage 'fixed
price' variation between a version and the previous one.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Go to *Sales > Configuration > Settings* and check "Pricelists"
option and "Advanced price rules" after that.

Usage
=====

To use this module, you need to:

1. Go to *Sales > Products > Pricelists* and create a new Price List.
2. Add a Pricelist Items to that Price List. Set 'Fix Price' value on
the field 'Compute Price' and set a fixed price.
3. Go to the new menu *Sales > Products > Pricelist Items*, select the
previously created item and click on *Action > Duplicate Item*.
4. In the wizard set 'Date Start', set 'Date End' and set 'Variation %'
to a value different from 100.
5. Click on 'Apply' and you will see a new Price List Item that is a
copy of the previous item. In that new Item the value of the 'Fixed
Price' field will be the previous price plus that price multiplied by
the variation percentage and the value of the 'Variation %' will
contain that value.

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_revision%0Aversion:%2018.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>`__:

- Carlos Dauden
- Ernesto Tejeda
- Carlos Roca

- `Binhex <https://binhex.cloud/>`__:

- Mario Luis

- Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>

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/18.0/product_pricelist_revision>`_ 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_revision/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
19 changes: 19 additions & 0 deletions product_pricelist_revision/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2018 Carlos Dauden - Tecnativa
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Pricelist Revision",
"summary": "Product Pricelist Revision",
"version": "18.0.1.0.0",
"category": "Product",
"website": "https://github.com/OCA/product-attribute",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["sale_management"],
"data": [
"security/ir.model.access.csv",
"views/pricelist_view.xml",
"wizards/pricelist_duplicate_wizard_view.xml",
],
}
178 changes: 178 additions & 0 deletions product_pricelist_revision/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_pricelist_revision
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-25 12:45+0000\n"
"Last-Translator: claudiagn <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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 4.3.2\n"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.pricelist_item_duplicate_wizard_view
msgid "Apply"
msgstr "Aplicar"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.pricelist_item_duplicate_wizard_view
msgid "Cancel"
msgstr "Cancelar"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search
msgid "Category Rule"
msgstr "Regla de categoria"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__create_uid
msgid "Created by"
msgstr "Creat per"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__create_date
msgid "Created on"
msgstr "Creat el"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search
msgid "Current"
msgstr "Actual"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__date_end
msgid "Date End"
msgstr "Data final"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__date_start
msgid "Date Start"
msgstr "Data d'inici"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__display_name
msgid "Display Name"
msgstr "Nom visible"

#. module: product_pricelist_revision
#: model:ir.actions.act_window,name:product_pricelist_revision.pricelist_item_duplicate_wizard_action
msgid "Duplicate Item"
msgstr "Duplicar article"

#. module: product_pricelist_revision
#: model:ir.model.fields,help:product_pricelist_revision.field_product_pricelist_item__name
msgid "Explicit rule name for this pricelist line."
msgstr "Nom de la regla explícita per a aquesta línia de preus."

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search
msgid "Global Rule"
msgstr "Regla global"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__id
msgid "ID"
msgstr "ID"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard____last_update
msgid "Last Modified on"
msgstr "Darrera modificació el"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__write_uid
msgid "Last Updated by"
msgstr "Darrera actualització per"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__write_date
msgid "Last Updated on"
msgstr "Darrera actualització el"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item__name
msgid "Name"
msgstr "Nom"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_revision_tree_view
msgid "Percent"
msgstr "Per cent"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item__previous_price
msgid "Previous Fixed Price"
msgstr "Preu fixe anterior"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item__previous_item_id
msgid "Previous Item"
msgstr "Article anterior"

#. module: product_pricelist_revision
#: model:ir.actions.act_window,name:product_pricelist_revision.product_pricelist_item_action
#: model:ir.ui.menu,name:product_pricelist_revision.menu_product_pricelist_item_action
msgid "Pricelist Items"
msgstr "Articles de tarifa"

#. module: product_pricelist_revision
#: model:ir.model,name:product_pricelist_revision.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr "Regla de tarifa"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search
msgid "Product Category"
msgstr "Categoria de producte"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search
msgid "Product Template"
msgstr "Plantilla de producte"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search
msgid "Product Variant"
msgstr "Variant de producte"

#. module: product_pricelist_revision
#: model:ir.model.fields,help:product_pricelist_revision.field_product_pricelist_item__previous_item_id
msgid "Relation with previous item when duplicate line"
msgstr "Relació amb l'element anterior quan es duplica la línia"

#. module: product_pricelist_revision
#: model_terms:ir.ui.view,arch_db:product_pricelist_revision.pricelist_item_duplicate_wizard_view
msgid ""
"Set new start date and variation percent to duplicate.\n"
" This process set start date previous day as end date of\n"
" origin record.\n"
" <br/>\n"
" <br/>"
msgstr ""
"Definiu la nova data d'inici i el percentatge de variació per duplicar.\n"
" Aquest procés estableix la data d'inici del dia anterior "
"com a data de finalització de\n"
" registre d’origen.\n"
" <br/>\n"
" <br/>"

#. module: product_pricelist_revision
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item__variation_percent
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard__variation_percent
msgid "Variation %"
msgstr "Variació %"

#. module: product_pricelist_revision
#: model:ir.model,name:product_pricelist_revision.model_product_pricelist_item_duplicate_wizard
msgid "Wizard Product Pricelist Item Duplicate"
msgstr "Assistent duplicat de l'element de llista de preus del producte"

#~ msgid "or"
#~ msgstr "o"
Loading
Loading