Commit Graph

196 Commits

Author SHA1 Message Date
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
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
OCA-git-bot
fe7f66a530 [UPD] addons table in README.md 2022-08-19 06:57:13 +00:00
OCA-git-bot
63fe7c7d9a rma 15.0.1.0.1 2022-08-19 06:57:09 +00:00
OCA-git-bot
13274554b2 Merge PR #296 into 15.0
Signed-off-by pedrobaeza
2022-08-19 06:54:06 +00:00
Víctor Martínez
acbe5c51fb [OU-ADD] rma: Add migration script.
TT37300
2022-08-19 08:34:14 +02:00
OCA-git-bot
832ab8ae4d [ADD] setup.py 2022-08-18 18:15:49 +00:00
OCA-git-bot
2b3647ae2b [UPD] README.rst 2022-08-18 18:15:48 +00:00
OCA-git-bot
1941666de3 [UPD] addons table in README.md 2022-08-18 18:15:47 +00:00
oca-ci
05d828d96e [UPD] Update rma.pot 2022-08-18 18:12:48 +00:00
OCA-git-bot
b79b1570b5 Merge PR #294 into 15.0
Signed-off-by pedrobaeza
2022-08-18 18:09:58 +00:00
Nikolaus Weingartmair
44ac8e8a23 [MIG] rma: Migration to 15.0 2022-08-11 10:41:55 +02:00
Nikolaus Weingartmair
f873b87f27 [IMP] rma: black, isort, prettier 2022-08-10 07:47:27 +02:00
OCA-git-bot
fa5d8ec31d rma 14.0.3.1.0 2022-08-10 07:47:02 +02:00
Víctor Martínez
d9e4fa120c [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-08-10 07:47:02 +02:00
OCA Transbot
666809d451 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
cff9d7012e rma 14.0.3.0.0 2022-08-10 07:47:02 +02:00
OCA-git-bot
1baa3ac952 [UPD] README.rst 2022-08-10 07:47:02 +02:00
oca-travis
32207aec6e [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
Víctor Martínez
75defb3d15 [FIX] rma: Avoid set invoice_payment_term_id from partner default value in refund.
TT37690
2022-08-10 07:47:02 +02:00
david
b3f901c949 [IMP] rma: optionally group returns to customer
TT34806
2022-08-10 07:47:02 +02:00
david
2f15018b66 [FIX] rma: refund permissions
Up to v12, account.invoice, was allowed for a wide variety of users. In
this version though, with account.move conversion, those permissions are
quite restricted.

We want to keep the possibility to open a refund for the RMA users.
Although only Invoicing users will be able to post it anyway.

TT34644
2022-08-10 07:47:02 +02:00
OCA-git-bot
b5dc3b0843 rma 14.0.2.3.1 2022-08-10 07:47:02 +02:00
Francesco Foresti
977d6f87c5 Translated using Weblate (Italian)
Currently translated at 100.0% (346 of 346 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
0b3766b086 rma 14.0.2.3.0 2022-08-10 07:47:02 +02:00
Víctor Martínez
b9548fcca7 [FIX] rma: Allow manual finalization in wizard. 2022-08-10 07:47:02 +02:00
OCA-git-bot
b1f3c91ee7 rma 14.0.2.2.0 2022-08-10 07:47:02 +02:00
OCA-git-bot
2ee4fe0d3a [UPD] README.rst 2022-08-10 07:47:02 +02:00
Giovanni
c1f01ed158 [14.0][FIX] rma, fix permission for action 2022-08-10 07:47:02 +02:00
Giovanni
07838b0d4e [14.0][FIX] rma_sale, fix action permission issues. 2022-08-10 07:47:02 +02:00
oca-git-bot
a6f06c9e06 [IMP] update dotfiles [ci skip] 2022-08-10 07:47:02 +02:00
Samuele Mariani
eaefc7b929 Translated using Weblate (Italian)
Currently translated at 100.0% (346 of 346 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
Francesco Foresti
99d88d187a Translated using Weblate (Italian)
Currently translated at 99.1% (343 of 346 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
david
8234ff2dda [FIX] rma: name column width in tree view
In the tree view, the RMA code (`name` field) tends to lose in the
column width share. The result is will be the trimming of the reference
with ellipsis (...).

As this is very relevant information, we want to ensure a minimum width
for such reference.

TT35107
2022-08-10 07:47:02 +02:00
Florian da Costa
a2d207618a [FIX] Do not link reception and delivery move in case of RMA replacement 2022-08-10 07:47:02 +02:00
OCA Transbot
e3afd70fdd 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
cd688715de rma 14.0.2.0.0 2022-08-10 07:47:02 +02:00
OCA-git-bot
fcfe290db4 [UPD] README.rst 2022-08-10 07:47:02 +02:00
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