Commit Graph

63 Commits

Author SHA1 Message Date
OCA-git-bot
6e7a84fd69 rma_sale 13.0.2.4.0 2022-12-09 12:58:13 +00:00
Pedro M. Baeza
8a55c07b73 [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.
2022-12-05 21:26:40 +01:00
OCA-git-bot
754c011437 rma_sale 13.0.2.3.0 2022-09-21 09:25:09 +00:00
Víctor Martínez
1459bf2484 [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 10:02:49 +02:00
Víctor Martínez
010743d706 [FIX] rma_sale: Filter done pickings and done moves
TT39089
2022-09-21 10:02:49 +02:00
Víctor Martínez
cf86ad83bf [FIX] rma_sale: Prevent warning log in domain ("partner_id", "child_of", False)
in partner if it's not set yet

TT39089
2022-09-21 10:02:49 +02:00
OCA-git-bot
b51c8b728e rma_sale 13.0.2.2.0 2022-07-05 00:18:28 +00:00
Víctor Martínez
0d74d7b493 [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-05-26 10:36:07 +02:00
OCA-git-bot
538b1e7b17 rma_sale 13.0.2.1.1 2022-03-22 21:41:13 +00:00
david
28c3fe7079 [FIX] rma_sale: subscribe portal users to RMA notifications
TT35269
2022-03-22 17:32:46 +01:00
OCA-git-bot
b93ba75a29 rma_sale 13.0.2.1.0 2022-02-16 21:58:18 +00:00
david
84ad84b6f8 [IMP] rma_sale: avoid submit form in portal if no info
TT33572
2022-02-03 11:17:49 +01:00
OCA Transbot
3e9a9195b8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/
2021-06-29 15:57:02 +00:00
OCA-git-bot
fb8606564d rma_sale 13.0.2.0.0 2021-06-29 15:55:24 +00:00
oca-travis
349f48134b [UPD] Update rma_sale.pot 2021-06-29 15:43:04 +00:00
david
04f7f0638f [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-06-28 16:42:55 +02:00
Pedro M. Baeza
0b81b6d7a3 [FIX] rma: pre-commit 2021-06-19 11:39:20 +02:00
david
7c9b6bc3a8 [FIX] rma_sale: chained returns
Using move_dest_ids we can easily end in an infinite loop situation as
the return of the return of the return ends with some original moves on
in move_dest_ids. We must ensure to drop them to avoid the infinite
loop.

TT29886
2021-06-19 11:34:06 +02:00
OCA Transbot
0f6d1ed01e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/
2021-05-21 18:46:10 +00:00
oca-travis
f2d8453f0b [UPD] Update rma_sale.pot 2021-05-21 18:34:50 +00:00
david
bd0a86bb4d [FIX] rma_sale: view id 2021-05-05 09:53:58 +02:00
david
213c282d3f [FIX] rma_sale: take product from move 2021-05-05 09:53:58 +02:00
OCA-git-bot
4b6754037d rma_sale 13.0.1.2.2 2021-04-30 09:06:12 +00:00
david
6d3d13febe [FIX] rma_sale: recurrent RMA
If a product was already in an RMA in the past, we should be able to
place another RMA in the future.
2021-04-30 10:11:15 +02:00
OCA-git-bot
81e52c9a14 rma_sale 13.0.1.2.1 2021-04-14 18:13:57 +00:00
OCA-git-bot
3b90e4f774 Merge PR #212 into 13.0
Signed-off-by pedrobaeza
2021-04-14 18:04:04 +00:00
SilvioGregorini
1762317176 [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-04-13 23:49:30 +02:00
SilvioGregorini
bf325b531c [FIX] rma_sale: fix wrong values for RMA creation
Lesser fix for creating RMA from website.
Current values will break any custom behaviour because Many2one fields are set using strings instead of integer (IDs).
2021-04-13 23:49:30 +02:00
OCA Transbot
b8f31c527c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/
2021-04-13 15:00:48 +00:00
OCA-git-bot
4e97eeb210 rma_sale 13.0.1.2.0 2021-04-13 15:00:33 +00:00
oca-travis
16df2849bd [UPD] Update rma_sale.pot 2021-04-13 14:36:42 +00:00
david
f32c4ca97d [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-04-12 17:24:06 +02:00
david
6cc7b006b7 [IMP] rma_sale: portal ux
When the user selects an operation, the comment shows up so the customer
doesn't forget to enter his comments
2021-04-12 17:24:06 +02:00
david
6378647d1c [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.
2021-04-12 17:24:06 +02:00
Ernesto Tejeda
66a241a068 [FIX] rma_sale: Request RMA from SO without picking from portal 2021-04-09 17:15:58 +02:00
OCA Transbot
64b5616f4e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/
2020-12-22 17:07:55 +00:00
OCA-git-bot
a2faaf3613 rma_sale 13.0.1.1.0 2020-12-22 17:07:09 +00:00
oca-travis
4a81897ce0 [UPD] Update rma_sale.pot 2020-12-22 17:00:20 +00:00
david
1abcd11493 [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
2020-12-22 09:56:58 -05:00
Ernesto Tejeda
f20bc091c3 [IMP] *rma*: some improvements 2020-12-22 09:21:28 -05:00
Ernesto Tejeda
5b741b64b2 [IMP] *rma*: Avoid RMAs of kits until rma_mrp is installed 2020-12-22 09:13:55 -05:00
Dorin Hongu
8fafab4c20 Translated using Weblate (Romanian)
Currently translated at 100.0% (63 of 63 strings)

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/ro/
2020-12-20 05:43:25 +00:00
Dorin Hongu
5aa5ceab0f Translated using Weblate (Romanian)
Currently translated at 90.4% (57 of 63 strings)

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/ro/
2020-12-19 13:43:17 +00:00
Bosd
84cb09ad8d Translated using Weblate (Dutch)
Currently translated at 61.9% (39 of 63 strings)

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/nl/
2020-12-13 23:19:27 +00:00
Bosd
e99123c274 Added translation using Weblate (Dutch) 2020-12-13 21:12:33 +00:00
Dorin Hongu
7b11749732 Translated using Weblate (Romanian)
Currently translated at 77.8% (49 of 63 strings)

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/ro/
2020-12-11 15:36:27 +00:00
Dorin Hongu
81343de69c Added translation using Weblate (Romanian) 2020-12-11 12:25:06 +00:00
OCA Transbot
5c6ea53fc4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma_sale/
2020-12-01 15:21:16 +00:00
OCA-git-bot
30edb71a56 [UPD] README.rst 2020-11-05 15:56:01 +00:00
oca-travis
4d4e6d9123 [UPD] Update rma_sale.pot 2020-11-05 15:30:51 +00:00