Skip to content

Commit e12cf9e

Browse files
committed
Merge PR OCA#3657 into 18.0
Signed-off-by pedrobaeza
2 parents a447c01 + 56f37c8 commit e12cf9e

40 files changed

Lines changed: 1657 additions & 0 deletions
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
===================================
2+
Price recalculation in sales orders
3+
===================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:a8ff8d4437eeca2cc8ccdf98f458edddf0c8b807082980aac0f79ebd67db92b2
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
20+
:target: https://github.com/OCA/sale-workflow/tree/18.0/sale_order_price_recalculation
21+
:alt: OCA/sale-workflow
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_order_price_recalculation
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module adds 2 buttons on sale orders (below sale order lines) that:
32+
33+
- Recalculates the prices of the order lines that contain a product in
34+
them.
35+
- Reset product descriptions from current product information.
36+
37+
It is launched manually as a button to get the user to decide if they
38+
want to recalculate prices when the pricelist is changed or, after
39+
duplicating a sale order, wether to update sales information or not.
40+
41+
**Table of contents**
42+
43+
.. contents::
44+
:local:
45+
46+
Installation
47+
============
48+
49+
You need to install sale_management module for accessing the needed
50+
menus.
51+
52+
Usage
53+
=====
54+
55+
Inside a sale order, you can click on "Recalculate prices" to launch a
56+
recalculation of all the prices of the lines, losing previous custom
57+
prices.
58+
59+
The second "Reset descriptions" will get descriptions from products,
60+
losing custom descriptions.
61+
62+
.. image:: https://raw.githubusercontent.com/sale_order_price_recalculation/static/description/sale_order_price_recalculation.drawio.png
63+
:alt: Sale order price recalculation
64+
65+
Known issues / Roadmap
66+
======================
67+
68+
- In a sale order with lot of lines, the recalculation may slow down,
69+
because sale general data (amount untaxed, amount taxed...) are
70+
recalculated for each line.
71+
72+
Bug Tracker
73+
===========
74+
75+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
76+
In case of trouble, please check there if your issue has already been reported.
77+
If you spotted it first, help us to smash it by providing a detailed and welcomed
78+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_price_recalculation%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
79+
80+
Do not contact contributors directly about support or help with technical issues.
81+
82+
Credits
83+
=======
84+
85+
Authors
86+
-------
87+
88+
* AvanzOSC
89+
* Grupo Vermon
90+
* Tecnativa
91+
92+
Contributors
93+
------------
94+
95+
- Carlos Sánchez Cifuentes <csanchez@grupovermon.com>
96+
- Pedro M. Baeza <pedro.baeza@tecnativa.com>
97+
- Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
98+
- Pierre Verkest <pverkest@anybox.fr>
99+
- Vicent Cubells <vicent.cubells@tecnativa.com>
100+
- David Vidal <david.vidal@tecnativa.com>
101+
- Duc, Dao Dong <duc.dd@komit-consulting.com>
102+
(https://komit-consulting.com)
103+
- Raf Ven <raf.ven@dynapps.be>
104+
105+
Maintainers
106+
-----------
107+
108+
This module is maintained by the OCA.
109+
110+
.. image:: https://odoo-community.org/logo.png
111+
:alt: Odoo Community Association
112+
:target: https://odoo-community.org
113+
114+
OCA, or the Odoo Community Association, is a nonprofit organization whose
115+
mission is to support the collaborative development of Odoo features and
116+
promote its widespread use.
117+
118+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_order_price_recalculation>`_ project on GitHub.
119+
120+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2014 Carlos Sánchez Cifuentes <csanchez@grupovermon.com>
2+
# Copyright 2015-2020 Tecnativa - Pedro M. Baeza
3+
# Copyright 2015 Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
4+
# Copyright 2016 Vicent Cubells <vicent.cubells@tecnativa.com>
5+
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
6+
# Copyright 2018 Duc Dao Dong <duc.dd@komit-consulting.com>
7+
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
8+
{
9+
"name": "Price recalculation in sales orders",
10+
"summary": "Recalculate prices / Reset descriptions on sale order lines",
11+
"version": "18.0.1.0.0",
12+
"category": "Sales Management",
13+
"website": "https://github.com/OCA/sale-workflow",
14+
"author": "AvanzOSC,"
15+
"Grupo Vermon,"
16+
"Tecnativa,"
17+
"Odoo Community Association (OCA)",
18+
"license": "AGPL-3",
19+
"application": False,
20+
"installable": True,
21+
"depends": ["sale"],
22+
"data": ["views/sale_order_view.xml"],
23+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_price_recalculation
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 9.0c\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-25 02:52+0000\n"
12+
"PO-Revision-Date: 2017-04-25 02:52+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
15+
"Language: ca\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20+
21+
#. module: sale_order_price_recalculation
22+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
23+
msgid "Recalculate prices"
24+
msgstr ""
25+
26+
#. module: sale_order_price_recalculation
27+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
28+
msgid "Reset descriptions"
29+
msgstr ""
30+
31+
#. module: sale_order_price_recalculation
32+
#: model:ir.model,name:sale_order_price_recalculation.model_sale_order
33+
msgid "Sales Order"
34+
msgstr ""
35+
36+
#, fuzzy
37+
#~| msgid "Sales Order"
38+
#~ msgid "Sale Order"
39+
#~ msgstr "Comandes de venda"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_price_recalculation
4+
#
5+
# Translators:
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: sale-workflow (8.0)\n"
9+
"Report-Msgid-Bugs-To: \n"
10+
"POT-Creation-Date: 2015-09-09 12:27+0000\n"
11+
"PO-Revision-Date: 2019-07-15 16:43+0000\n"
12+
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
13+
"Language-Team: German (http://www.transifex.com/oca/OCA-sale-workflow-8-0/"
14+
"language/de/)\n"
15+
"Language: de\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
20+
"X-Generator: Weblate 3.7.1\n"
21+
22+
#. module: sale_order_price_recalculation
23+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
24+
msgid "Recalculate prices"
25+
msgstr "Preise neu berechnen"
26+
27+
#. module: sale_order_price_recalculation
28+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
29+
msgid "Reset descriptions"
30+
msgstr "Beschreibung zurücksetzen"
31+
32+
#. module: sale_order_price_recalculation
33+
#: model:ir.model,name:sale_order_price_recalculation.model_sale_order
34+
msgid "Sales Order"
35+
msgstr ""
36+
37+
#~ msgid "Sale Order"
38+
#~ msgstr "Verkaufsauftrag"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_price_recalculation
4+
#
5+
# Translators:
6+
# Kostas Goutoudis <goutoudis@gmail.com>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 9.0c\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-25 02:52+0000\n"
12+
"PO-Revision-Date: 2017-04-25 02:52+0000\n"
13+
"Last-Translator: Kostas Goutoudis <goutoudis@gmail.com>, 2017\n"
14+
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
15+
"el_GR/)\n"
16+
"Language: el_GR\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: \n"
20+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21+
22+
#. module: sale_order_price_recalculation
23+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
24+
msgid "Recalculate prices"
25+
msgstr ""
26+
27+
#. module: sale_order_price_recalculation
28+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
29+
msgid "Reset descriptions"
30+
msgstr ""
31+
32+
#. module: sale_order_price_recalculation
33+
#: model:ir.model,name:sale_order_price_recalculation.model_sale_order
34+
msgid "Sales Order"
35+
msgstr ""
36+
37+
#, fuzzy
38+
#~| msgid "Sales Order"
39+
#~ msgid "Sale Order"
40+
#~ msgstr "Εντολή Πώλησης"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_price_recalculation
4+
#
5+
# Translators:
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: sale-workflow (8.0)\n"
9+
"Report-Msgid-Bugs-To: \n"
10+
"POT-Creation-Date: 2015-09-09 12:27+0000\n"
11+
"PO-Revision-Date: 2023-12-18 20:10+0000\n"
12+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
13+
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-sale-workflow-8-0/"
14+
"language/es/)\n"
15+
"Language: es\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
20+
"X-Generator: Weblate 4.17\n"
21+
22+
#. module: sale_order_price_recalculation
23+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
24+
msgid "Recalculate prices"
25+
msgstr "Recalcular precios"
26+
27+
#. module: sale_order_price_recalculation
28+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
29+
msgid "Reset descriptions"
30+
msgstr "Restablecer descripciones"
31+
32+
#. module: sale_order_price_recalculation
33+
#: model:ir.model,name:sale_order_price_recalculation.model_sale_order
34+
msgid "Sales Order"
35+
msgstr "Orden de Venta"
36+
37+
#~ msgid "Sale Order"
38+
#~ msgstr "Pedido de venta"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_price_recalculation
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 9.0c\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-25 02:52+0000\n"
12+
"PO-Revision-Date: 2017-04-25 02:52+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/"
15+
"es_ES/)\n"
16+
"Language: es_ES\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: \n"
20+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21+
22+
#. module: sale_order_price_recalculation
23+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
24+
msgid "Recalculate prices"
25+
msgstr "Recalcular precios"
26+
27+
#. module: sale_order_price_recalculation
28+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
29+
msgid "Reset descriptions"
30+
msgstr "Restablecer descripciones"
31+
32+
#. module: sale_order_price_recalculation
33+
#: model:ir.model,name:sale_order_price_recalculation.model_sale_order
34+
msgid "Sales Order"
35+
msgstr ""
36+
37+
#, fuzzy
38+
#~| msgid "Sales Order"
39+
#~ msgid "Sale Order"
40+
#~ msgstr "Pedido de venta"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_price_recalculation
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 9.0c\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-25 02:52+0000\n"
12+
"PO-Revision-Date: 2017-04-25 02:52+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/"
15+
"teams/23907/es_VE/)\n"
16+
"Language: es_VE\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=UTF-8\n"
19+
"Content-Transfer-Encoding: \n"
20+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21+
22+
#. module: sale_order_price_recalculation
23+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
24+
msgid "Recalculate prices"
25+
msgstr ""
26+
27+
#. module: sale_order_price_recalculation
28+
#: model_terms:ir.ui.view,arch_db:sale_order_price_recalculation.view_order_form
29+
msgid "Reset descriptions"
30+
msgstr ""
31+
32+
#. module: sale_order_price_recalculation
33+
#: model:ir.model,name:sale_order_price_recalculation.model_sale_order
34+
msgid "Sales Order"
35+
msgstr ""
36+
37+
#, fuzzy
38+
#~| msgid "Sales Order"
39+
#~ msgid "Sale Order"
40+
#~ msgstr "Pedidos de venta"

0 commit comments

Comments
 (0)