Commit Graph

528 Commits

Author SHA1 Message Date
Aaron Henriquez
8a16c2f996 [ADD]rma_sale_operating_unit
[FIX]rma_sale_analytic
2023-09-18 10:57:30 +00:00
JasminSForgeFlow
d18ab6fda9 [MIG] rma_sale_analytic: Migration to 15.0 2023-08-08 11:08:42 +00:00
JasminSForgeFlow
baad38083f [IMP] rma_sale_analytic: black, isort, prettier 2023-08-08 11:08:42 +00:00
Aaron Henriquez
d789699422 [ADD]rma_sale_operating_unit
[FIX]rma_sale_analytic
2023-08-08 11:08:42 +00:00
Nikul Chaudhary
fd73407cbf [FIX] Fixed UT & Travis 2023-08-08 11:08:42 +00:00
aheficent
fc8d27402e [ADD]rma_purchase_analytic
[FIX]various
2023-08-08 11:08:42 +00:00
aheficent
39be5588cf [ADD]rma_sale_analytic 2023-08-08 11:08:42 +00:00
JasminSForgeFlow
bcacdc357f [IMP] rma_sale_operating_unit: black, isort, prettier 2023-08-08 11:08:42 +00:00
Aaron Henriquez
1c76e23087 [ADD]rma_sale_operating_unit
[FIX]rma_sale_analytic
2023-08-08 11:08:42 +00:00
JasminSForgeFlow
f4d33e096b [MIG] rma_analytic: Migration to 15.0 2023-07-19 06:54:43 +00:00
JasminSForgeFlow
52306448f6 [IMP] rma_analytic: black, isort, prettier 2023-07-19 06:54:43 +00:00
ahenriquez
8d94970e28 [FIX]rma_analytic/models/procurement.py constraint in procurement. 2023-07-19 06:54:43 +00:00
mreficent
ba9d3175ef [FIX] tests and import openerp 2023-07-19 06:54:43 +00:00
ahenriquez
051bf9d2dc [FIX]minor crap in several modules 2023-07-19 06:54:43 +00:00
ahenriquez
8e42137a85 [FIX]rma_analytic. Propagate analytic to other models 2023-07-19 06:54:43 +00:00
aheficent
7b119f8872 [FIX]rma_analytic tests 2023-07-19 06:54:43 +00:00
aheficent
3288021d8d [FIX]tests 2023-07-19 06:54:43 +00:00
aheficent
0d769f15df [FIX]various fixes 2023-07-19 06:54:43 +00:00
aaron
1cc2e7c9df [FIX] tests 2023-07-19 06:54:43 +00:00
aaron
f5053e5951 [FIX]rma_analytic was overwriting not inheriting 2023-07-19 06:54:43 +00:00
Nikul Chaudhary
bf0c05d721 [FIX] Fixed UT & Travis 2023-07-19 06:54:43 +00:00
aheficent
0aae76a261 [UPT]oca dependencies 2023-07-19 06:54:43 +00:00
aheficent
8b7eaf68fe [ADD]rma_purchase_analytic
[FIX]various
2023-07-19 06:54:43 +00:00
aheficent
73c61da794 [ADD]rma_account_analytic 2023-07-19 06:54:43 +00:00
aheficent
a2e0e1a902 [ADD]rma_analytic 2023-07-19 06:54:43 +00:00
Lois Rilo
95566a0f36 Merge pull request #439 from ForgeFlow/15.0-mig-rma_scrap
[MIG] rma_scrap: Migration to 15.0
2023-07-12 10:13:22 +02:00
Lois Rilo
6d4a638182 Merge pull request #418 from ForgeFlow/15.0-mig-rma_operating_unit
[15.0][mig]-rma_operating_unit
2023-07-06 10:55:26 +02:00
Juany Davila
163b0984da [MIG] rma_operating_unit: migration to 15.0 2023-07-05 17:40:44 +02:00
SergiCForgeFlow
6c8ff23edb [MIG] rma_scrap: Migration to 15.0 2023-06-27 14:01:29 +02:00
SergiCForgeFlow
94d650daa7 [IMP] rma_scrap: black, isort, prettier 2023-06-19 12:57:35 +02:00
Jordi Ballester Alomar
541c2f827a [FIX] rma_scrap: various fixes 2023-06-19 12:55:30 +02:00
DavidJForgeFlow
6e98027c05 [14.0][ADD] rma_scrap 2023-06-19 12:55:30 +02:00
Juany Davila
508c71b329 [IMP] rma_operating_unit: black, isort, prettier 2023-06-07 12:31:29 +02:00
Juany Davila
d9e0367d98 [MIG] rma_operating_unit: migration to 14.0 2023-06-07 12:31:29 +02:00
Juany Davila
577dd0078d [IMP] rma_operating_unit: black, isort, prettier 2023-06-07 12:31:29 +02:00
Aaron Henriquez
18aa56b17e [FIX]dependencies 2023-06-07 12:31:28 +02:00
aheficent
c680effc9f [FIX]rma_operating_unit, wizard was not returning anything 2023-06-07 12:31:28 +02:00
aaron
c2a31e556e [FIX]rma_operating_unit view 2023-06-07 12:31:28 +02:00
aaron
3d6edd5eb8 [FIX]rma_operating_unit view domains 2023-06-07 12:31:28 +02:00
Beñat Jimenez
250656eb29 [MIG] rma_operating_unit: Migration to v12 2023-06-07 12:31:28 +02:00
Maxime Chambreuil
fcaef49fdf [MIG] Migrate configuration and cleanup 2023-06-07 12:31:28 +02:00
Nikul Chaudhary
1b5c77d946 [FIX] Fixed UT & Travis 2023-06-07 12:31:28 +02:00
aheficent
be856638ab [MIG]rma_operating_unit to v10 2023-06-07 12:31:28 +02:00
aheficent
76d3dbe276 [ADD] rma_operating_unit 2023-06-07 12:31:28 +02:00
Joan Sisquella
f752049a2f [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-30 15:49:27 +02:00
Lois Rilo
ba45cb362d Merge pull request #410 from ForgeFlow/15.0-mig-rma_put_away
[15.0][MIG] rma_put_away
2023-03-06 15:05:03 +01:00
Lois Rilo
63d85fc881 Merge pull request #408 from ForgeFlow/15.0-mig-rma_sale_force_invoiced
[15.0][MIG] rma_sale_force_invoiced
2023-03-06 15:03:39 +01:00
DavidJForgeFlow
1bce8d0bbe [MIG] rma_put_away: Migration to 15.0 2023-03-03 16:30:39 +01:00
DavidJForgeFlow
1602c88bad [IMP] rma_put_away: pre-commit stuff 2023-03-03 16:26:00 +01:00
Jordi Ballester
0aeef6df96 [FIX] rma_put_away: fixes 2023-03-03 16:25:21 +01:00