Commit Graph

561 Commits

Author SHA1 Message Date
Jordi Ballester Alomar
f0dc284f2e Merge pull request #493 from ForgeFlow/14.0-fix-package-cases
[14.0][FIX] rma, add support to handle package used on customer moves
2024-06-12 12:02:03 +02:00
Christopher Ormaza
ea4386f51e [14.0][FIX] rma, add support to handle package used on customer moves 2024-05-23 10:58:27 -05:00
Aaron ForgeFlow
a4f43cc4dd Merge pull request #524 from ForgeFlow/14.0-fwd-521
[14.0][FIX] rma_purchase: add dependency with purchase_stock
2024-05-22 18:12:18 +02:00
Jordi Ballester Alomar
885871f33f [FIX] rma_purchase: add dependency with purchase_stock 2024-05-22 11:50:22 +02:00
Aaron ForgeFlow
8db0ee9e97 Merge pull request #454 from ForgeFlow/14.0-fix-ref_credit_note_rma
[14.0][FIX] Added a better ux to select or write reason of refund
2024-05-07 11:18:45 +02:00
Aaron ForgeFlow
88f5cc210f Merge pull request #403 from ForgeFlow/14.0-rma_account-anglo_saxon_in_lines
[14.0][FIX] rma_purchase: write-off differences in price between rma line and vendor refund
2024-05-07 11:18:20 +02:00
manu
b01f8f2dc1 [FIX]rma_sale: Error when cancelling rma.order.line without sale order lines 2024-02-27 12:54:02 +01:00
AaronHForgeFlow
d3b7be50a9 [FIX] account_move_line_rma_order_line: migration script, relative import in python 3.10 2023-11-23 09:35:44 +00:00
Aaron ForgeFlow
74aee1d8d5 Merge pull request #432 from ForgeFlow/14.0-imp-rma_line_date
[14.0][IMP] rma: add date to rma_order_line
2023-11-22 08:24:35 +00:00
Christopher Ormaza
3ae7171da5 [14.0][FIX] Added a better ux to select or write reason of refund 2023-11-21 06:57:27 -05:00
mariadforgeflow
15c85ee91b [IMP] rma_purchase: add test return_and_refund_diff_price 2023-11-21 06:56:58 -05:00
mariadforgeflow
1dd4ec4f95 [FIX] rma_purchase: write-off differences in price between rma line and vendor refund 2023-11-21 06:56:58 -05:00
JordiMForgeFlow
2f76541806 [IMP] rma: mark RMA location as return location 2023-11-20 09:18:44 +00:00
AaronHForgeFlow
ecac0a9c1d [FIX] rma: RMA location in the warehouse should not be inside stock 2023-11-17 13:39:08 +00:00
BernatPForgeFlow
fcf6da632d [FIX] rma: Do not set 'Destination Package' if RMA package comes from 'Customers' location 2023-10-30 15:20:28 +01:00
Christopher Ormaza
95a312fcda [FIX] quants can be more than one on _gather function result 2023-10-30 15:20:28 +01:00
BernatPForgeFlow
1461115608 [IMP] rma: Auto-calculate package for serial products
When returning or delivering a serial product from a RMA, we will calculate by default its package. Later, it can be modyfied by the user.
2023-10-30 15:20:28 +01:00
ChrisOForgeFlow
c4f9912425 [14.0][IMP] added default operation on rma group, easy setup before rma lines created (#452)
* [14.0][IMP] added default operation on rma group, easy setup before rma lines created

* [IMP] added fields for default route created by wizard on rma group

* fix: get right price after create rma order line
2023-10-27 12:41:54 +00:00
AaronHForgeFlow
f155deb6dd [IMP] rma: date_rma in lines 2023-10-27 12:17:59 +02:00
DavidJForgeFlow
9369724101 [IMP] rma: add date to rma_order_line 2023-10-27 12:06:38 +02:00
AaronHForgeFlow
a8727de073 [IMP] Update copier from template 2023-10-27 10:04:22 +00:00
AaronHForgeFlow
a3091a30aa [FIX] account_move_line_rma_order_line: pre-commit import fault 2023-10-27 10:59:27 +02:00
Christopher Ormaza
0d5dcc6390 [14.0][FIX] rma_sale, fix performance on search sale order lines 2023-10-27 08:00:17 +00:00
Jordi Ballester Alomar
fb9d5ba797 Merge pull request #407 from ForgeFlow/14.0-rma_account_move_line_domain
[14.0][IMP] rma_account: change account_move_line_id domain to make search more efficient
2023-10-02 09:57:36 +02:00
DavidJForgeFlow
fb9af9b89b [IMP] rma_scrap: now works with lots/serials 2023-09-16 18:05:08 +00:00
Christopher Ormaza
bb666168d1 [14.0][ADD] rma_refund_reason 2023-09-16 17:55:27 +00:00
Lois Rilo
3da8341ed5 Merge pull request #442 from ForgeFlow/14.0-fix-rma_scrap
[FIX] rma_scrap: no scrap if qty to scrap = 0.0
2023-07-12 10:08:17 +02:00
SergiCForgeFlow
481626d36c [FIX] rma_scrap: no scrap if qty to scrap = 0.0 2023-06-27 13:03:45 +02:00
Juany Davila
7737ceddfb [MIG] rma_operating_unit: migration to 14.0 2023-06-07 12:26:13 +02:00
Juany Davila
cddc0324cf [IMP] rma_operating_unit: black, isort, prettier 2023-06-07 12:26:13 +02:00
Aaron Henriquez
216b4ae897 [FIX]dependencies 2023-06-07 12:26:13 +02:00
aheficent
170492230a [FIX]rma_operating_unit, wizard was not returning anything 2023-06-07 12:26:13 +02:00
aaron
b07cbc5e74 [FIX]rma_operating_unit view 2023-06-07 12:26:13 +02:00
aaron
8e96cf6d1f [FIX]rma_operating_unit view domains 2023-06-07 12:26:13 +02:00
Beñat Jimenez
9a0c9415dd [MIG] rma_operating_unit: Migration to v12 2023-06-07 12:26:13 +02:00
Maxime Chambreuil
9941cc9d25 [MIG] Migrate configuration and cleanup 2023-06-07 12:26:13 +02:00
Nikul Chaudhary
fa56a0ba19 [FIX] Fixed UT & Travis 2023-06-07 12:26:13 +02:00
aheficent
11e53f04fa [MIG]rma_operating_unit to v10 2023-06-07 12:26:13 +02:00
aheficent
3eeaa50707 [ADD] rma_operating_unit 2023-06-07 12:26:13 +02:00
Juany Davila
186fe929a0 [IMP] rma_purchase: remove deprecated decimal precision 2023-06-06 11:22:11 +02:00
Lois Rilo
144b8e8c89 Merge pull request #434 from ForgeFlow/14.0-fix-rma-procurement-origin
[14.0][FIX] rma: procurement origin
2023-05-29 17:08:22 +02:00
Joan Sisquella
6764221ee2 [FIX] rma: procurement origin
In the current implementation of Odoo's _assign_picking() method in stock.move, there's a conditional check that looks at whether all the moves associated with a picking have the same partner_id and origin. If any move doesn't align with these conditions, the origin of the picking is set to False.

        if any(picking.partner_id.id != m.partner_id.id or
                picking.origin != m.origin for m in moves):
            # If a picking is found, we'll append `move` to its move list and thus its
            # `partner_id` and `ref` field will refer to multiple records. In this
            # case, we chose to  wipe them.
            picking.write({
                'partner_id': False,
                'origin': False,
            })
In the context of RMA when we have multiple moves associated with a picking, each coming from a different RMA order line, we encounter a problem. Each move has its origin set as the name of the RMA orde line (line.name), so as soon as a second move from a different line is appended to the picking, the origin of the picking is wiped, because it doesn't match the origin of the first move.

In order to prevent the partner_id of the picking from being set to False when there are multiple associated moves, I propose that we change the origin of the procurement from the name of the RMA line to the name of the procurement group (group.name). This way, all moves associated with a picking will share the same origin, preserving the origin of the picking and ensuring it doesn't get inadvertently set to False.
2023-05-29 16:32:42 +02:00
Aaron ForgeFlow
a2f7ce7d11 Merge pull request #433 from ForgeFlow/14.0-add-rma_mrp
[14.0][ADD] rma_sale_mrp
2023-05-26 14:41:09 +02:00
Christopher Ormaza
4bd1d10075 [14.0][ADD] rma_sale_mrp 2023-05-17 07:01:25 -05:00
BernatPForgeFlow
a898c177ed Merge pull request #425 from ForgeFlow/14.0-imp-rma-stock_rule
[14.0][IMP] rma: Avoid error if group_id = False
2023-04-03 13:32:16 +02:00
BernatPForgeFlow
97c8dc65f3 [IMP] rma: Avoid error if group_id = False 2023-04-03 13:22:13 +02:00
JuanyDForgeflow
fbb102d9cd Merge pull request #417 from ForgeFlow/14.0-fix-rma_purchase
[FIX] rma_purchase: fix migration warnings
2023-03-20 16:31:27 -05:00
Juany Davila
6ca1357f76 [FIX] rma_purchase: fix migration warnings 2023-03-20 16:25:42 -05:00
JuanyDForgeflow
4989d5710f Merge pull request #416 from ForgeFlow/14.0-update-copier
[14.0][IMP] copier update
2023-03-20 16:25:02 -05:00
AaronHForgeFlow
0e828ed61b [IMP] copier update 2023-03-20 21:52:45 +01:00