Commit Graph

313 Commits

Author SHA1 Message Date
aheficent
ee364037b8 [FIX]currency_id was not filled 2023-07-07 17:28:37 +02:00
aheficent
44d15ffe7a [FIX]rma_line view in the sale order line 2023-07-07 17:28:37 +02:00
aheficent
9525f29722 [MIG]rma_sale to v11 2023-07-07 17:28:37 +02:00
aaron
2d94669a82 [IMP]update module version 2023-07-07 17:28:37 +02:00
aaron
7380c57664 [IMP]nicer name_get in sale_order_line 2023-07-07 17:28:37 +02:00
Lois Rilo
bf9771d4f3 [9.0] rma_sale: add advanced refund operation 2023-07-07 17:28:37 +02:00
aaron
3bd8b713e6 [IMP]name get when filling form sale order lines 2023-07-07 17:28:37 +02:00
aaron
288b3bde33 [FIX]sale group 2023-07-07 17:28:37 +02:00
aaron
8262270224 [FIX]when selling use the standard routes not rma ones 2023-07-07 17:28:37 +02:00
Lois Rilo
5a0182b08c [9.0] rma: add filters for pending quantities 2023-07-07 17:28:37 +02:00
aaron
f10537d8d1 [FIX]rma_sale sale_policy instead of sale_type 2023-07-07 17:28:37 +02:00
Lois Rilo
c86be2f412 fixup! fix 2023-07-07 17:28:37 +02:00
Lois Rilo
3ce146a903 [9.0][REW] rma_sale: complete rework of the tests (they didn't make sense at all before) 2023-07-07 17:28:37 +02:00
Lois Rilo
1608166ae7 [9.0] rma_sale: add default sale operation 2023-07-07 17:28:37 +02:00
Lois Rilo
7b954690a7 [9.0] rma_sale: adapt constraint to view domain 2023-07-07 17:28:37 +02:00
aaron
8b1830371f [FIX]reverting changes applied to v11 2023-07-07 17:28:37 +02:00
Lois Rilo
640d2139ac [FIX] tests 2023-07-07 17:28:37 +02:00
Maxime Chambreuil
5fda7f55dc [MIG] Migrate configuration and cleanup 2023-07-07 17:28:37 +02:00
aheficent
88dd0cc1ba [FIX]compute qty to sell 2023-07-07 17:28:37 +02:00
Nikul Chaudhary
ab56be6b80 [FIX] Fixed UT & Travis 2023-07-07 17:28:37 +02:00
Nikul Chaudhary
fe7b94a3c9 [IMP] Improved Code. 2023-07-07 17:28:37 +02:00
Nikul Chaudhary
c9d85ad4b5 [MIG] Migrated UT & Fixed Travis 2023-07-07 17:28:37 +02:00
aheficent
3527cd54f9 [FIX]various fixes 2023-07-07 17:28:37 +02:00
Nikul Chaudhary
01be7818f7 [IMP] Improved Unit Test Case and Fixed Travis 2023-07-07 17:28:37 +02:00
aheficent
1eb2a2168d [MIG]rma_sale to v10 2023-07-07 17:28:37 +02:00
lreficent
ed0fc49a33 [9.0][IMP] rma: add link to source SO and PO 2023-07-07 17:28:37 +02:00
lreficent
0fdcce9ed4 [FIX] allow child partners too 2023-07-07 17:28:37 +02:00
lreficent
0bc701feb0 [9.0][IMP] rma_sale: allow to search by order reference 2023-07-07 17:28:37 +02:00
lreficent
d59736d167 fix rma_sale 2023-07-07 17:28:37 +02:00
lreficent
c8ad7ce1ca [9.0][FIX] wizards need to specify partner. 2023-07-07 17:28:37 +02:00
lreficent
4764520a62 [9.0][REW] rma_sale: adapt 2023-07-07 17:28:37 +02:00
lreficent
a7c2097985 [9.0][FIX] rma_sale: product might be changed when creating SO from RMA. 2023-07-07 17:28:37 +02:00
lreficent
52bcea298c [9.0][FIX] rma_sale: wrong domain 2023-07-07 17:28:37 +02:00
lreficent
444669ced6 [9.0][IMP] rma_sale:
* simplify actgion_view methods.
* remove unneded copy and ondelete attributes.
* Fix wizard to add rma lines from SO.
* Update README and some strings.
2023-07-07 17:28:37 +02:00
lreficent
65826d753b [9.0][IMP] rma_account:
* remove unneded copy attributes.
* simplify action_view methods.
* fix wrong naming.
* fix misplaced views.
* fix wrong count and view actions for rma.orders in invoices.
* fix error when installing the module.
* remove unneded data update when preparing rma lines from invoice lines.
* minor extra fixes.
2023-07-07 17:28:37 +02:00
lreficent
7ba2f20ce1 [9.0][FIX]
* rma: receipt_policy selections not matching.
* rma_sale: fix _prepare_rma_line_from_sale_order_line.
2023-07-07 17:28:37 +02:00
aheficent
f20d100511 [IMP] default operation in product and product_categ for customer and supplier
[IMP]Separate menus for customer and supplier operations
* Add active field to rma operation
* Added tests
* Fix travis
* Fix create supplier rma from customer rma
2023-07-07 17:28:37 +02:00
lreficent
fc7571ec6a [9.0][FIX] rma:
* fix assignment of moves.
* default qty in rma lines.
* remove account dependency.
* test and flake8 fixes.
2023-07-07 17:28:37 +02:00
Jordi Ballester
40d308f3d4 init branch 2023-07-07 17:28:37 +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