Commit Graph

188 Commits

Author SHA1 Message Date
david
7c9b6bc3a8 [FIX] rma_sale: chained returns
Using move_dest_ids we can easily end in an infinite loop situation as
the return of the return of the return ends with some original moves on
in move_dest_ids. We must ensure to drop them to avoid the infinite
loop.

TT29886
2021-06-19 11:34:06 +02:00
OCA Transbot
0f6d1ed01e 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-05-21 18:46:10 +00:00
OCA-git-bot
f9c7656f6a [ADD] setup.py 2021-05-21 18:46:00 +00:00
OCA-git-bot
8e8bbf5c14 [UPD] README.rst 2021-05-21 18:45:59 +00:00
OCA-git-bot
93200d464a [UPD] addons table in README.md 2021-05-21 18:45:58 +00:00
oca-travis
3545fc9133 [UPD] Update rma_sale_mrp.pot 2021-05-21 18:34:50 +00:00
oca-travis
f2d8453f0b [UPD] Update rma_sale.pot 2021-05-21 18:34:50 +00:00
OCA-git-bot
679dfc1cca Merge PR #220 into 13.0
Signed-off-by pedrobaeza
2021-05-21 18:24:21 +00:00
Stéphane Bidoul
2fe94ec409 [IMP] update dotfiles [ci skip] 2021-05-15 11:14:49 +02:00
david
0f287ee4b5 [MIG] rma_sale_mrp: Migration to 13.0 2021-05-11 12:31:55 +02:00
OCA Transbot
124d4baeef 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/
2021-05-07 19:21:46 +00:00
OCA-git-bot
bc584cae63 [UPD] addons table in README.md 2021-05-07 19:21:39 +00:00
OCA-git-bot
92aa76e30d rma 13.0.1.2.0 2021-05-07 19:21:33 +00:00
oca-travis
b43b302076 [UPD] Update rma.pot 2021-05-07 17:36:16 +00:00
OCA-git-bot
77675a8021 Merge PR #222 into 13.0
Signed-off-by pedrobaeza
2021-05-07 15:59:41 +00:00
david
e1fdf2fc1d [IMP] rma: tags
TT29594
2021-05-07 12:51:17 +02:00
david
bf521bdb60 [IMP] rma_sale_mrp: black, isort, prettier 2021-05-05 09:53:58 +02:00
david
8fa7986fda [FIX] rma_sale_mrp: handle exceptions when qty is forced 2021-05-05 09:53:58 +02:00
david
fcdc27843d [FIX] rma_sale_mrp: infinite loop
In the wizard, if a component line didn't have any quantity, we could
end in an infinite loop when creating the RMA.
2021-05-05 09:53:58 +02:00
Marcel Savegnago
d1089396f3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (53 of 53 strings)

Translation: rma-12.0/rma-12.0-rma_sale_mrp
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma_sale_mrp/pt_BR/
2021-05-05 09:53:58 +02:00
Marcel Savegnago
b3fff25522 Added translation using Weblate (Portuguese (Brazil)) 2021-05-05 09:53:58 +02:00
Pedro Castro Silva
821ed49d49 Translated using Weblate (Portuguese)
Currently translated at 43.3% (23 of 53 strings)

Translation: rma-12.0/rma-12.0-rma_sale_mrp
Translate-URL: https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-rma_sale_mrp/pt/
2021-05-05 09:53:58 +02:00
Pedro Castro Silva
9e481e4b23 Added translation using Weblate (Portuguese) 2021-05-05 09:53:58 +02:00
david
e5eda4304c [ADD] rma_sale_mrp: New module to refund kits 2021-05-05 09:53:58 +02:00
david
bd0a86bb4d [FIX] rma_sale: view id 2021-05-05 09:53:58 +02:00
david
213c282d3f [FIX] rma_sale: take product from move 2021-05-05 09:53:58 +02:00
david
b018724021 [FIX] rma: tagged test 2021-05-05 09:53:58 +02:00
OCA-git-bot
a0f19cabd4 [UPD] addons table in README.md 2021-04-30 09:06:18 +00:00
OCA-git-bot
4b6754037d rma_sale 13.0.1.2.2 2021-04-30 09:06:12 +00:00
OCA-git-bot
5d8989d915 Merge PR #219 into 13.0
Signed-off-by pedrobaeza
2021-04-30 08:57:38 +00:00
david
6d3d13febe [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.
2021-04-30 10:11:15 +02:00
OCA-git-bot
8220d826d9 [UPD] addons table in README.md 2021-04-14 18:14:03 +00:00
OCA-git-bot
81e52c9a14 rma_sale 13.0.1.2.1 2021-04-14 18:13:57 +00:00
OCA-git-bot
3b90e4f774 Merge PR #212 into 13.0
Signed-off-by pedrobaeza
2021-04-14 18:04:04 +00:00
SilvioGregorini
1762317176 [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.
2021-04-13 23:49:30 +02:00
SilvioGregorini
bf325b531c [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).
2021-04-13 23:49:30 +02:00
OCA Transbot
b8f31c527c 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-04-13 15:00:48 +00:00
OCA Transbot
7bbe872f92 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/
2021-04-13 15:00:48 +00:00
OCA-git-bot
da68df8edf [UPD] addons table in README.md 2021-04-13 15:00:40 +00:00
OCA-git-bot
4e97eeb210 rma_sale 13.0.1.2.0 2021-04-13 15:00:33 +00:00
OCA-git-bot
cd62f636a5 rma 13.0.1.1.0 2021-04-13 15:00:32 +00:00
oca-travis
16df2849bd [UPD] Update rma_sale.pot 2021-04-13 14:36:42 +00:00
oca-travis
8a83ea1615 [UPD] Update rma.pot 2021-04-13 14:36:41 +00:00
OCA-git-bot
cd6b952994 Merge PR #213 into 13.0
Signed-off-by pedrobaeza
2021-04-13 14:20:23 +00:00
Ernesto Tejeda
6e33a1ff9c [FIX] rma: Set default source location for RMA created from scratch 2021-04-12 17:24:06 +02:00
david
f32c4ca97d [IMP] rma, rma_sale: shipping address
Allow to set the desired shipping address where the goods must be
returned after the RMA is processed.
2021-04-12 17:24:06 +02:00
david
a05cdcf1ce [IMP] rma: automatic notification subtypes
TT28344
2021-04-12 17:24:06 +02:00
david
6cc7b006b7 [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-04-12 17:24:06 +02:00
david
6378647d1c [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-04-12 17:24:06 +02:00
david
0493b315d2 [IMP] rma: auto send confirmation email 2021-04-12 17:24:06 +02:00