-
-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
19 changed files
with
1,299 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
========================== | ||
Product Pricelist Revision | ||
========================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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/13.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-13-0/product-attribute-13-0-product_pricelist_revision | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/135/13.0 | ||
:alt: Try me on Runbot | ||
|
||
|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: | ||
|
||
#. Go to *Sales > Configuration > Settings* and check | ||
"Multiple Sales Prices per Product" option and | ||
"Prices computed from formulas" after that. | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
#. Go to *Sales > Products > Pricelists* and create a new Price List. | ||
#. Add a Pricelist Items to that Price List. Set 'Fix Price' value on the field | ||
'Compute Price' and set a fixed price. | ||
#. Go to the new menu *Sales > Products > Pricelist Items*, select the | ||
previously created item and click on *Action > Duplicate Item*. | ||
#. In the wizard set 'Date Start', set 'Date End' and set 'Variation %' to | ||
a value different from 100. | ||
#. 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 smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_pricelist_revision%0Aversion:%2013.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 | ||
|
||
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/13.0/product_pricelist_revision>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import models | ||
from . import wizards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 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": "12.0.1.0.0", | ||
"category": "Product", | ||
"website": "https://www.github.com/OCA/product-attribute", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"depends": [ | ||
"sale_management", | ||
], | ||
"data": [ | ||
"views/pricelist_view.xml", | ||
"wizards/pricelist_duplicate_wizard_view.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,203 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_pricelist_revision | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 9.0c\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2019-02-08 08:47+0000\n" | ||
"PO-Revision-Date: 2019-02-08 10:28+0100\n" | ||
"Last-Translator: Carlos Dauden <carlos.dauden@tecnativa.com>\n" | ||
"Language-Team: carlos.dauden@tecnativa.com\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: Poedit 2.0.6\n" | ||
"X-Poedit-SourceCharset: UTF-8\n" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Applied on categories" | ||
msgstr "Aplicado a categorías" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Applied on global" | ||
msgstr "Aplicado a todo" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Applied on products" | ||
msgstr "Aplicado a plantilla de prouctos" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Applied on variants" | ||
msgstr "Aplicado a variantes" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.pricelist_item_duplicate_wizard_view | ||
msgid "Apply" | ||
msgstr "Aplicar" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.pricelist_item_duplicate_wizard_view | ||
msgid "Cancel" | ||
msgstr "Cancelar" | ||
|
||
#. 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 "Creado por" | ||
|
||
#. 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 "Creado en" | ||
|
||
#. 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 "Fecha 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 "Fecha inicio" | ||
|
||
#. 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 "Nombre mostrado" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.actions.act_window,name:product_pricelist_revision.pricelist_item_duplicate_wizard_action | ||
msgid "Duplicate Item" | ||
msgstr "Duplicar elemento" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_previous_price | ||
msgid "Fixed Price" | ||
msgstr "Precio fijo" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Group By" | ||
msgstr "Agrupado por" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard_id | ||
msgid "ID" | ||
msgstr "ID (identificación)" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Item" | ||
msgstr "Elemento" | ||
|
||
#. 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 "Última modificación en" | ||
|
||
#. 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 "Última actualización de" | ||
|
||
#. 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 "Última actualización en" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_previous_item_id | ||
msgid "Previous Item" | ||
msgstr "Elemento previo" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Pricelist" | ||
msgstr "Tarifa" | ||
|
||
#. 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 "Elementos de tarifa" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Pricelist Items Search" | ||
msgstr "Buscar elementos de tarifa" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.model,name:product_pricelist_revision.model_product_pricelist_item | ||
msgid "Pricelist item" | ||
msgstr "Elemento de la tarifa" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Product" | ||
msgstr "Producto" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Product Category" | ||
msgstr "Categoría" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Product Template" | ||
msgstr "Plantilla de producto" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Product Variant" | ||
msgstr "Variantes de producto" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.product_pricelist_item_view_search | ||
msgid "Products" | ||
msgstr "Productos" | ||
|
||
#. 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 "Relacion con elemento previo cuando se duplica la linea" | ||
|
||
#. module: product_pricelist_revision | ||
#: model: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 "" | ||
"Establece fecha inicio y porcentage 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_pricelist_revision | ||
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_duplicate_wizard_variation_percent | ||
#: model:ir.model.fields,field_description:product_pricelist_revision.field_product_pricelist_item_variation_percent | ||
msgid "Variation %" | ||
msgstr "Variación %" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.ui.view,arch_db:product_pricelist_revision.pricelist_item_duplicate_wizard_view | ||
msgid "or" | ||
msgstr "o" | ||
|
||
#. module: product_pricelist_revision | ||
#: model:ir.model,name:product_pricelist_revision.model_product_pricelist_item_duplicate_wizard | ||
msgid "product.pricelist.item.duplicate.wizard" | ||
msgstr "" |
Oops, something went wrong.