Commit Graph

204 Commits

Author SHA1 Message Date
Bhavesh Odedra
a2d7f103cc Revert "[IMP] rma_operation"
This reverts commit 044bb2461acdb88e1ef98b1563e5ea7cb354918c.
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
0c640b4604 Revert "[IMP] code"
This reverts commit dfa54dadc9ee5c3946e86b4521474afb764d6710.
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
7c06f5dc11 [IMP] rma_operation 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
81b31069ac [IMP] code 2024-03-25 09:45:02 +01:00
Lois Rilo
eeab2f8114 [9.0] rma_purchase: add purchase_policy
cherry-pick 2100329188e45bf465d43b47c7e45cdb5041bc11
2024-03-25 09:45:02 +01:00
aaron
0bccdb2faa [IMP]name get when filling form purchase order lines
Conflicts:
	rma_purchase/models/purchase_order_line.py
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
95ae05ac46 Revert "[FIX] TypeError: unhashable type: 'list'"
This reverts commit 6443a8147c0cc4839577949ab7444a89a0c81927.
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
b28c52a015 [FIX] TypeError: unhashable type: 'list' 2024-03-25 09:45:02 +01:00
Maxime Chambreuil
542b0fc63a [FIX] Add read access to purchase order and po line 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
56d503defd [11.0] MIG: rma_purchase 2024-03-25 09:45:02 +01:00
Maxime Chambreuil
e23b5116e2 [MIG] Migrate configuration and cleanup 2024-03-25 09:45:02 +01:00
Nikul Chaudhary
51591a060b [MIG] Migrated UT & Fixed Travis 2024-03-25 09:45:02 +01:00
aheficent
2b1d346fd8 [FIX]various fixes 2024-03-25 09:45:02 +01:00
Nikul Chaudhary
41ff082c74 [IMP] Improved Unit Test Case and Fixed Travis 2024-03-25 09:45:02 +01:00
aheficent
9916ea33fd [MIG]rma_purchase v10 2024-03-25 09:45:02 +01:00
lreficent
49d3481052 [9.0][IMP] rma: add link to source SO and PO 2024-03-25 09:45:02 +01:00
lreficent
913215c132 [FIX] allow child partners too 2024-03-25 09:45:02 +01:00
lreficent
3afe7365a0 [9.0][IMP] rma_purchase: allow to search by order reference 2024-03-25 09:45:02 +01:00
lreficent
ad588d3638 [9.0][FIX] wizards need to specify partner. 2024-03-25 09:45:02 +01:00
lreficent
344a28b37d [9.0][IMP] rma: add constrains 2024-03-25 09:45:02 +01:00
lreficent
3a5a5bd191 [9.0][REW] rma_purchase: adapt 2024-03-25 09:45:02 +01:00
lreficent
f58ee0ea37 [9.0][IMP] rma_purchase:
* remove unneded copy and ondelete attributes.
* simplify action_view methods.
* fix rma line supplier view.
* fix wizard.
* extend README.
* minor extra fixes.
2024-03-25 09:45:02 +01:00
aheficent
99008e8b6d [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
2024-03-25 09:45:02 +01:00
lreficent
b241dc7d37 [9.0][FIX] rma:
* fix assignment of moves.
* default qty in rma lines.
* remove account dependency.
* test and flake8 fixes.
2024-03-25 09:45:02 +01:00
Jordi Ballester
d79dc5f797 init branch 2024-03-25 09:45:02 +01:00
CarlosVForgeFlow
4c64b8e6b2 Merge pull request #500 from ForgeFlow/revert-483-17.0-mig-rma
Revert "[17.0][MIG] rma"
2024-03-12 15:00:04 +01:00
CarlosVForgeFlow
56b82eff1a Revert "[17.0][MIG] rma" 2024-03-12 14:03:17 +01:00
CarlosVForgeFlow
af4f57a211 Merge pull request #483 from ForgeFlow/17.0-mig-rma
[17.0][MIG] rma
2024-03-12 14:03:06 +01:00
Carlos Vallés Fuster
775b51915b [MIG] rma: Migration to 17.0 2024-03-12 09:41:16 +01:00
Carlos Vallés Fuster
46fa1f6283 [IMP] rma: pre-commit auto fixes 2024-03-06 08:32:41 +01:00
Florian da Costa
f4577808ab [IMP] Remove domain from onchange method and put it in field view 2024-03-06 08:31:44 +01:00
Florian da Costa
b9f0b7a60d [FIX] Delete rma_picking_wizard_item on cascade to avoid failure 2024-03-06 08:31:44 +01:00
JordiMForgeFlow
338c2f8369 [IMP] rma: mark RMA location as return location 2024-03-06 08:31:44 +01:00
AaronHForgeFlow
8df45b0fe2 [FIX] rma: RMA location in the warehouse should not be inside stock 2024-03-06 08:31:44 +01:00
ChrisOForgeFlow
8e5b21126b [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
2024-03-06 08:31:44 +01:00
SergiCForgeFlow
1d71d2862e [FIX] Restrict approval rights to RMA Manager 2024-03-06 08:31:44 +01:00
AaronHForgeFlow
fe1bcddd74 [IMP] rma: date_rma in lines 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
ee0d1fda11 [IMP] rma: add date to rma_order_line 2024-03-06 08:31:44 +01:00
Florian da Costa
5ee74fda13 rma : Fix description size in rma order line view form 2024-03-06 08:31:44 +01:00
JordiMForgeFlow
91fec438b9 [FIX] rma: correctly display fields in product category view 2024-03-06 08:31:44 +01:00
Joan Sisquella
23da1ccb94 [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.
2024-03-06 08:31:44 +01:00
DavidJForgeFlow
eee6edcc2f [FIX] rma: get_move_rma dropship 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
0fa5fa17b0 [FIX] rma: dropship from vendor as outgoing 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
a2e03f1c26 [FIX] rma: get all partner RMA 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
92c591f330 [FIX] rma: some fixups 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
010bdc5070 [FIX] rma: make picking product_uom_qty 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
0422852a88 [FIX] rma: product_uom_qty not in move_line_ids 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
b67ac1748c [16.0][FIX] rma: return of button done 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
87214a6c22 [FIX] rma: deprecated test warning fix 2024-03-06 08:31:44 +01:00
DavidJForgeFlow
391aaa8f93 [IMP] rma: limit state statusbar 2024-03-06 08:31:44 +01:00