Commit Graph

173 Commits

Author SHA1 Message Date
sbejaoui
c0570b5325 [IMP] rma: search by rma origin and add state filters 2025-02-13 08:12:59 +01:00
sbejaoui
af0f91536e [IMP] rma: add index for rma_id in stock.move model
Add an index to rma_id in the stock.move model to improve access performance for the one2many field delivery_move_ids
2025-02-13 08:12:59 +01:00
sbejaoui
6bbce89631 [IMP] rma: dedicated settings section 2025-02-13 08:12:59 +01:00
sbejaoui
4718250b72 [IMP] rma: add product to rma search view 2025-02-13 08:12:59 +01:00
sbejaoui
13ca6ec15f [IMP] rma_sale: operation required
The rma operation is required in the portal, and it makes sense
for it to be required in the sales wizard as well
2025-02-13 08:12:59 +01:00
sbejaoui
6b1a6e3a85 [IMP] rma: improve rma report layout 2025-02-12 17:15:46 +01:00
Víctor Martínez
849529c873 [FIX] rma: Change remaining_qty_to_done to remaining_qty field
The remaining_qty_to_done field was removed in 9cc5bca153
2025-02-12 15:33:45 +01:00
Víctor Martínez
2f746e4c4a [IMP] rma: Add Markup to messages to display the html code correctly
TT54263
2025-02-12 15:33:36 +01:00
giovannigd
0f45ac2821 [FIX] rma: fix for default_res_id as it is deprecated 2025-02-12 08:31:40 +01:00
mymage
cc4187c218 Translated using Weblate (Italian)
Currently translated at 100.0% (351 of 351 strings)

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (351 of 351 strings)

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/it/
2025-02-10 17:45:25 +01:00
mymage
ab14835519 Translated using Weblate (Italian)
Currently translated at 100.0% (352 of 352 strings)

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (352 of 352 strings)

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/it/

[UPD] Update rma.pot

Update translation files

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

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/
2025-02-10 17:45:24 +01:00
Michael Tietz
90ce4f4201 [IMP] rma: use only procurement.group run to create stock transfers
Extra changes:
- Change reception_move_ids to reception_move_id
- Add test_rma_replace_pick_ship
- Code and method reduction to simplify logic
- Set route_ids (in/out) from procurements

Co-authored-by: Michael Tietz

TT48789

[UPD] Update rma.pot

[BOT] post-merge updates

Update translation files

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

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/
2025-02-10 17:45:23 +01:00
Víctor Martínez
b3d9634e37 [FIX] rma: Add location_id field for the expected behavior
The location_id field is important and its value is required, we need to add it
to the wizard (even if it is hidden) so that it is saved and the picking is
created correctly.

Before, the location_id value was only saved (although the field was not in the
wizard) if the user had the "Technical / Manage Multiple Stock Locations" permission.
2025-02-10 17:45:23 +01:00
Víctor Martínez
6fcbf17e21 [FIX] rma: Change code to get the correct rmas (move_ids.rma_ids)
[BOT] post-merge updates
2025-02-10 17:45:22 +01:00
Víctor Martínez
b17e230233 [FIX] rma: Make the quantity comparison correctly (with precision_digits)
Fixes https://github.com/OCA/rma/issues/398
2025-02-10 17:45:22 +01:00
mymage
bba264e4d1 Translated using Weblate (Italian)
Currently translated at 100.0% (348 of 348 strings)

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/it/
2025-02-10 17:45:22 +01:00
Joshua Lauer
f8e05b4d23 [FIX] uom_id in RMA report
[BOT] post-merge updates
2025-02-10 17:45:20 +01:00
Antoni Marroig Campomar
217dd8fb2b [MIG] rma: Migration to 17.0
[UPD] Update rma.pot

[BOT] post-merge updates

Update translation files

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

Translation: rma-17.0/rma-17.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-rma/
2025-02-10 17:45:19 +01:00
Antoni Marroig Campomar
3e40788c55 [IMP] rma: pre-commit auto fixes 2025-02-10 17:45:19 +01:00
mymage
5e49679e30 Translated using Weblate (Italian)
Currently translated at 100.0% (352 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/it/
2025-02-10 17:45:19 +01:00
David
b7bbad5683 [IMP] rma: mantainers
[BOT] post-merge updates
2025-02-10 17:45:18 +01:00
David
983782ea57 [FIX] rma: unresolved and late filters
Included finished state to discard those manually finished RMAs

TT47471
2025-02-10 17:45:18 +01:00
mymage
1e98d638aa Translated using Weblate (Italian)
Currently translated at 100.0% (352 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/it/
2025-02-10 17:45:18 +01:00
kbentaleb
01724952f5 Translated using Weblate (French)
Currently translated at 48.2% (170 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/fr/
2025-02-10 17:45:18 +01:00
mymage
1a25b1af4c Translated using Weblate (Italian)
Currently translated at 90.9% (320 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/it/
2025-02-10 17:45:18 +01:00
Francesco Foresti
0f227dbd54 Translated using Weblate (Italian)
Currently translated at 90.9% (320 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/it/
2025-02-10 17:45:18 +01:00
mymage
ed17e2b9f6 Translated using Weblate (Italian)
Currently translated at 90.9% (320 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/it/
2025-02-10 17:45:18 +01:00
Miquel Raïch
6f54a8f843 [FIX] rma: image_128 -> avatar_128
[BOT] post-merge updates
2025-02-10 17:45:17 +01:00
Ivorra78
ec4ed718fd Translated using Weblate (Spanish)
Currently translated at 100.0% (352 of 352 strings)

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

Update translation files

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

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/
2025-02-10 17:45:16 +01:00
sofien-moalla
763fb708df Added translation using Weblate (French) 2025-02-10 17:45:16 +01:00
Ivorra78
f84ab91682 Translated using Weblate (Spanish)
Currently translated at 100.0% (352 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/es/
2025-02-10 17:45:16 +01:00
David
bc299dfbe5 [FIX] rma: _get_sequence_values signature
Respect the orignal method signature

6bb68d9f32/addons/stock/models/stock_warehouse.py (L1017)
2025-02-10 17:45:16 +01:00
mymage
486d106c01 Translated using Weblate (Italian)
Currently translated at 90.9% (320 of 352 strings)

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/it/
2025-02-10 17:45:16 +01:00
Pedro M. Baeza
4a5ea6aa09 [MIG] rma: Migration to 16.0
* Standard procedure.
* Transfer view groups to nodes.
* Adjusted upstream changed field names.
* Converted onchanges to computed writable fields.
* Replace `Form` by direct dictionary vals in record creation, as they
  don't handle now properly multiple existing fields in the view, and
  computed writable improve the compatibility on new values.
* Replace domain returned on onchange by static domain in field.
* Change maintainer.

TT44213

[UPD] Update rma.pot

[UPD] README.rst

[UPD] README.rst

Update translation files

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

Translation: rma-16.0/rma-16.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma/
2025-02-10 17:45:15 +01:00
Carlos Roca Zaragoza
5febc7ba61 Translated using Weblate (Spanish)
Currently translated at 90.5% (317 of 350 strings)

Translation: rma-15.0/rma-15.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-rma/es/
2025-02-10 17:45:14 +01:00
mymage
6677539b09 Translated using Weblate (Italian)
Currently translated at 100.0% (348 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
Francesco Foresti
2810681038 Translated using Weblate (Italian)
Currently translated at 100.0% (348 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
4eb228800d [FIX] rma: avoid refunding in picking return wizard
If we place an RMA from the stock picking return wizard, we want to
avoid setting the new moves to refund as that will affect the related
sale lines delivered quantities count.

TT42021
2025-02-10 17:45:14 +01:00
Nikolaus Weingartmair
80d8a2696b Translated 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/
2025-02-10 17:45:14 +01:00
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