Commit Graph

515 Commits

Author SHA1 Message Date
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
Jordi Ballester
145f1126e2 [ADD] rma_put_away 2023-03-03 16:25:21 +01:00
DavidJForgeFlow
9f16814f7e [MIG] rma_sale_force_invoiced: Migration to 15.0 2023-03-03 16:09:09 +01:00
DavidJForgeFlow
ebe1212827 [IMP] rma_sale_force_invoiced: pre-commit stuff 2023-03-03 16:02:07 +01:00
Jordi Ballester
157f73cb2a [ADD] rma_sale_force_invoiced 2023-03-03 16:01:07 +01:00
Jordi Ballester Alomar
2fc2ffbb80 Merge pull request #406 from ForgeFlow/15.0-fp-404
[15.0][IMP] rma_account: add index in account.move.line to field 'rma_line_id'
2023-02-28 09:20:01 +01:00
Jordi Ballester Alomar
05ac2edd0b [IMP] rma_account: add index in account.move.line to field 'rma_line_id' 2023-02-28 09:00:45 +01:00
Lois Rilo
a43d640667 Merge pull request #396 from ForgeFlow/15.0-fp-393
[15.0][IMP] rma: limit state statusbar
2023-02-22 15:39:56 +01:00
DavidJForgeFlow
acce14ce7e [IMP] rma: limit state statusbar 2023-02-22 15:36:52 +01:00
Lois Rilo
0e29c8e938 Merge pull request #392 from ForgeFlow/15.0-fp-391
[15.0][FIX] rma: in multi step routes, only reserve first step
2023-02-21 15:07:17 +01:00
Lois Rilo
73b215b25c [FIX] rma: in multi step routes, only reserve first step
We shoul not force reservation on next steps on a multi step
route, oherwise a inconsistency is generated and the transfers
cannot be processed or cancel so the user gets stuck ("it is
not possible to unreserve more products that you have in stock"
error).
2023-02-21 15:01:31 +01:00
Lois Rilo
5521e0839f Merge pull request #388 from ForgeFlow/15.0-fp-379
[15.0][IMP] rma_repair: button cancel
2023-02-21 14:47:04 +01:00
Lois Rilo
6ef680cc43 Merge pull request #387 from ForgeFlow/15.0-fp-378
[15.0][IMP] rma_sale: button cancel
2023-02-21 14:46:44 +01:00
Lois Rilo
464a7c4243 Merge pull request #386 from ForgeFlow/15.0-fp-377
[15.0][IMP] rma_purchase: button cancel
2023-02-21 14:46:29 +01:00