Commit Graph

134 Commits

Author SHA1 Message Date
David
1640e5af0b [FIX] rma: avoid reopening a cancelled RMA when the reception is deleted
When we delete the reception for an RMA, we're setting it to draft
automatically so we can confirm it again and create a new reception.
This is unconvenient when the RMA is cancelled, as we don't wan't to
reopen it automatically.

TT41943
2025-02-10 17:45:14 +01:00
Sergio Zanchetta
ee2d79e976 Translated using Weblate (Italian)
Currently translated at 99.4% (346 of 348 strings)

Translation: rma-15.0/rma-15.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-rma/it/
2025-02-10 17:45:14 +01:00
David
e9ba2b4e9a [FIX] rma: multiple substitution moves
The product replacement could explode into several moves like in the
case of MRP BoM kits.

TT40194
2025-02-10 17:45:14 +01:00
Nikolaus Weingartmair
4b4fa11993 Added translation using Weblate (German)
Currently translated at 100.0% (354 of 354 strings)

Translation: rma-15.0/rma-15.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-rma/de/

Added translation using Weblate (German (Austria))
2025-02-10 17:45:14 +01:00
Víctor Martínez
171fd36ef2 [IMP] rma: Use _prepare_home_portal_values() function. 2025-02-10 17:45:14 +01:00
Víctor Martínez
9a53ea0035 [OU-ADD] rma: Add migration script.
TT37300
2025-02-10 17:45:14 +01:00
Nikolaus Weingartmair
dd03cb78f1 [MIG] rma: Migration to 15.0 2025-02-10 17:45:14 +01:00
Víctor Martínez
c983c807b6 [FIX] rma + rma_sale: Allow to create an RMA to a user with access_to…ken to sale order (no user created).
[FIX] rma + rma_sale: Show RMA's list (with share url) to a user with access_token to sale order (no user created).
2025-02-10 17:45:14 +01:00
Víctor Martínez
017884d1b6 [FIX] rma: Avoid set invoice_payment_term_id from partner default value in refund.
TT37690

Update translation files

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

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/
2025-02-10 17:45:12 +01:00
david
aab626b87e [IMP] rma: optionally group returns to customer
TT34806
2025-02-10 17:45:12 +01:00
david
606d6fa74c [FIX] rma: refund permissions
Up to v12, account.invoice, was allowed for a wide variety of users. In
this version though, with account.move conversion, those permissions are
quite restricted.

We want to keep the possibility to open a refund for the RMA users.
Although only Invoicing users will be able to post it anyway.

TT34644
2025-02-10 17:45:12 +01:00
Francesco Foresti
22dd2bb163 Translated using Weblate (Italian)
Currently translated at 100.0% (346 of 346 strings)

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/it/
2025-02-10 17:45:12 +01:00
Víctor Martínez
a92408acce [FIX] rma: Allow manual finalization in wizard. 2025-02-10 17:45:12 +01:00
Giovanni
8ee81ffb7a [14.0][FIX] rma, fix permission for action 2025-02-10 17:45:12 +01:00
Giovanni
c135b89b40 [14.0][FIX] rma_sale, fix action permission issues. 2025-02-10 17:45:12 +01:00
oca-git-bot
9bd34c60a2 [IMP] update dotfiles [ci skip] 2025-02-10 17:45:12 +01:00
Samuele Mariani
e05c772ddf Translated using Weblate (Italian)
Currently translated at 100.0% (346 of 346 strings)

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/it/
2025-02-10 17:45:12 +01:00
Francesco Foresti
2ef03ea3f1 Translated using Weblate (Italian)
Currently translated at 99.1% (343 of 346 strings)

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/it/
2025-02-10 17:45:12 +01:00
david
a6e66c8188 [FIX] rma: name column width in tree view
In the tree view, the RMA code (`name` field) tends to lose in the
column width share. The result is will be the trimming of the reference
with ellipsis (...).

As this is very relevant information, we want to ensure a minimum width
for such reference.

TT35107
2025-02-10 17:45:12 +01:00
Florian da Costa
79d0fcff45 [FIX] Do not link reception and delivery move in case of RMA replacement 2025-02-10 17:45:12 +01:00
david
e2dd2799e5 [IMP] rma: finish RMA manually
Sometimes there's no choice to return, refund or replace an RMA for
different reasons. For example, when the customer doesn't want to repair
the product because that would be too expensive. We still want finish
the RMA and document the reasons. This improvement allows it.

TT34164
2025-02-10 17:45:12 +01:00
david
3c9a6a27e6 [IMP] rma: unplug test cases from declaration
This way, we can reuse them in other modules easily
2025-02-10 17:45:12 +01:00
david
c8895a6c96 [IMP] rma report: invoice and shipping address
TT13069
2025-02-10 17:45:12 +01:00
Pedro M. Baeza
79e4fd6112 [FIX] rma: Adjust hook for existing values
If rma_in_type_id or rma_out_type_id are already set, then the hook
fails. With this alternative code, we avoid it and clean it for being
clearer.
2025-02-10 17:45:12 +01:00
david
e9502bb10c [FIX] rma: return wizard to_refund
To create the rma we create the core return wizard, which now sets
to_refund to True as default. This isn't right for RMAs anyway.

TT33706
2025-02-10 17:45:12 +01:00
xavigutipujol
5356d69aa6 Translated using Weblate (Spanish)
Currently translated at 79.8% (257 of 322 strings)

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/es/
2025-02-10 17:45:12 +01:00
Kev-Roche
406355bab4 [FIX] duplicate labels (category_id, uom_category_id) of rma()) 2025-02-10 17:45:12 +01:00
Francesco Foresti
2a27f65498 Translated using Weblate (Italian)
Currently translated at 98.7% (317 of 321 strings)

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/it/
2025-02-10 17:45:12 +01:00
Samuele Mariani
0b16097220 Translated using Weblate (Italian)
Currently translated at 96.5% (310 of 321 strings)

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/it/
2025-02-10 17:45:12 +01:00
Florian da Costa
884944d577 [FIX] multi company error on rma location choice 2025-02-10 17:45:12 +01:00
Francesco Foresti
dd09398455 Added translation using Weblate (Italian) 2025-02-10 17:45:12 +01:00
Pedro Castro Silva
55ef86205f Added translation using Weblate (Portuguese)
Translated using Weblate (Portuguese)

Currently translated at 83.8% (269 of 321 strings)

Translation: rma-14.0/rma-14.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma/pt/
2025-02-10 17:45:09 +01:00
david
11ea6bbceb [FIX] rma: return location
The new implementation wasn't getting the value set in the wizard.

TT32046
2025-02-10 17:45:09 +01:00
Pedro M. Baeza
87653b62f8 [FIX] rma: Use Form to avoid UoM change invalid check
Since odoo/odoo#75823, the wizard lines have the field uom_id related to
move.product_uom and readonly=False, so if you call directly to
wiz.onchage_picking_id a write in stock move is executed and the warning raises,
although we don't really do any UoM change.

We avoid it using the `Form` to perform the wizard update.
2025-02-10 17:45:09 +01:00
david
dc839392e9 [FIX] rma: default team and responsible
Having a default responsible value as it was defined doesn't behave
right when the user it's a portal one or the petition comes from a
sudo().

Also, by design it was expected to have a default team if it wasn't
defined, but as it was implemented that wasn't possible.

TT32056
2025-02-10 17:45:09 +01:00
Pedro M. Baeza
000e4af9b3 [FIX] rma: Propagate cancel_backorder argument
Respect inheritance.
2025-02-10 17:45:09 +01:00
Florian
38d2a01231 Remove useless archive/unarchive button on form views
Co-authored-by: Ernesto Tejeda <ernesto.tejeda87@gmail.com>
2025-02-10 17:45:09 +01:00
david
d04e53ce03 [IMP] rma: allow to archive operation types
TT30985
2025-02-10 17:45:09 +01:00
david
8820d72af4 [IMP] rma: public tags
Now we can decide which tags are visible for the customer. This way, we
can use them as pseudo-states

TT29594
2025-02-10 17:45:09 +01:00
david
3645604942 [IMP] rma: notify reception to customer
Now we can configure if an automatic notification should be sent when we
receive the goods from an RMA in our warehouse

If we've got `rma_sale` or `website_rma` we can also configure draft
notifications so when the customer places an RMA from the portal the
receive an acknowledge email.

TT29595
2025-02-10 17:45:09 +01:00
Chafique
2a9fc0f5ba [MIG] rma: Migration to 14.0 2025-02-10 17:45:09 +01:00
Chafique
3f68d80cca [IMP] rma: black, isort, prettier 2025-02-10 17:45:09 +01:00
david
13de7a9b77 [IMP] rma: tags
TT29594
2025-02-10 17:45:09 +01:00
david
728db420a7 [FIX] rma: tagged test 2025-02-10 17:45:09 +01:00
Ernesto Tejeda
293633a8c7 [FIX] rma: Set default source location for RMA created from scratch 2025-02-10 17:45:09 +01:00
david
7992087906 [IMP] rma, rma_sale: shipping address
Allow to set the desired shipping address where the goods must be
returned after the RMA is processed.
2025-02-10 17:45:09 +01:00
david
39123a1faa [IMP] rma: automatic notification subtypes
TT28344
2025-02-10 17:45:09 +01:00
david
e91a8606b3 [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.
2025-02-10 17:45:09 +01:00
david
1247b23914 [IMP] rma: auto send confirmation email 2025-02-10 17:45:09 +01:00
Dong
67d8d2f928 Added translation using Weblate (Chinese (Simplified))
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/
2025-02-10 17:45:06 +01:00