Commit Graph

220 Commits

Author SHA1 Message Date
Víctor Martínez
dd83c1b9a3 [IMP] rma_sale_mrp: black, isort, prettier 2023-09-06 11:49:32 +02:00
david
f4a08a235a [FIX] rma_sale_mrp: description
- When creating an RMA for a kit from the portal, the description was
lost for the components.

rma_sale_mrp 13.0.2.0.1
2023-09-06 11:49:32 +02:00
david
d7bd0ec36d [FIX] rma_sale_mrp: invalid template
rma_sale_mrp 13.0.2.0.0
2023-09-06 11:49:32 +02:00
david
04906e0b4d [FIX] rma_sale_mrp: fix view inherit chain 2023-09-06 11:49:32 +02:00
david
bc124799ef [FIX] rma_sale_mrp: portal rma
We must inform the component line maximum qty to return so we're able to
properly discount every line on the wizard

TT29876
2023-09-06 11:49:32 +02:00
david
2db34ce0f3 [MIG] rma_sale_mrp: Migration to 13.0
[UPD] Update rma_sale_mrp.pot

[UPD] README.rst
2023-09-06 11:49:32 +02:00
david
7c8e17779d [IMP] rma_sale_mrp: black, isort, prettier 2023-09-06 11:48:50 +02:00
david
6f0a240edf [FIX] rma_sale_mrp: handle exceptions when qty is forced 2023-09-06 11:48:50 +02:00
david
07a1f95274 [FIX] rma_sale_mrp: infinite loop
In the wizard, if a component line didn't have any quantity, we could
end in an infinite loop when creating the RMA.
2023-09-06 11:48:50 +02:00
Marcel Savegnago
313e8a0322 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (53 of 53 strings)

Translation: rma-12.0/rma-12.0-rma_sale_mrp
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma_sale_mrp/pt_BR/
2023-09-06 11:48:50 +02:00
Marcel Savegnago
2415fcb914 Added translation using Weblate (Portuguese (Brazil)) 2023-09-06 11:48:49 +02:00
Pedro Castro Silva
3ad8491a3e Translated using Weblate (Portuguese)
Currently translated at 43.3% (23 of 53 strings)

Translation: rma-12.0/rma-12.0-rma_sale_mrp
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma_sale_mrp/pt/
2023-09-06 11:48:49 +02:00
Pedro Castro Silva
2ef0ed6f5d Added translation using Weblate (Portuguese) 2023-09-06 11:48:49 +02:00
david
d60b28db6f [ADD] rma_sale_mrp: New module to refund kits 2023-09-06 11:48:49 +02:00
mymage
69cfbecca3 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/
2023-09-04 18:38:58 +00:00
Weblate
6a2eebbc78 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/
2023-09-03 20:23:46 +00:00
Weblate
bd62989085 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-16.0/rma-16.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma_sale/
2023-09-03 20:23:46 +00:00
Ivorra78
973426c6aa Translated using Weblate (Spanish)
Currently translated at 100.0% (41 of 41 strings)

Translation: rma-16.0/rma-16.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-product_warranty/es/
2023-09-03 20:23:46 +00:00
OCA-git-bot
6dc3ebb219 [UPD] README.rst 2023-09-03 16:05:43 +00:00
OCA-git-bot
1063bba235 [ADD] setup.py 2023-09-02 12:38:20 +00:00
OCA-git-bot
157be3e959 [UPD] README.rst 2023-09-02 12:38:14 +00:00
OCA-git-bot
6eecdf4d65 [UPD] addons table in README.md 2023-09-02 12:37:56 +00:00
oca-ci
f130a6aa36 [UPD] Update rma_sale.pot 2023-09-02 12:33:23 +00:00
OCA-git-bot
8e0eb528be Merge PR #364 into 16.0
Signed-off-by pedrobaeza
2023-09-02 12:29:53 +00:00
David
4c6dbd26b5 [MIG] rma_sale: sale portal
- Migrate bs4 to bs5
- Fix shipping address choice functionality
- Add tour for the user portal workflow
2023-09-02 14:23:36 +02:00
Pedro M. Baeza
54e08e856f [MIG] rma_sale: Migration to 16.0
- Standard procedure.
- Adapt to new `prepare_*_vals` methods.
- Renamed fields adaptation.
- Improved test coverage.

TT44214

s
2023-09-02 14:23:36 +02:00
Pedro M. Baeza
0a71d8441d [IMP] rma_sale: pre-commit stuff 2023-08-29 20:12:20 +02:00
David
048e342592 [IMP] rma_sale: rollback sale refund on deleted invoice
TT44043
2023-08-29 20:09:32 +02:00
Pedro M. Baeza
e1e1b7a0a6 [FIX+IMP] rma_sale: Link invoice/move line with origin sale line when refunding
Steps to reproduce:

- Create a sales order with an storable product with invoicing policy
  on delivered quantities.
- Confirm it and deliver the product.
- Invoice the order.
- Do an RMA, receive it, and refund it.

Result: the delivered quantity is 1 instead of 0.

This is because the refund generated from the RMA is not linked to
sales order line, nor the RMA reception move. This is done because
other operations are performed:

- Be replaced.
- Be changed by other product.

And we don't also want that meanwhile the RMA is being performed, the
sales order is pending to invoice.

But when the refund has been done, we have it clear, so let's link both
and have sales statistics correct.

FIX: We don't link the refund line with the sales order if the RMA
quantity is not the whole original move quantity. Otherwise, we will
have incoherente delivered/invoiced quantities on the sales order.

TT41645
2023-08-29 20:09:32 +02:00
oca-ci
9037bece23 [UPD] Update rma_sale.pot 2023-08-29 20:09:32 +02:00
Nikolaus Weingartmair
eb43a0a083 Added translation using Weblate (German)
Currently translated at 100.0% (79 of 79 strings)

Translation: rma-15.0/rma-15.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-rma_sale/de/
2023-08-29 20:09:32 +02:00
mymage
4b9bf2b1db Translated using Weblate (Italian)
Currently translated at 100.0% (79 of 79 strings)

Translation: rma-15.0/rma-15.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-rma_sale/it/
2023-08-29 20:09:32 +02:00
Francesco Foresti
9846ae5627 Translated using Weblate (Italian)
Currently translated at 100.0% (79 of 79 strings)

Translation: rma-15.0/rma-15.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-rma_sale/it/
2023-08-29 20:09:32 +02:00
Pedro M. Baeza
58e2383ed2 [IMP] rma_sale: Domains performance
For avoiding a big list of IDs being transferred when no sales order
is selected on the RMA, we have changed domains to make use of the
possibility of pyjs expressions allowed in the domains.

No ternary operators nor list sums are allowed in pyjs, but using a
combination of allowed IDs with a controlled length of values + and/or
operators to switch domains is enough for having the right performance
and avoid to depend on other modules like web_domain_field.
2023-08-29 20:05:20 +02:00
Víctor Martínez
515f2af7b9 [IMP] rma_sale: Improve tests
TT37303
2023-08-29 20:05:20 +02:00
Víctor Martínez
4dce7e6b53 [FIX] rma_sale: Allow to request a rma from portal order page only with portal user permission 2023-08-29 20:05:20 +02:00
Alex Vining
efb0464833 [MIG] rma_sale: Migration to 15.0 2023-08-29 20:05:20 +02:00
Víctor Martínez
04ff94bf6b [FIX] rma_sale: Set picking_id field to required in wizard to avoid creating
rma if nothing has been delivered yet

TT39089
2023-08-29 20:05:20 +02:00
Víctor Martínez
f5f142d938 [FIX] rma_sale: Filter done pickings and done moves
TT39089
2023-08-29 20:05:20 +02:00
Víctor Martínez
6528b8e8be [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-29 20:05:20 +02:00
david
7339f69483 [FIX] rma_sale: subscribe portal users to RMA notifications
TT35269
2023-08-29 20:05:20 +02:00
david
d1cc04a636 [IMP] rma_sale: avoid submit form in portal if no info
TT33572
2023-08-29 20:05:20 +02:00
Giovanni
71dec5c1d8 [FIX] rma_sale: issue opening rma view from wizard + action permission issues 2023-08-29 20:04:57 +02:00
Samuele Mariani
5f82d77329 Translated using Weblate (Italian)
Currently translated at 100.0% (79 of 79 strings)

Translation: rma-14.0/rma-14.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma_sale/it/
2023-08-29 20:04:57 +02:00
Francesco Foresti
23e95ca2e0 Added translation using Weblate (Italian) 2023-08-29 20:04:57 +02:00
Pedro Castro Silva
d4794a3fce Added translation using Weblate (Portuguese)
Currently translated at 100.0% (79 of 79 strings)

Translation: rma-14.0/rma-14.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-rma_sale/pt/
2023-08-29 20:04:57 +02:00
Sébastien BEAU
dfb9c20919 [FIX] fix filter rma location based on the sale order company 2023-08-29 20:04:57 +02:00
Chafique
1b470773f9 [14.0][MIG] rma_sale module 2023-08-29 20:04:57 +02:00
Chafique
2cab64f4e7 [IMP] rma_sale: black, isort, prettier 2023-08-29 20:04:57 +02:00
david
66c9fc1b7b [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
2023-08-29 20:04:57 +02:00