Commit Graph

96 Commits

Author SHA1 Message Date
BernatPForgeFlow
6fab740b56 [FIX] rma: Do not set 'Destination Package' if RMA package comes from 'Customers' location 2024-05-08 16:36:41 +02:00
Carlos Vallés Fuster
cb5a8a1ddd [MIG] rma: Migration to v17 2024-05-06 17:08:34 +02:00
chafique.delli
9e74dedb9a [16.0][IMP] rma: rma group state 2024-05-06 17:07:50 +02:00
Florian da Costa
6c67346b08 [IMP] Remove domain from onchange method and put it in field view 2024-05-06 17:07:50 +02:00
JordiMForgeFlow
35345a99a5 [IMP] rma: mark RMA location as return location 2024-05-06 17:07:50 +02:00
AaronHForgeFlow
b0f89825cb [FIX] rma: RMA location in the warehouse should not be inside stock 2024-05-06 17:07:50 +02:00
ChrisOForgeFlow
608f2910dc [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-05-06 17:07:50 +02:00
AaronHForgeFlow
b3047b0cd3 [IMP] rma: date_rma in lines 2024-05-06 17:07:50 +02:00
DavidJForgeFlow
d312c8cd01 [IMP] rma: add date to rma_order_line 2024-05-06 17:07:50 +02:00
DavidJForgeFlow
e4f6e7ba64 [FIX] rma: get_move_rma dropship 2024-05-06 17:07:50 +02:00
DavidJForgeFlow
f615ca7436 [FIX] rma: get all partner RMA 2024-05-06 17:07:50 +02:00
DavidJForgeFlow
60d770b208 [FIX] rma: some fixups 2024-05-06 17:07:50 +02:00
DavidJForgeFlow
fb683c9aa5 [IMP] rma: cancel rma_lines 2024-05-06 17:07:50 +02:00
Florian da Costa
4fe10d788c [FIX] Move some field from onchange to compute fields to avoid issues in views 2024-05-06 17:07:50 +02:00
Lois Rilo
d674b66524 [IMP] rma: order by id desc 2024-05-06 17:07:50 +02:00
Lois Rilo
739f67beca [IMP] rma: add description to rma order and copy it over to new lines 2024-05-06 17:07:50 +02:00
Florian da Costa
ea384322b9 [FIX] count produced products going to customer as out pickings 2024-05-06 17:07:50 +02:00
Jordi Ballester Alomar
44b6e62037 [FIX] fix empty parter on rma picking 2024-05-06 17:07:50 +02:00
Florian da Costa
258021bdd1 [16.0][MIG] Migrate rma module to v16 2024-05-06 17:07:50 +02:00
Jordi Ballester Alomar
4b1ec13884 [IMP] centralize the logic to get the correct cost of the RMA. 2024-05-06 17:07:50 +02:00
Jordi Ballester Alomar
7112843798 [FIX] include anglo-saxon price unit calculation in refunds.
Otherwise the anglo saxon entries won't be correct.
For example, the Interim (Delivered) account should balance
after receiving and triggering a refund on a customer rma.
2024-05-06 17:07:50 +02:00
Stefan Rijnhart
f411c0e3d0 [IMP] rma: prevent the creation of zero qty moves 2024-05-06 17:07:50 +02:00
Stefan Rijnhart
501418d132 [FIX] rma: improve check on rule selection during procurement
Fixes #274

Thanks to @florian-dacosta for suggesting this approach.
2024-05-06 17:07:50 +02:00
Stefan Rijnhart
faa1959d5e [FIX] rma: prevent against warehouse mismatch or missing rules
When creating pickings, ensure that the applied stock rule was taken from
the operation's routes. Otherwise, the default procurement rules for a
warehouse may kick in, creating incoming customer goods not from the customer
location but from the resupply warehouse.
2024-05-06 17:07:50 +02:00
DavidFIB
71bf52d866 [14.0][FIX/IMP] Make RMA Operation settings company dependent 2024-05-06 17:07:50 +02:00
Andrea
2a3b980dfb [13.0][FIX/IMP] Make RMA Operation settings company dependent 2024-05-06 17:07:50 +02:00
AaronHForgeFlow
c7c6abddf9 [15.0][IMP] Tests for stock valuation
[FIX] rma: rma_custmer_user has no write permissions in partner, so compute method fails.
[IMP] rma: use rma user in tests
[FIX] rma_account: move_line_id field string
[IMP] rma, rma_account, rma_sale, rma_purchase: tests for stock valuation
[FIX] account_move_line_rma_order_line: minor lint, make auto-install
2024-05-06 17:07:50 +02:00
Jordi Ballester
ea4922d283 [IMP] rma: Refactor all rma modules in order to consider using the correct price unit in moves
Otherwise the inventory accounting will be completely wrong.
2024-05-06 17:07:50 +02:00
AaronHForgeFlow
f90e6d3096 [IMP] COPIER UPDATE: black, isort, prettier 2024-05-06 17:07:50 +02:00
Christopher Ormaza
807f88a78d [14.0][FIX] rma: separate stock.move by rma_line_id to fix picking association 2024-05-06 17:07:50 +02:00
Lois Rilo
764139d560 [FIX] rma: do not force reservation on supplier RMA deliveries
* remove code call to unexisting `force_asign`.
* only one model per model file and rename as appropriate.
2024-05-06 17:07:50 +02:00
Christopher Ormaza
c83918400d [FIX] rma: add lot to pickings created from wizard on RMA lines 2024-05-06 17:07:50 +02:00
Christopher Ormaza
9845c0f99d [IMP] rma: Added serial/lot selection on from stock move wizard on rma groups
- added restriction to approve rma with product tracking on serial, should be only one to receive
2024-05-06 17:07:50 +02:00
Jordi Ballester
9d75d1207b [FIX] rma: compute out_shipment_count correctly. Add test cases 2024-05-06 17:07:50 +02:00
Jordi Ballester
964248f089 [fix] rma: improve logic to count in and out pickings
In the scenario where we use a 2 or 3 step receipts or pickings
we want to make sure that we correctly count and classify the pickings.
2024-05-06 17:07:50 +02:00
Jordi Ballester
08b55799ef [fix] rma: when using 2 step receipt or delivery, don't count double 2024-05-06 17:07:50 +02:00
AaronHForgeFlow
b2e0663126 [14.0][IMP]rma: make operation editable after approved
* remove also validation error when setting the rma to draft where there are done pickings
2024-05-06 17:07:50 +02:00
Jasmin Solanki
5771e63a55 [MIG] rma: Migration to 15.0 2024-05-06 17:07:50 +02:00
Lois Rilo
27960192f5 [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.
2024-05-06 17:07:50 +02:00
Raphael Lee
84b956365a [14.0][FIX] warehouse rma location 2024-05-06 17:07:50 +02:00
Mateu Griful
f6b27598fa [MIG] rma: Migration to 14.0 - fix 2024-05-06 17:07:50 +02:00
Mateu Griful
e069c204d0 [MIG] rma: Migration to 14.0 - fix 2024-05-06 17:07:50 +02:00
Mateu Griful
33fa9b0702 [MIG] rma: Migration to 14.0 2024-05-06 17:07:50 +02:00
Mateu Griful
5819ced3b4 [IMP] rma: black, isort, prettier 2024-05-06 17:07:50 +02:00
ahenriquez
79a4590f79 [IMP]rma enable invoicing from settings 2024-05-06 17:07:50 +02:00
ahenriquez
ebefe29209 [IMP]rma master data menus 2024-05-06 17:07:50 +02:00
hveficent
850c5ddc82 RMA as an APP 2024-05-06 17:07:50 +02:00
ahenriquez
db6a348e40 [MIG] rma: Migration to 13.0 2024-05-06 17:07:50 +02:00
ahenriquez
c4c1a4ea1a [IMP] : black, isort 2024-05-06 17:07:50 +02:00
Chafique
b5674ba51a [10.0][IMP]add report for rma group 2024-05-06 17:07:50 +02:00