Commit Graph

18 Commits

Author SHA1 Message Date
Víctor Martínez
8c423ee78b [FIX] rma_sale: Set picking_id field to required in wizard to avoid creating
rma if nothing has been delivered yet

TT39089
2022-09-21 15:39:04 +02:00
Víctor Martínez
53666daf8c [FIX] rma_sale: Filter done pickings and done moves
TT39089
2022-09-21 15:38:55 +02:00
Víctor Martínez
f4affc0422 [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).
2022-07-05 08:29:56 +02:00
Giovanni
67c52d68bb [14.0][FIX] rma_sale, fix issue opening rma view from wizard 2022-04-21 14:13:48 +02:00
Sébastien BEAU
854cd2d0d7 [FIX] fix filter rma location based on the sale order company 2021-10-22 14:29:48 +02:00
Chafique
0d98089699 [14.0][MIG] rma_sale module 2021-09-03 13:13:40 +02:00
Chafique
8afb31c883 [IMP] rma_sale: black, isort, prettier 2021-09-03 12:42:24 +02:00
david
35df5a65af [IMP] rma_sale: portal rma request single page view
Now it's possible to configure if the portal RMA request form is loaded
in a popup or in a single page.

In that page, we can add custom blocks (if the website is installed) a
customize the form text.

In this commit, we also add the possibility to extend the form view to allow
custom fields that will show up in the RMA description.

TT29670
2021-09-03 12:35:19 +02:00
david
a0796afc31 [FIX] rma_sale: view id 2021-09-03 12:35:18 +02:00
SilvioGregorini
55f9ccc956 [FIX] rma_sale: fix CacheError in _prepare_rma_values()
Lesser fix for sale.order.line.rma.wizard methods.
When method '_prepare_rma_values' was called upon records where field 'picking_id' was empty, Odoo raised a CacheError when trying to access field 'move_id'.
That happened because computed method '_compute_move_id' was not assigning a proper value to such field when 'picking_id' was empty.
Once the computed method is fixed (by simply assigning 'False' as 'move_id' value when no picking is set), the CacheError is solved.
2021-09-03 12:35:18 +02:00
david
4eb408bcea [IMP] rma, rma_sale: shipping address
Allow to set the desired shipping address where the goods must be
returned after the RMA is processed.
2021-09-03 12:35:18 +02:00
david
a9b0fa0e5e [FIX] rma_sale: product in multiple lines
If there are several stock moves with the same product in the picking we
won't be able to make the RMA
2021-09-03 12:35:18 +02:00
Ernesto Tejeda
d2f3dabaef [IMP] *rma*: some improvements 2021-09-03 12:35:18 +02:00
Ernesto Tejeda
4a9259b23b [MIG] rma_sale: Migration to 13.0 2021-09-03 12:35:18 +02:00
Ernesto Tejeda
0cbca17df5 [IMP] rma_sale: black, isort, prettier 2021-09-03 12:35:18 +02:00
david
5dbb855535 [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_sale.pot

rma_sale 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_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma_sale/
2021-09-03 12:35:18 +02:00
david
2d8d56ec49 [FIX+IMP] rma: views permissions + portal permissions + teams flow
[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_sale 12.0.1.1.0

[FIX] rma_sale: portal permissions

Some operations need to be sudoed to be reachable by the portal user

[UPD] Update rma_sale.pot

rma_sale 12.0.1.1.1

Update translation files

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

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

Update translation files

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

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

[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_sale.pot

rma_sale 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_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma_sale/
2021-09-03 12:35:18 +02:00
Ernesto Tejeda
1094633127 [ADD] rma_sale: new module
[UPD] Update rma_sale.pot

[ADD] icon.png
2021-09-03 12:35:18 +02:00