Commit Graph

82 Commits

Author SHA1 Message Date
david
704649cee4 [IMP] rma, rma_sale: shipping address
Allow to set the desired shipping address where the goods must be
returned after the RMA is processed.
2023-08-25 09:15:51 +02:00
david
cda887d72e [IMP] rma: automatic notification subtypes
TT28344
2023-08-25 09:15:51 +02:00
david
ce911ba9b1 [IMP] rma_sale: prepare kits integration
When a sale line has a phantom product (mrp kits) the RMA would not be
possible as the wizard couldn't pair the components moves with the
product in the line. With this approach, we can at least return the
spare components of the original kit line.

We also need some hooks to intervine in the main methods, like in
invoicing.
2023-08-25 09:15:51 +02:00
david
8e6a869aca [IMP] rma: auto send confirmation email 2023-08-25 09:15:51 +02:00
Dong
02a2694f01 Translated using Weblate (Chinese (Simplified))
Currently translated at 1.8% (5 of 270 strings)

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/zh_CN/
2023-08-25 09:15:51 +02:00
Dong
ef4ac2894d Added translation using Weblate (Chinese (Simplified)) 2023-08-25 09:15:51 +02:00
Bosd
c5eaae37a0 Added translation using Weblate (Dutch) 2023-08-25 09:15:51 +02:00
Dorin Hongu
fc46537838 Added translation using Weblate (Romanian)
Currently translated at 62.2% (168 of 270 strings)

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/ro/
2023-08-25 09:15:51 +02:00
Ernesto Tejeda
9d84b440ad [IMP] rma: Add customer as suggested recipient 2023-08-25 09:15:51 +02:00
Ernesto Tejeda
099c9a3b4a [MIG] rma: Migration to 13.0 2023-08-25 09:15:51 +02:00
Ernesto Tejeda
15ee35246e [IMP] rma: black, isort, prettier 2023-08-25 09:15:51 +02:00
david
b3bcbbaf99 [FIX+IMP] rma: usability + Translated using Weblate (Spanish) + 5 things:
[FIX+IMP] rma: usability

* IMP - Now the description will be an html son we can show rich styles
in the customers report.
* FIX - On locked sale orders it was need to unlock them to be able to open an RMA.
* IMP - Make the description label visible in the backend form so the
user can easily spot it.
* IMP - Added date and deadline filters.
* IMP - Added pending RMAs filter.
* IMP - Added late RMAs filter.
* IMP - Added danger decoration in tree view

rma 12.0.1.5.0

[UPD] Update rma.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/

Translated using Weblate (Spanish)

Currently translated at 100.0% (268 of 268 strings)

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/es/

[FIX] rma: return permissions

When a user with no stock manager permissions was doing the return, an
access error would raise.

rma 12.0.1.5.1

[FIX] rma: multicompany returns

The move was created with the default company

[UPD] Update rma.pot

rma 12.0.1.5.2

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/

[FIX] rma: non rma users confirm

The sudo had to be before calling the records

rma 12.0.1.5.3

[FIX] rma: pass company as record to procurement

This upstream commit expects `company_id` as a record instead of as an
integer id: 836ff55dc9

rma 12.0.1.5.4

[FIX] rma: internal users portal

Internal users with no RMA permissions got an access error when entering
the portal

[UPD] Update rma.pot

rma 12.0.1.6.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2023-08-25 09:15:51 +02:00
Ernesto Tejeda
e5cf5f658a [IMP] rma: set rma to received on invoice delete + incoming picking type use existing lot by default.
[IMP] rma: set rma to received on invoice delete.

Remove 'waiting_refund' rma state.
RMAs go from received to refunded.
When the linked refund is deleted the rma is set to received.

[UPD] Update rma.pot

rma 12.0.1.4.2

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/

[IMP] rma: incoming picking type use existing lot by default.

rma 12.0.1.4.3
2023-08-25 09:15:51 +02:00
Pedro M. Baeza
cedce075d9 [FIX] rma: Perform refund with proper view
Not indicating account.invoice, it takes the default that is the vendor bill view.
We force the suitable one.
2023-08-25 09:15:51 +02:00
david
92d41f5ec5 [IMP] rma_sale: portal improvents
- Now it's possible to open several RMAs in a sale order from the portal
- A new comment button has been added to allow the portal user to enter
relevant information like serial numbers o issue description.
- If the requested operation isn't set no RMA will be opened
- The RMA product qty is now a numeric control with limits according to
the qty available to return

[FIX] rma,rma_sale: fix linter errors

[UPD] Update rma.pot

rma 12.0.1.4.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2023-08-25 09:15:51 +02:00
Pedro M. Baeza
cd84830213 [IMP] rma: Return created sequence on create_rma_index
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2023-08-25 09:15:51 +02:00
david
cd4d0aacb8 [FIX] rma: permissions for general users
- Avoid permission blockings on users who doesn't have RMA permissions.
- Add activities view on RMA list.

[UPD] Update rma.pot

rma 12.0.1.3.1
2023-08-25 09:15:51 +02:00
Pedro M. Baeza
edf0cd394c Translated using Weblate (Spanish)
Currently translated at 100.0% (263 of 263 strings)

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/es/
2023-08-25 09:15:51 +02:00
Ernesto Tejeda
343b1649ac [FIX+IMP] rma, rma_sale: fix bugs and add improvements
- Fix thrown error when trying to download a picking from the portal.
- Add the hook method to prepare RMA values ​​from the return pick wizard.
- Add the access rule for portal users.
- Show the portal 'Request RMAs' button on the sales page only to users
related to the sales order.

[UPD] Update rma.pot

rma 12.0.1.3.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2023-08-25 09:15:51 +02:00
david
863a025c6b [FIX+IMP] rma: view permissions + portal views access errors + teams flow + Translated using Weblate (Spanish)
[FIX] rma: views permissions

Regular users don't have permissions to rma models, so we should avoid
loading views that lead to permission errors.

TT24986

rma 12.0.1.1.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/

[FIX] rma: portal views access errors

- Portal mail thread needs token config.
- Unpublished products will raise AccessError on RMAs portal views for
portal users due to record rules.
- Ensure active_id when getting actions in rma, since we could come from
a context that pollutes the expected active rma id.

[IMP] rma: teams flow

- If no RMA Team is set, we'll assign a default one to the new RMA.
- A sequence is now used to search for the top team and assign it.
- No default user is assigned when it's not in the context (i.e. portal
rmas).

[UPD] Update rma.pot

rma 12.0.1.2.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/

Translated using Weblate (Spanish)

Currently translated at 96.2% (253 of 263 strings)

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/es/
2023-08-25 09:15:51 +02:00
Fernando Colus
540da00cf2 Added translation using Weblate (Portuguese (Brazil)) 2023-08-25 09:15:51 +02:00
Ernesto Tejeda
0122a02458 [ADD] rma: new module
[UPD] Update rma.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2023-08-25 09:15:51 +02:00
Pedro M. Baeza
8d3e3c364a Merge pull request #362 from Tecnativa/16.0-copier
[16.0] Update copier template
2023-08-25 09:15:27 +02:00
Pedro M. Baeza
2a9874dc25 Update copier template 2023-08-25 09:03:13 +02:00
sofien-moalla
28a509c93e Translated using Weblate (French)
Currently translated at 100.0% (41 of 41 strings)

Translation: rma-16.0/rma-16.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-product_warranty/fr/
2023-08-15 12:11:34 +00:00
Weblate
e7814a582a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-16.0/rma-16.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-product_warranty/
2023-07-17 10:52:50 +00:00
OCA-git-bot
c6cbbd29c0 [ADD] setup.py 2023-07-17 07:36:52 +00:00
OCA-git-bot
33649c566a [UPD] README.rst 2023-07-17 07:36:51 +00:00
OCA-git-bot
f7371f3389 [UPD] addons table in README.md 2023-07-17 07:36:50 +00:00
oca-ci
d9184a2533 [UPD] Update product_warranty.pot 2023-07-17 07:34:20 +00:00
OCA-git-bot
c0840d4012 Merge PR #358 into 16.0
Signed-off-by pedrobaeza
2023-07-17 07:32:02 +00:00
arulbalamurugan
ae29fcbaca [MIG] product_warranty: Migration to 16.0
Co-Authored By: Stefan Ungureanu <stefan.ungureanu@tecnativa.com>
2023-07-12 13:57:01 +02:00
arulbalamurugan
f741e76315 [IMP] product_warranty: pre-commit stuff 2023-07-12 13:55:49 +02:00
SilvioC2C
201c9edad1 [MIG] : Migration to 15.0 2023-07-12 13:55:49 +02:00
Samuele Mariani
c36a6019bc Translated using Weblate (Italian)
Currently translated at 100.0% (41 of 41 strings)

Translation: rma-14.0/rma-14.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-product_warranty/it/
2023-07-12 13:55:49 +02:00
Samuele Mariani
f86ef374f2 Added translation using Weblate (Italian) 2023-07-12 13:55:49 +02:00
Lois Suarez
a09040108d [MIG] product_warranty: Migration to 14.0 2023-07-12 13:55:49 +02:00
Lois Suarez
35ff251ff7 [IMP] product_warranty: black, isort, prettier 2023-07-12 13:55:49 +02:00
Dorin Hongu
c66076b67b Translated using Weblate (Romanian)
Currently translated at 53.6% (22 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/ro/
2023-07-12 13:55:49 +02:00
Dorin Hongu
008cb0e416 Translated using Weblate (Romanian)
Currently translated at 34.1% (14 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/ro/
2023-07-12 13:55:49 +02:00
Bosd
6fac7d6492 Translated using Weblate (Dutch)
Currently translated at 85.3% (35 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/nl/
2023-07-12 13:55:49 +02:00
Bosd
a749735a7c Added translation using Weblate (Dutch) 2023-07-12 13:55:49 +02:00
Dorin Hongu
54ad826f86 Translated using Weblate (Romanian)
Currently translated at 31.7% (13 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/ro/
2023-07-12 13:55:49 +02:00
Dorin Hongu
f6f5b4269a Added translation using Weblate (Romanian) 2023-07-12 13:55:49 +02:00
Ernesto Tejeda
62dbf8f18d [MIG] product_warranty: Migration to 13.0 2023-07-12 13:55:49 +02:00
Ernesto Tejeda
a144e90fd4 [IMP] product_warranty: black, isort, prettier 2023-07-12 13:55:49 +02:00
Pedro M. Baeza
dcd050a811 Translated using Weblate (Spanish)
Currently translated at 48.8% (20 of 41 strings)

Translation: rma-12.0/rma-12.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-product_warranty/es/
2023-07-12 13:55:49 +02:00
Fernando Colus
b272dc1eab Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (41 of 41 strings)

Translation: rma-12.0/rma-12.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-product_warranty/pt_BR/
2023-07-12 13:55:49 +02:00
Marcel Savegnago
85054f3377 Added translation using Weblate (Portuguese (Brazil)) 2023-07-12 13:55:49 +02:00
Pedro M. Baeza
67a57674a4 [FIX] product_warranty: Avoid error in .po
Duplicated msgid
2023-07-12 13:55:49 +02:00