Commit Graph

10 Commits

Author SHA1 Message Date
Ernesto Tejeda
3b209dae5d [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.pot

rma 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
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2020-10-24 14:21:21 -04:00
david
8fef57c081 [FIX+IMP] rma: view permissions + portal views access errors + teams flow + Translated using Weblate (Spanish)
[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 12.0.1.1.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/

[FIX] rma: portal views access errors

- Portal mail thread needs token config.
- Unpublished products will raise AccessError on RMAs portal views for
portal users due to record rules.
- Ensure active_id when getting actions in rma, since we could come from
a context that pollutes the expected active rma id.

[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.pot

rma 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
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/

Translated using Weblate (Spanish)

Currently translated at 96.2% (253 of 263 strings)

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/es/
2020-10-24 14:20:40 -04:00
Fernando Colus
65e3f9abf3 Added translation using Weblate (Portuguese (Brazil)) 2020-10-24 12:14:24 -04:00
Ernesto Tejeda
88886bc71c [ADD] rma: new module
[UPD] Update rma.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-12.0/rma-12.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2020-10-24 12:13:49 -04:00
OCA-git-bot
69a4745c2e [UPD] pin flake8 version [ci skip] 2020-05-13 14:08:18 +02:00
OCA-git-bot
57bac3f0e9 pre-commit update [ci skip] 2020-03-14 12:21:22 +01:00
OCA Bot
09b9d36969 [UPD] .travis.yml: Use verbose colored pre-commit [skip ci] 2020-01-31 18:51:43 +01:00
OCA-git-bot
89534bd1a6 [ADD] .editorconfig [ci skip] 2019-11-19 21:12:54 +01:00
OCA-git-bot
05ba3d7208 pre-commit, black, isort [ci skip] 2019-10-12 12:28:11 +02:00
OCA Bot
80b581bcbe [MIG] Add metafiles
[skip ci]
2019-09-29 23:45:56 +02:00