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_supplierinfo_revision: Migration to 18.0 #1788

Open
wants to merge 27 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
27 commits
Select commit Hold shift + click to select a range
3c54d90
[9.0][NEW][WIP] product_supplierinfo_revision: New module
carlosdauden Mar 7, 2017
65d2e62
[IMP] Update README and add tests
cubells May 15, 2017
30d8d06
[MIG] product_supplierinfo_revision: Migration to 11.0
cubells Apr 13, 2018
aeeb858
[FIX] product_supplierinfo_revision: update test
MiquelRForgeFlow Sep 5, 2018
d48bc5a
[MIG] product_supplierinfo_revision: Migration to 12.0
bizzappdev Mar 16, 2019
b1f8ffd
[IMP] product_supplierinfo_revision: black, isort, prettier
tonygalmiche May 23, 2020
31bdc6c
[MIG] product_supplierinfo_revision: Migration to 13.0
tonygalmiche May 23, 2020
f10d7b9
Added translation using Weblate (Catalan)
claudiagn Feb 25, 2021
f644f23
Translated using Weblate (Spanish)
claudiagn Feb 25, 2021
29ac2ec
Translated using Weblate (Catalan)
claudiagn Feb 25, 2021
cd1ea3a
[IMP] *: pre-commit execution
joao-p-marques Aug 5, 2021
5d1f364
[IMP] product_supplierinfo_revision: black, isort, prettier
victoralmau Nov 10, 2021
c47f23b
[MIG] product_supplierinfo_revision: Migration to 14.0
victoralmau Nov 10, 2021
0ad1be5
Translated using Weblate (Spanish)
carlosdauden Jan 12, 2022
7c5f4f3
[MIG] product_supplierinfo_revision: Migration to 15.0
victoralmau Nov 11, 2022
75e8449
[16.0][MIG] product_supplierinfo_revision: Migration to 16.0
stefan-tecnativa Jul 14, 2023
a1848ab
[UPD] Update product_supplierinfo_revision.pot
Aug 8, 2023
dcc65d8
[UPD] README.rst
OCA-git-bot Aug 8, 2023
6c76650
[UPD] README.rst
OCA-git-bot Sep 3, 2023
630bfe7
Added translation using Weblate (Italian)
mymage Oct 29, 2023
297770c
Translated using Weblate (Italian)
mymage Oct 29, 2023
19acb86
[IMP] product_supplierinfo_revision: pre-commit auto fixes
bizzappdev Jun 4, 2024
7f92616
[MIG] product_supplierinfo_revision: Migration to 17.0
bizzappdev Jun 4, 2024
2593d68
[UPD] Update product_supplierinfo_revision.pot
Jul 29, 2024
e75d8f4
[BOT] post-merge updates
OCA-git-bot Jul 29, 2024
71e05d9
Update translation files
weblate Jul 29, 2024
7910158
[MIG] product_supplierinfo_revision: Migration to 18.0
lef-adhoc Nov 28, 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
103 changes: 103 additions & 0 deletions product_supplierinfo_revision/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
=============================
Product Supplierinfo Revision
=============================

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

.. |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_supplierinfo_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_supplierinfo_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 allows create revisions of supplier info prices.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module:

1. If you are a purchase manager, and you have checked "Advanced
Pricelists" in the technical settings of your user, go to *Purchases
> Configuration > Vendor Pricelists* and select one or more supplier
pricelist.
2. Click on Action button and execute the wizard **Duplicate Supplier
Info**.
3. Enter date start from which new price will be valid. You can enter
date end and percent to increase old supplier pricelist.
4. By clicking on Apply button, a new supplier pricelist will be created
with a price increased accordingly to the percent entered. Old
supplier pricelist will have a date end from which pricelist will be
out of date.
5. You can check supplier pricelists as well as variation percent in the
product form, by clicking on *Purchase* tab.

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_supplierinfo_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
------------

- Ruchir Shukla <[email protected]>
- Dipen Shah <[email protected]>
- Tony Galmiche <[email protected]>
- Tecnativa (https://www.tecnativa.com)

- Carlos Dauden
- Vicent Cubells
- João Marques

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_supplierinfo_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_supplierinfo_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_supplierinfo_revision/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2017 Tecnativa - Carlos Dauden
# Copyright 2018 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Supplierinfo 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": ["product"],
"data": [
"security/ir.model.access.csv",
"views/product_supplierinfo_view.xml",
"wizards/supplierinfo_duplicate_wizard_view.xml",
],
}
132 changes: 132 additions & 0 deletions product_supplierinfo_revision/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_supplierinfo_revision
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-25 15: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_supplierinfo_revision
#: model_terms:ir.ui.view,arch_db:product_supplierinfo_revision.supplierinfo_duplicate_wizard_view
msgid "Apply"
msgstr "Aplicar"

#. module: product_supplierinfo_revision
#: model_terms:ir.ui.view,arch_db:product_supplierinfo_revision.supplierinfo_duplicate_wizard_view
msgid "Cancel"
msgstr "Cancelar"

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

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

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

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

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

#. module: product_supplierinfo_revision
#: model:ir.actions.act_window,name:product_supplierinfo_revision.supplierinfo_duplicate_wizard_action
msgid "Duplicate Supplier Info"
msgstr "Informació del proveïdor duplicada"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__id
msgid "ID"
msgstr "ID"

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

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

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_customerinfo__previous_price
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo__previous_price
msgid "Previous Price"
msgstr "Preu anterior"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_customerinfo__previous_info_id
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo__previous_info_id
msgid "Previous info"
msgstr "Informació anterior"

#. module: product_supplierinfo_revision
#: model:ir.model,name:product_supplierinfo_revision.model_product_supplierinfo_duplicate_wizard
msgid "Product Supplier Duplicate Wizard"
msgstr "Assistent per a duplicats de proveïdors de productes"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_customerinfo__previous_info_id
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_supplierinfo__previous_info_id
msgid "Relation with previous info when duplicate line"
msgstr "Assistent per a duplicats de proveïdors de productes"

#. module: product_supplierinfo_revision
#: model_terms:ir.ui.view,arch_db:product_supplierinfo_revision.supplierinfo_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_supplierinfo_revision
#: model:ir.model,name:product_supplierinfo_revision.model_product_supplierinfo
msgid "Supplier Pricelist"
msgstr "Llista de preus del proveïdor"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_customerinfo__previous_price
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_supplierinfo__previous_price
msgid "The price to purchase a product"
msgstr "El preu per comprar un producte"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_customerinfo__variation_percent
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo__variation_percent
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__variation_percent
msgid "Variation %"
msgstr "Variació %"

#~ msgid "Last Modified on"
#~ msgstr "Darrera modificació el"
135 changes: 135 additions & 0 deletions product_supplierinfo_revision/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_supplierinfo_revision
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-03 15:37+0000\n"
"PO-Revision-Date: 2022-01-12 20:39+0000\n"
"Last-Translator: Carlos Dauden <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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_supplierinfo_revision
#: model_terms:ir.ui.view,arch_db:product_supplierinfo_revision.supplierinfo_duplicate_wizard_view
msgid "Apply"
msgstr "Aplicar"

#. module: product_supplierinfo_revision
#: model_terms:ir.ui.view,arch_db:product_supplierinfo_revision.supplierinfo_duplicate_wizard_view
msgid "Cancel"
msgstr "Cancelar"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__create_date
msgid "Created on"
msgstr "Creado en"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__date_end
msgid "Date End"
msgstr "Fecha final"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__date_start
msgid "Date Start"
msgstr "Fecha inicio"

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

#. module: product_supplierinfo_revision
#: model:ir.actions.act_window,name:product_supplierinfo_revision.supplierinfo_duplicate_wizard_action
msgid "Duplicate Supplier Info"
msgstr "Crear revisión de precio"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__id
msgid "ID"
msgstr "ID (identificación)"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__write_uid
msgid "Last Updated by"
msgstr "Última actualización de"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_customerinfo__previous_price
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo__previous_price
msgid "Previous Price"
msgstr "Precio anterior"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_customerinfo__previous_info_id
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo__previous_info_id
msgid "Previous info"
msgstr "Información anterior"

#. module: product_supplierinfo_revision
#: model:ir.model,name:product_supplierinfo_revision.model_product_supplierinfo_duplicate_wizard
msgid "Product Supplier Duplicate Wizard"
msgstr "Asistente para duplicados de proveedores de productos"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_customerinfo__previous_info_id
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_supplierinfo__previous_info_id
msgid "Relation with previous info when duplicate line"
msgstr "Relación con la información anterior cuando se duplica la línea"

#. module: product_supplierinfo_revision
#: model_terms:ir.ui.view,arch_db:product_supplierinfo_revision.supplierinfo_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 ""
"Establece nueva fecha de inicio y porcentaje de variación para duplicar.\n"
" Este proceso establecerá como fecha final el día previo "
"a la fecha final en\n"
" el registro original.\n"
" <br/>\n"
" <br/>"

#. module: product_supplierinfo_revision
#: model:ir.model,name:product_supplierinfo_revision.model_product_supplierinfo
msgid "Supplier Pricelist"
msgstr "Tarifa de proveedor"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_customerinfo__previous_price
#: model:ir.model.fields,help:product_supplierinfo_revision.field_product_supplierinfo__previous_price
msgid "The price to purchase a product"
msgstr "El precio al que se compra un producto"

#. module: product_supplierinfo_revision
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_customerinfo__variation_percent
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo__variation_percent
#: model:ir.model.fields,field_description:product_supplierinfo_revision.field_product_supplierinfo_duplicate_wizard__variation_percent
msgid "Variation %"
msgstr "Variación %"

#~ msgid "Last Modified on"
#~ msgstr "Última modificación en"
Loading
Loading