Commit Graph

251 Commits

Author SHA1 Message Date
oca-travis
edb44efc81 [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
david
5e9904b93c [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
2022-08-10 07:47:02 +02:00
david
913da6319b [IMP] rma: unplug test cases from declaration
This way, we can reuse them in other modules easily
2022-08-10 07:47:02 +02:00
david
cf8ab85166 [IMP] rma report: invoice and shipping address
TT13069
2022-08-10 07:47:02 +02:00
Pedro M. Baeza
0484db0694 [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.
2022-08-10 07:47:02 +02:00
david
f0360134d3 [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
2022-08-10 07:47:02 +02:00
xavigutipujol
e1534a59e3 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/
2022-08-10 07:47:02 +02:00
OCA Transbot
35b2ccc808 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/
2022-08-10 07:47:02 +02:00
OCA-git-bot
5c66bf5516 rma 14.0.1.1.0 2022-08-10 07:47:02 +02:00
oca-travis
ededbfa356 [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
Kev-Roche
9dd38090c1 [FIX] duplicate labels (category_id, uom_category_id) of rma()) 2022-08-10 07:47:02 +02:00
Francesco Foresti
5be4f7a974 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/
2022-08-10 07:47:02 +02:00
Samuele Mariani
a04706966d 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/
2022-08-10 07:47:02 +02:00
OCA-git-bot
e1223de005 rma 14.0.1.0.3 2022-08-10 07:47:02 +02:00
Florian da Costa
fd779c89ed [FIX] multi company error on rma location choice 2022-08-10 07:47:02 +02:00
Francesco Foresti
61ae784748 Added translation using Weblate (Italian) 2022-08-10 07:47:02 +02:00
Pedro Castro Silva
67d6a85fda 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/
2022-08-10 07:47:02 +02:00
Pedro Castro Silva
61e1e7fe04 Added translation using Weblate (Portuguese) 2022-08-10 07:47:02 +02:00
OCA Transbot
2e5bb4e319 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/
2022-08-10 07:47:02 +02:00
OCA-git-bot
9f09994770 rma 14.0.1.0.2 2022-08-10 07:47:02 +02:00
oca-travis
74ff8d5190 [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
david
52d32f707d [FIX] rma: return location
The new implementation wasn't getting the value set in the wizard.

TT32046
2022-08-10 07:47:02 +02:00
Pedro M. Baeza
09abc9d3b5 [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.
2022-08-10 07:47:02 +02:00
david
44bec64b87 [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
2022-08-10 07:47:02 +02:00
Pedro M. Baeza
12fb70ad11 [FIX] rma: Propagate cancel_backorder argument
Respect inheritance.
2022-08-10 07:47:02 +02:00
OCA-git-bot
e869f3aed7 [UPD] README.rst 2022-08-10 07:47:02 +02:00
Florian
59684d4584 Remove useless archive/unarchive button on form views
Co-authored-by: Ernesto Tejeda <ernesto.tejeda87@gmail.com>
2022-08-10 07:47:02 +02:00
david
956d90959c [IMP] rma: allow to archive operation types
TT30985
2022-08-10 07:47:02 +02:00
david
43277a23ab [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
2022-08-10 07:47:02 +02:00
david
5eb8e8443e [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
2022-08-10 07:47:02 +02:00
Chafique
1beb33e6f4 [MIG] rma: Migration to 14.0 2022-08-10 07:47:02 +02:00
Chafique
e217480565 [IMP] rma: black, isort, prettier 2022-08-10 07:47:02 +02:00
OCA Transbot
b7d3ff9ecc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/
2022-08-10 07:47:02 +02:00
OCA-git-bot
391f07188a rma 13.0.1.2.0 2022-08-10 07:47:02 +02:00
oca-travis
f8f6432961 [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
david
cce5ad232c [IMP] rma: tags
TT29594
2022-08-10 07:47:02 +02:00
david
ef48e86c4b [FIX] rma: tagged test 2022-08-10 07:47:02 +02:00
OCA Transbot
0c265ba226 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/
2022-08-10 07:47:02 +02:00
OCA-git-bot
fb92da8e34 rma 13.0.1.1.0 2022-08-10 07:47:02 +02:00
oca-travis
e61fdd4006 [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
Ernesto Tejeda
ae038e7772 [FIX] rma: Set default source location for RMA created from scratch 2022-08-10 07:47:02 +02:00
david
fe1c52a40b [IMP] rma, rma_sale: shipping address
Allow to set the desired shipping address where the goods must be
returned after the RMA is processed.
2022-08-10 07:47:02 +02:00
david
8d86315406 [IMP] rma: automatic notification subtypes
TT28344
2022-08-10 07:47:02 +02:00
david
abbc70cdab [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.
2022-08-10 07:47:02 +02:00
david
4043b37ee2 [IMP] rma: auto send confirmation email 2022-08-10 07:47:02 +02:00
Dong
aa7ff2ea45 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/
2022-08-10 07:47:02 +02:00
Dong
ecb717716e Added translation using Weblate (Chinese (Simplified)) 2022-08-10 07:47:02 +02:00
Dorin Hongu
18812cd062 Translated 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/
2022-08-10 07:47:02 +02:00
Dorin Hongu
895fb39f26 Translated using Weblate (Romanian)
Currently translated at 40.3% (109 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/
2022-08-10 07:47:02 +02:00
Dorin Hongu
d1142a4d0e Translated using Weblate (Romanian)
Currently translated at 7.4% (20 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/
2022-08-10 07:47:02 +02:00