Commit Graph

329 Commits

Author SHA1 Message Date
david
b46bfac325 [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-09-03 12:35:18 +02:00
david
e2bfab1c83 [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-09-03 12:35:18 +02:00
Ernesto Tejeda
ae0f79d02a [FIX] rma_sale: Request RMA from SO without picking from portal 2021-09-03 12:35:18 +02:00
OCA Transbot
63e1c1b2a4 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-09-03 12:35:18 +02:00
OCA-git-bot
1b44292439 rma_sale 13.0.1.1.0 2021-09-03 12:35:18 +02:00
oca-travis
d9b89258f5 [UPD] Update rma_sale.pot 2021-09-03 12:35:18 +02:00
david
a9b0fa0e5e [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
2021-09-03 12:35:18 +02:00
Ernesto Tejeda
d2f3dabaef [IMP] *rma*: some improvements 2021-09-03 12:35:18 +02:00
Ernesto Tejeda
7b22aad013 [IMP] *rma*: Avoid RMAs of kits until rma_mrp is installed 2021-09-03 12:35:18 +02:00
Dorin Hongu
5df0af13cd 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/
2021-09-03 12:35:18 +02:00
Dorin Hongu
9d921feee9 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/
2021-09-03 12:35:18 +02:00
Bosd
7b933972b6 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/
2021-09-03 12:35:18 +02:00
Bosd
a9ecd1e545 Added translation using Weblate (Dutch) 2021-09-03 12:35:18 +02:00
Dorin Hongu
9a42c502ee 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/
2021-09-03 12:35:18 +02:00
Dorin Hongu
ade4c40751 Added translation using Weblate (Romanian) 2021-09-03 12:35:18 +02:00
OCA Transbot
c30cebff0f 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-09-03 12:35:18 +02:00
OCA-git-bot
b9696edba0 [UPD] README.rst 2021-09-03 12:35:18 +02:00
oca-travis
f1690cf756 [UPD] Update rma_sale.pot 2021-09-03 12:35:18 +02:00
Ernesto Tejeda
4a9259b23b [MIG] rma_sale: Migration to 13.0 2021-09-03 12:35:18 +02:00
Ernesto Tejeda
0cbca17df5 [IMP] rma_sale: black, isort, prettier 2021-09-03 12:35:18 +02:00
Pedro M. Baeza
612b8b8923 [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.
2021-09-03 12:35:18 +02:00
Ernesto Tejeda
caad7a1e54 [FIX] rma_sale: show related RMAs without default filters
rma_sale 12.0.1.5.1
2021-09-03 12:35:18 +02:00
david
93db9180ae [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/
2021-09-03 12:35:18 +02:00
Pedro M. Baeza
873bc9fb21 [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
2021-09-03 12:35:18 +02:00
david
5dbb855535 [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/
2021-09-03 12:35:18 +02:00
Pedro M. Baeza
6e2b174622 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/
2021-09-03 12:35:18 +02:00
Ernesto Tejeda
55ce8daed4 [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/
2021-09-03 12:35:18 +02:00
david
2d8d56ec49 [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/
2021-09-03 12:35:18 +02:00
Ernesto Tejeda
b25a2da9c1 [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/
2021-09-03 12:35:18 +02:00
Fernando Colus
8e1376cd19 Added translation using Weblate (Portuguese (Brazil)) 2021-09-03 12:35:18 +02:00
Ernesto Tejeda
1094633127 [ADD] rma_sale: new module
[UPD] Update rma_sale.pot

[ADD] icon.png
2021-09-03 12:35:18 +02:00
OCA-git-bot
230e6f51fa [UPD] addons table in README.md 2021-08-14 04:35:12 +00:00
Lois Suarez
d258a2b5e8 [MIG] product_warranty: Migration to 14.0 2021-08-11 09:47:44 +01:00
Lois Suarez
519e57a532 [IMP] product_warranty: black, isort, prettier 2021-08-11 09:46:25 +01:00
Dorin Hongu
f992363af2 Translated using Weblate (Romanian)
Currently translated at 53.6% (22 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/ro/
2021-08-11 09:40:39 +01:00
Dorin Hongu
56861033e0 Translated using Weblate (Romanian)
Currently translated at 34.1% (14 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/ro/
2021-08-11 09:40:39 +01:00
Bosd
80ca7c9a5f Translated using Weblate (Dutch)
Currently translated at 85.3% (35 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/nl/
2021-08-11 09:40:39 +01:00
Bosd
1d07d85399 Added translation using Weblate (Dutch) 2021-08-11 09:40:39 +01:00
Dorin Hongu
9a3d6c2087 Translated using Weblate (Romanian)
Currently translated at 31.7% (13 of 41 strings)

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/ro/
2021-08-11 09:40:39 +01:00
Dorin Hongu
4211b4f970 Added translation using Weblate (Romanian) 2021-08-11 09:40:39 +01:00
OCA Transbot
879d44b537 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: rma-13.0/rma-13.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty/
2021-08-11 09:40:39 +01:00
oca-travis
8222ba7ea2 [UPD] Update product_warranty.pot 2021-08-11 09:40:39 +01:00
Ernesto Tejeda
458b1c5eb2 [MIG] product_warranty: Migration to 13.0 2021-08-11 09:40:38 +01:00
Ernesto Tejeda
27f61c3993 [IMP] product_warranty: black, isort, prettier 2021-08-11 09:40:38 +01:00
Pedro M. Baeza
0531191bee Translated using Weblate (Spanish)
Currently translated at 48.8% (20 of 41 strings)

Translation: rma-12.0/rma-12.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-product_warranty/es/
2021-08-11 09:40:38 +01:00
Fernando Colus
9ae4c4b9c0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (41 of 41 strings)

Translation: rma-12.0/rma-12.0-product_warranty
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-product_warranty/pt_BR/
2021-08-11 09:40:38 +01:00
Marcel Savegnago
ff42da7e92 Added translation using Weblate (Portuguese (Brazil)) 2021-08-11 09:40:38 +01:00
Pedro M. Baeza
708ee880fa [FIX] product_warranty: Avoid error in .po
Duplicated msgid
2021-08-11 09:40:38 +01:00
Murtuza Saleh
279a22b2aa [MIG][12.0] product_warranty 2021-08-11 09:40:38 +01:00
osi-scampbell
c462a06d45 [MIG] Migrate product_warranty to 11.0 2021-08-11 09:40:38 +01:00