Commit Graph

122 Commits

Author SHA1 Message Date
Víctor Martínez
ee545ae551 [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).
2023-08-25 09:15:51 +02:00
OCA Transbot
80f8fa8234 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/
2023-08-25 09:15:51 +02:00
Víctor Martínez
ad4bce575e [FIX] rma: Avoid set invoice_payment_term_id from partner default value in refund.
TT37690
2023-08-25 09:15:51 +02:00
david
e52f18b66d [IMP] rma: optionally group returns to customer
TT34806
2023-08-25 09:15:51 +02:00
david
0e6148fe6e [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
2023-08-25 09:15:51 +02:00
Francesco Foresti
8d29deb89e 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/
2023-08-25 09:15:51 +02:00
Víctor Martínez
2719bf5730 [FIX] rma: Allow manual finalization in wizard. 2023-08-25 09:15:51 +02:00
Giovanni
096fd42411 [14.0][FIX] rma, fix permission for action 2023-08-25 09:15:51 +02:00
Giovanni
be17d76c82 [14.0][FIX] rma_sale, fix action permission issues. 2023-08-25 09:15:51 +02:00
oca-git-bot
66b7959196 [IMP] update dotfiles [ci skip] 2023-08-25 09:15:51 +02:00
Samuele Mariani
b046da0880 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/
2023-08-25 09:15:51 +02:00
Francesco Foresti
fbd486f587 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/
2023-08-25 09:15:51 +02:00
david
52bd881621 [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
2023-08-25 09:15:51 +02:00
Florian da Costa
896631f1dc [FIX] Do not link reception and delivery move in case of RMA replacement 2023-08-25 09:15:51 +02:00
david
389ef57c6a [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
2023-08-25 09:15:51 +02:00
david
970f9a064c [IMP] rma: unplug test cases from declaration
This way, we can reuse them in other modules easily
2023-08-25 09:15:51 +02:00
david
98aba1a947 [IMP] rma report: invoice and shipping address
TT13069
2023-08-25 09:15:51 +02:00
Pedro M. Baeza
3a8e91d4f3 [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.
2023-08-25 09:15:51 +02:00
david
8d1e03675e [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
2023-08-25 09:15:51 +02:00
xavigutipujol
4463c9f59c 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/
2023-08-25 09:15:51 +02:00
Kev-Roche
c802435e6f [FIX] duplicate labels (category_id, uom_category_id) of rma()) 2023-08-25 09:15:51 +02:00
Francesco Foresti
ca639c2e5e 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/
2023-08-25 09:15:51 +02:00
Samuele Mariani
04a4978327 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/
2023-08-25 09:15:51 +02:00
Florian da Costa
e3750a31e4 [FIX] multi company error on rma location choice 2023-08-25 09:15:51 +02:00
Francesco Foresti
18d9eacece Added translation using Weblate (Italian) 2023-08-25 09:15:51 +02:00
Pedro Castro Silva
d034b5d32d 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/
2023-08-25 09:15:51 +02:00
Pedro Castro Silva
bdc9c45c56 Added translation using Weblate (Portuguese) 2023-08-25 09:15:51 +02:00
david
4847f6a3d0 [FIX] rma: return location
The new implementation wasn't getting the value set in the wizard.

TT32046
2023-08-25 09:15:51 +02:00
Pedro M. Baeza
fa8c137e44 [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.
2023-08-25 09:15:51 +02:00
david
c7108f539b [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
2023-08-25 09:15:51 +02:00
Pedro M. Baeza
e843849377 [FIX] rma: Propagate cancel_backorder argument
Respect inheritance.
2023-08-25 09:15:51 +02:00
Florian
89f6b2a58b Remove useless archive/unarchive button on form views
Co-authored-by: Ernesto Tejeda <ernesto.tejeda87@gmail.com>
2023-08-25 09:15:51 +02:00
david
e12d0f66f8 [IMP] rma: allow to archive operation types
TT30985
2023-08-25 09:15:51 +02:00
david
3e01644e8a [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
2023-08-25 09:15:51 +02:00
david
4450bd1ae6 [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
2023-08-25 09:15:51 +02:00
Chafique
379a6c0350 [MIG] rma: Migration to 14.0 2023-08-25 09:15:51 +02:00
Chafique
75e7517272 [IMP] rma: black, isort, prettier 2023-08-25 09:15:51 +02:00
david
adbe66981f [IMP] rma: tags
TT29594
2023-08-25 09:15:51 +02:00
david
6ff2973ddd [FIX] rma: tagged test 2023-08-25 09:15:51 +02:00
Ernesto Tejeda
f6e896d204 [FIX] rma: Set default source location for RMA created from scratch 2023-08-25 09:15:51 +02:00
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