Commit Graph

459 Commits

Author SHA1 Message Date
david
8d86315406 [IMP] rma: automatic notification subtypes
TT28344
2022-08-10 07:47:02 +02:00
david
abbc70cdab [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-08-10 07:47:02 +02:00
david
4043b37ee2 [IMP] rma: auto send confirmation email 2022-08-10 07:47:02 +02:00
Dong
aa7ff2ea45 Translated using Weblate (Chinese (Simplified))
Currently translated at 1.8% (5 of 270 strings)

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/zh_CN/
2022-08-10 07:47:02 +02:00
Dong
ecb717716e Added translation using Weblate (Chinese (Simplified)) 2022-08-10 07:47:02 +02:00
Dorin Hongu
18812cd062 Translated using Weblate (Romanian)
Currently translated at 62.2% (168 of 270 strings)

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/ro/
2022-08-10 07:47:02 +02:00
Dorin Hongu
895fb39f26 Translated using Weblate (Romanian)
Currently translated at 40.3% (109 of 270 strings)

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/ro/
2022-08-10 07:47:02 +02:00
Dorin Hongu
d1142a4d0e Translated using Weblate (Romanian)
Currently translated at 7.4% (20 of 270 strings)

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/ro/
2022-08-10 07:47:02 +02:00
Bosd
ef999b68bb Added translation using Weblate (Dutch) 2022-08-10 07:47:02 +02:00
Dorin Hongu
7e51af76b7 Translated using Weblate (Romanian)
Currently translated at 6.7% (18 of 270 strings)

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/ro/
2022-08-10 07:47:02 +02:00
Dorin Hongu
6989eb3e80 Added translation using Weblate (Romanian) 2022-08-10 07:47:02 +02:00
OCA Transbot
48dd74e37b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/
2022-08-10 07:47:02 +02:00
OCA-git-bot
4aca817d19 rma 13.0.1.0.1 2022-08-10 07:47:02 +02:00
oca-travis
1c60f7c17f [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
Ernesto Tejeda
5fbffc8b0d [IMP] rma: Add customer as suggested recipient 2022-08-10 07:47:02 +02:00
OCA Transbot
ca92e17e8c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-rma
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-rma/
2022-08-10 07:47:02 +02:00
oca-travis
1ba078be49 [UPD] Update rma.pot 2022-08-10 07:47:02 +02:00
Ernesto Tejeda
0fa9672ce0 [MIG] rma: Migration to 13.0 2022-08-10 07:47:02 +02:00
Ernesto Tejeda
f8074f4c60 [IMP] rma: black, isort, prettier 2022-08-10 07:47:02 +02:00
david
908ec58dde [FIX+IMP] rma: usability + Translated using Weblate (Spanish) + 5 things:
[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 12.0.1.5.0

[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/

Translated using Weblate (Spanish)

Currently translated at 100.0% (268 of 268 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/

[FIX] rma: return permissions

When a user with no stock manager permissions was doing the return, an
access error would raise.

rma 12.0.1.5.1

[FIX] rma: multicompany returns

The move was created with the default company

[UPD] Update rma.pot

rma 12.0.1.5.2

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: non rma users confirm

The sudo had to be before calling the records

rma 12.0.1.5.3

[FIX] rma: pass company as record to procurement

This upstream commit expects `company_id` as a record instead of as an
integer id: 836ff55dc9

rma 12.0.1.5.4

[FIX] rma: internal users portal

Internal users with no RMA permissions got an access error when entering
the portal

[UPD] Update rma.pot

rma 12.0.1.6.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/
2022-08-10 07:47:02 +02:00
Ernesto Tejeda
98d8693d95 [IMP] rma: set rma to received on invoice delete + incoming picking type use existing lot by default.
[IMP] rma: set rma to received on invoice delete.

Remove 'waiting_refund' rma state.
RMAs go from received to refunded.
When the linked refund is deleted the rma is set to received.

[UPD] Update rma.pot

rma 12.0.1.4.2

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/

[IMP] rma: incoming picking type use existing lot by default.

rma 12.0.1.4.3
2022-08-10 07:47:02 +02:00
Pedro M. Baeza
2df288c982 [FIX] rma: Perform refund with proper view
Not indicating account.invoice, it takes the default that is the vendor bill view.
We force the suitable one.
2022-08-10 07:47:02 +02:00
david
84874cf6ee [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.pot

rma 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
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma/
2022-08-10 07:47:02 +02:00
Pedro M. Baeza
6d55c9d6b7 [IMP] rma: Return created sequence on create_rma_index
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/
2022-08-10 07:47:02 +02:00
david
89dcaaeab1 [FIX] rma: permissions for general users
- Avoid permission blockings on users who doesn't have RMA permissions.
- Add activities view on RMA list.

[UPD] Update rma.pot

rma 12.0.1.3.1
2022-08-10 07:47:02 +02:00
Pedro M. Baeza
0f776c0d78 Translated using Weblate (Spanish)
Currently translated at 100.0% (263 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/
2022-08-10 07:47:02 +02:00
Ernesto Tejeda
4120f2db89 [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/
2022-08-10 07:47:02 +02:00
david
87bff4530d [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/
2022-08-10 07:47:02 +02:00
Fernando Colus
713f9e9e5d Added translation using Weblate (Portuguese (Brazil)) 2022-08-10 07:47:02 +02:00
Ernesto Tejeda
42c8f0630a [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/
2022-08-10 07:47:02 +02:00
OCA-git-bot
a7bddf7db9 [ADD] setup.py 2022-07-26 07:19:48 +00:00
OCA-git-bot
a565cbf45e [UPD] README.rst 2022-07-26 07:19:48 +00:00
OCA-git-bot
5b6a4a8ae6 [UPD] addons table in README.md 2022-07-26 07:19:47 +00:00
oca-ci
aefe2e3942 [UPD] Update stock_production_lot_warranty.pot 2022-07-26 07:16:34 +00:00
OCA-git-bot
e8fc5fd3bb Merge PR #286 into 15.0
Signed-off-by sebalix
2022-07-26 07:13:32 +00:00
Sébastien Alix
5839cc2576 [MIG] stock_production_lot_warranty: Migration to 15.0 2022-07-22 11:13:31 +02:00
Sébastien Alix
992fc157f4 [IMP] stock_production_lot_warranty: black, isort, prettier 2022-07-22 10:46:05 +02:00
Chanakya Soni
65be920b6c [14.0][MIG] stock_production_lot_warranty. 2022-07-22 10:46:05 +02:00
Chanakya Soni
2ff788b796 [14.0][FIX] Travis. 2022-07-22 10:46:05 +02:00
Pedro Castro Silva
c987e9fc36 Translated using Weblate (Portuguese)
Currently translated at 100.0% (2 of 2 strings)

Translation: rma-12.0/rma-12.0-stock_production_lot_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-stock_production_lot_warranty/pt/
2022-07-22 10:46:05 +02:00
Pedro Castro Silva
215fb98300 Added translation using Weblate (Portuguese) 2022-07-22 10:46:05 +02:00
Fernando Colus
c1111ca175 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: rma-12.0/rma-12.0-stock_production_lot_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-stock_production_lot_warranty/pt_BR/
2022-07-22 10:46:05 +02:00
Fernando Colus
314950e5d1 Added translation using Weblate (Portuguese (Brazil)) 2022-07-22 10:46:05 +02:00
oca-travis
d644177d24 [UPD] Update stock_production_lot_warranty.pot 2022-07-22 10:46:05 +02:00
Murtuza Saleh
7d273d6ad5 [WIP][MIG][12.0] stock_production_lot_warranty 2022-07-22 10:46:05 +02:00
OCA-git-bot
d32f24526d [ADD] icon.png 2022-07-22 10:46:05 +02:00
OCA-git-bot
26dc55c8ec [UPD] README.rst 2022-07-22 10:45:59 +02:00
osi-scampbell
0b0c6fbbdb [ADD] stock_production_lot_warranty 2022-07-22 10:38:20 +02:00
OCA-git-bot
b8bab682e2 [UPD] addons table in README.md 2022-05-19 16:21:22 +00:00
OCA-git-bot
0571c722bf product_warranty 15.0.1.0.1 2022-05-19 16:21:17 +00:00