Commit Graph

309 Commits

Author SHA1 Message Date
Lois Rilo
cc35e8bde5 [FIX] rma_repair: fix author in manifest
OCA was added in the past by mistake only because a misconfiguration
in the CI forced OCA as a required author.
2023-07-07 17:27:09 +02:00
Lois Rilo
97133dac5f [FIX] rma_repair: repair policy not being updated from rma group 2023-07-07 17:27:09 +02:00
AaronHForgeFlow
a54de1f764 [FIX] rma_repair: re-license to AGPL due to dependency to repair_refusrbish
[IMP] rma_repair: cosmetics changes due to copier update
2023-07-07 17:27:09 +02:00
Jasmin Solanki
8eca01fb23 [MIG] rma_repair: Migration to 15.0 2023-07-07 17:27:09 +02:00
Mateu Griful
4855ec39ff Fix Pre-commit Websites 2023-07-07 17:27:09 +02:00
Lois Rilo
4f3c8918f8 [14.0][MIG] rma*: ir.actions.act_window has different access
right in v14. Actions that read those records need to use
`sudo` to allow non-admin users to be able to use these actions.
2023-07-07 17:27:09 +02:00
Lois Rilo
63517ad9a9 Revert "[TEMP] rma_repair: regression upstream."
This reverts commit 6825ce6b90.
The issue has been attended and fixed.
2023-07-07 17:27:09 +02:00
Lois Rilo
5f2f3a494a [IMP] rma_repair: adapt to simplification on rma.line form view. 2023-07-07 17:27:09 +02:00
Lois Rilo
2e6de184d1 [FIX] rma_repair: under_warranty cannot be editable as it is only
editable in draft state in the related RMA, therefore when you
have created a repair order, the field `under_warranty` is not
editable anymore.
2023-07-07 17:27:09 +02:00
Lois Rilo
a6ecaad0a1 [TEMP] rma_repair: regression upstream.
The issue https://github.com/odoo/odoo/issues/68370 is affecting
the test of rma_repair, commenting them while the issue is
attended.
2023-07-07 17:27:09 +02:00
Lois Rilo
791e2f449c [14.0][FIX] rma_repair:
* fix quantity computation
* use a payment_state field instead of inovice state one.
* Use proper digits and unit conversion.
* Add a filter "To repair".
* Remove dead code and clean warnings.
2023-07-07 17:27:09 +02:00
Mateu Griful
61e72f3f6d [MIG] rma_repair: Migration to 14.0 2023-07-07 17:27:09 +02:00
Mateu Griful
1dd1d575fd [MIG] rma_repair: Migration to 14.0 2023-07-07 17:27:09 +02:00
Mateu Griful
2d6a3936e3 [IMP] rma_repair: black, isort, prettier 2023-07-07 17:27:09 +02:00
AaronHForgeFlow
1c5e7d84dc [IMP] black, isort, prettier 2023-07-07 17:27:09 +02:00
ahenriquez
546783eece [UPT]allow to deliver rmas after repair even when not paid 2023-07-07 17:27:09 +02:00
ahenriquez
1cd37a2cca [MIG]rma_repair to v13 2023-07-07 17:27:09 +02:00
ahenriquez
101c485c0e [IMP] : black, isort 2023-07-07 17:27:09 +02:00
ahenriquez
e380478b84 [ENH]qty under repair on rma 2023-07-07 17:27:09 +02:00
mreficent
12e3057056 [FIX] default_gets: avoid using shadowname 'fields' 2023-07-07 17:27:09 +02:00
Aaron Henriquez
633482214f [IMP]delivery_policy based on repair quantities
[IMP]better repair icons
2023-07-07 17:27:09 +02:00
Bhavesh Odedra
ee6fce0536 [SET] Correct website URL for RMA modules 2023-07-07 17:27:09 +02:00
Bhavesh Odedra
f29d42ce0b [FIX] bring Lot/Serial,Delivery Address and Invoicing Address when create a repair order 2023-07-07 17:27:09 +02:00
Akim Juillerat
2a08b55677 [MIG] rma_repair: Migration to 12.0 2023-07-07 17:27:09 +02:00
Adria Gil Sorribes
9e15ab692c [11.0][MIG] rma_repair (#55) 2023-07-07 17:27:09 +02:00
Nikul Chaudhary
2a8623cc89 [IMP] Improved Unit Test Case and Fixed Travis 2023-07-07 17:27:09 +02:00
aheficent
0ade672951 set not ported modules to not installable 2023-07-07 17:27:09 +02:00
lreficent
a1c646bda4 [9.0] add under_warranty field 2023-07-07 17:27:09 +02:00
lreficent
cf710fc09b fix invoice address 2023-07-07 17:27:09 +02:00
lreficent
bf3a201a2a [9.0][REW] rma_repair: adapt 2023-07-07 17:27:09 +02:00
lreficent
5a88e1914d pylint 2023-07-07 17:27:09 +02:00
lreficent
074e9b28ed [9.0][FIX] rma_repair: issue with memory autovacuum. 2023-07-07 17:27:09 +02:00
lreficent
a7c9d16131 [9.0][IMP] rma_repair: change default sequence for repairs. 2023-07-07 17:27:09 +02:00
lreficent
94553dc950 [9.0][FIX] rma_repair 2023-07-07 17:27:09 +02:00
Jordi Ballester
4e2e3a3ec7 add rma_repair 2023-07-07 17:27:09 +02:00
Jordi Ballester Alomar
a5573378f9 Merge pull request #397 from ForgeFlow/16.0-mig-rma_account
[16.0][MIG] rma_account
2023-07-07 17:24:43 +02:00
Joan Sisquella
2feb96db80 [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:37 +02:00
Jordi Ballester Alomar
b1da491476 [IMP] rma_account: add index in account.move.line to field 'rma_line_id' 2023-04-17 11:59:09 +02:00
DavidJForgeFlow
f07c5f2e85 [MIG] rma_account: Migration to 16.0 2023-04-17 11:59:02 +02:00
Lois Rilo
4961a2af36 Merge pull request #398 from ForgeFlow/16.0-fix-rma_refresh_deprecated
[16.0][FIX] rma: deprecated test warning fix
2023-03-06 15:07:39 +01:00
Lois Rilo
c92181c5db Merge pull request #412 from ForgeFlow/16.0-fix-rma
[16.0][FIX] rma: product_uom_qty not in move_line_ids
2023-03-06 15:02:37 +01:00
DavidJForgeFlow
621e5d4ec1 [FIX] rma: product_uom_qty not in move_line_ids 2023-03-03 17:00:11 +01:00
Lois Rilo
48b5cd7e64 Merge pull request #399 from ForgeFlow/16.0-fp-376
[16.0][FIX] rma: return of button done
2023-02-22 15:40:24 +01:00
DavidJForgeFlow
71d790175a [16.0][FIX] rma: return of button done 2023-02-22 15:33:49 +01:00
DavidJForgeFlow
f64804dfed [FIX] rma: deprecated test warning fix 2023-02-22 15:25:47 +01:00
Lois Rilo
fac5d7876c Merge pull request #389 from ForgeFlow/16.0-fp-376
[16.0][IMP] rma: cancel rma_lines
2023-02-22 15:25:06 +01:00
DavidJForgeFlow
4cd1255a5d [IMP] rma_account: pre-commit stuff 2023-02-22 11:17:03 +01:00
AaronHForgeFlow
f1b100ef78 [IMP] rma_account: pre-commit, context overridden using dict. Better using kwargs 2023-02-22 11:16:03 +01:00
AaronHForgeFlow
ea60657bf7 [14.0][FIX] rma_account: reconcile GDNI when receiving but refund is expected 2023-02-22 11:16:03 +01:00
Lois Rilo
06bda844bc [IMP] rma_account: adapt to changes in supplier rma group form view. 2023-02-22 11:16:03 +01:00