Commit Graph

459 Commits

Author SHA1 Message Date
OCA-git-bot
b5e503cce5 rma_sale 13.0.1.2.2 2022-09-20 08:16:11 -04:00
david
8730ce1f8d [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.
2022-09-20 08:16:11 -04:00
OCA-git-bot
965164b801 rma_sale 13.0.1.2.1 2022-09-20 08:16:11 -04:00
SilvioGregorini
c38652d060 [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.
2022-09-20 08:16:11 -04:00
SilvioGregorini
81587bb38e [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).
2022-09-20 08:16:11 -04:00
OCA Transbot
d546b4deff 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/
2022-09-20 08:16:11 -04:00
OCA-git-bot
f1b586cfed rma_sale 13.0.1.2.0 2022-09-20 08:16:11 -04:00
oca-travis
fef9759cb2 [UPD] Update rma_sale.pot 2022-09-20 08:16:11 -04:00
david
18ce1fedc7 [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-09-20 08:16:11 -04:00
david
e78bb0e679 [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
2022-09-20 08:16:11 -04:00
david
0f0fd3f6c1 [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-09-20 08:16:11 -04:00
Ernesto Tejeda
a7f2ea5a55 [FIX] rma_sale: Request RMA from SO without picking from portal 2022-09-20 08:16:11 -04:00
OCA Transbot
842fca9a51 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/
2022-09-20 08:16:11 -04:00
OCA-git-bot
bf40d75a24 rma_sale 13.0.1.1.0 2022-09-20 08:16:11 -04:00
oca-travis
7419ecdaca [UPD] Update rma_sale.pot 2022-09-20 08:16:11 -04:00
david
6cf5c2c426 [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
2022-09-20 08:16:11 -04:00
Ernesto Tejeda
ccd05ed090 [IMP] *rma*: some improvements 2022-09-20 08:16:11 -04:00
Ernesto Tejeda
2240dbaa2f [IMP] *rma*: Avoid RMAs of kits until rma_mrp is installed 2022-09-20 08:16:11 -04:00
Dorin Hongu
0c5e362afb 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/
2022-09-20 08:16:11 -04:00
Dorin Hongu
64000ec771 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/
2022-09-20 08:16:11 -04:00
Bosd
149c9ab1d5 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/
2022-09-20 08:16:11 -04:00
Bosd
b22dd56bbb Added translation using Weblate (Dutch) 2022-09-20 08:16:11 -04:00
Dorin Hongu
89dfb11aa1 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/
2022-09-20 08:16:11 -04:00
Dorin Hongu
df6c1eba3c Added translation using Weblate (Romanian) 2022-09-20 08:16:11 -04:00
OCA Transbot
6ba7e5059a 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/
2022-09-20 08:16:11 -04:00
OCA-git-bot
e8131e6b93 [UPD] README.rst 2022-09-20 08:16:11 -04:00
oca-travis
b643c24af8 [UPD] Update rma_sale.pot 2022-09-20 08:16:11 -04:00
Ernesto Tejeda
d75238e77c [MIG] rma_sale: Migration to 13.0 2022-09-20 08:16:11 -04:00
Ernesto Tejeda
55e92a38ee [IMP] rma_sale: black, isort, prettier 2022-09-20 08:16:11 -04:00
Pedro M. Baeza
2bc98bfdd1 [FIX] rma_sale: Show directly form on 1 RMA
Fine-tune of 9a25d6, as for one record, the domain is not applied, but the list is
shown.
2022-09-20 08:16:11 -04:00
Ernesto Tejeda
f4ca6ec321 [FIX] rma_sale: show related RMAs without default filters
rma_sale 12.0.1.5.1
2022-09-20 08:16:11 -04:00
david
748fbd248a [FIX+IMP] rma: usability + Translated using Weblate (Spanish)
[FIX+IMP] rma: usability

* IMP - Now the description will be an html son we can show rich styles
in the customers report.
* FIX - On locked sale orders it was need to unlock them to be able to open an RMA.
* IMP - Make the description label visible in the backend form so the
user can easily spot it.
* IMP - Added date and deadline filters.
* IMP - Added pending RMAs filter.
* IMP - Added late RMAs filter.
* IMP - Added danger decoration in tree view

rma_sale 12.0.1.5.0

Translated using Weblate (Spanish)

Currently translated at 100.0% (62 of 62 strings)

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/es/
2022-09-20 08:16:11 -04:00
Pedro M. Baeza
61dcb8796f [FIX+IMP] rma_sale: Proper dependency + propagate salesman
- Proper dependency is `sale_stock`, not `sale`, as we are using some fields added
  by this module.
- Propagate salesman from sales order when available.

TT25525

rma_sale 12.0.1.4.1
2022-09-20 08:16:11 -04:00
david
07d3ca3d0b [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/
2022-09-20 08:16:11 -04:00
Pedro M. Baeza
25ff7e6807 Translated using Weblate (Spanish)
Currently translated at 81.5% (44 of 54 strings)

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/es/
2022-09-20 08:16:11 -04:00
Ernesto Tejeda
ea60be4787 [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_sale.pot

rma_sale 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_sale
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma_sale/
2022-09-20 08:16:11 -04:00
david
26ecb18f95 [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/
2022-09-20 08:16:11 -04:00
Ernesto Tejeda
5212ab6905 [FIX] rma_sale: fix expected single record error in tests.
rma_sale 12.0.1.0.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/
2022-09-20 08:16:11 -04:00
Fernando Colus
fb82882db8 Added translation using Weblate (Portuguese (Brazil)) 2022-09-20 08:16:11 -04:00
Ernesto Tejeda
245412832d [ADD] rma_sale: new module
[UPD] Update rma_sale.pot

[ADD] icon.png
2022-09-20 08:16:11 -04:00
Nikolaus Weingartmair
7e26733c8d [MIG] website_rma: Migration to 15.0 2022-09-08 09:29:10 +02:00
OCA-git-bot
37528856d6 [UPD] addons table in README.md 2022-09-05 09:14:36 +00:00
OCA-git-bot
d47c94aa41 rma 15.0.1.1.0 2022-09-05 09:14:32 +00:00
OCA-git-bot
da57f88923 Merge PR #303 into 15.0
Signed-off-by pedrobaeza
2022-09-05 09:10:52 +00:00
Víctor Martínez
053c31b126 [IMP] rma: Use _prepare_home_portal_values() function. 2022-09-05 10:50:07 +02:00
Nikolaus Weingartmair
5de1e006f5 [IMP] website_rma: black, isort, prettier 2022-08-22 12:07:15 +02:00
Samuele Mariani
0da1213cf0 Translated using Weblate (Italian)
Currently translated at 100.0% (33 of 33 strings)

Translation: rma-14.0/rma-14.0-website_rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-website_rma/it/
2022-08-22 12:06:54 +02:00
Francesco Foresti
a3139f2908 Translated using Weblate (Italian)
Currently translated at 6.0% (2 of 33 strings)

Translation: rma-14.0/rma-14.0-website_rma
Translate-URL: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-website_rma/it/
2022-08-22 12:06:54 +02:00
Francesco Foresti
60e632f319 Added translation using Weblate (Italian) 2022-08-22 12:06:54 +02:00
OCA-git-bot
3c43863406 [UPD] README.rst 2022-08-22 12:06:54 +02:00