Commit Graph

14 Commits

Author SHA1 Message Date
sbejaoui
142a3c3c56 [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
2024-08-16 10:19:01 +02:00
Víctor Martínez
28df77df90 [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.
2024-06-28 12:53:28 +02:00
Michael Tietz
08a492ca76 [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
2024-06-03 11:44:02 +02:00
Pedro M. Baeza
ed3f242cb2 [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
2023-08-28 13:35:02 +02:00
David
40fa0a9978 [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
2023-08-25 09:15:51 +02:00
Nikolaus Weingartmair
5afdeac1db [MIG] rma: Migration to 15.0 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
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
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
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
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
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