Florian da Costa
f05e4037f2
[IMP] rma : propagate cancelation
...
When canceling a rma order line, it will also cancel the previous (orig) steps.
Following steps (dest) can be managed with the propagate cancel option of the stock rules.
This commit also avoid canceling a whole picking which is problematic in case of the use of RMA groups
2024-09-26 11:30:32 +02:00
Florian da Costa
2af11be8b7
[IMP] rma : add index on stock_move.rma_line_id
2024-09-20 15:07:58 +02:00
Aaron ForgeFlow
758a2a7d3f
Merge pull request #492 from ForgeFlow/16.0-imp-rma-autocalculate_package
...
[16.0][IMP] rma: Auto-calculate package for serial products
2024-05-08 16:26:16 +02:00
chafique.delli
c683e32b34
[16.0][IMP] rma: rma group state
2024-04-16 09:42:56 +02:00
BernatPForgeFlow
e43156e027
[FIX] rma: Do not set 'Destination Package' if RMA package comes from 'Customers' location
2024-01-09 13:22:26 +01:00
Florian da Costa
4034cd2687
[IMP] Remove domain from onchange method and put it in field view
2023-11-28 14:08:11 +00:00
Jordi Ballester Alomar
334b86f947
Merge pull request #443 from ForgeFlow/16.0-mig-rma
...
[16.0][IMP] rma: add date to rma_order_line
2023-11-22 08:19:00 +01:00
Aaron ForgeFlow
d7b7ef6608
Merge pull request #469 from ForgeFlow/16.0-imp-default_operation_type_rma_group
...
[16.0][FWD][IMP] added default operation on rma group, easy setup before rma lines created
2023-11-21 16:46:11 +00:00
JordiMForgeFlow
11ae665692
[IMP] rma: mark RMA location as return location
2023-11-20 09:27:50 +00:00
AaronHForgeFlow
05257541b3
[FIX] rma: RMA location in the warehouse should not be inside stock
2023-11-17 13:48:15 +00:00
ChrisOForgeFlow
6fec4470d0
[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
2023-10-31 08:39:30 +01:00
AaronHForgeFlow
17a44b1be9
[IMP] rma: date_rma in lines
2023-10-27 12:27:11 +02:00
DavidJForgeFlow
7a56d6381f
[IMP] rma: add date to rma_order_line
2023-10-27 12:26:48 +02:00
DavidJForgeFlow
1ba883f01d
[FIX] rma: get_move_rma dropship
2023-05-02 10:17:08 +02:00
DavidJForgeFlow
fc6cd2ff48
[FIX] rma: get all partner RMA
2023-05-02 09:32:46 +02:00
DavidJForgeFlow
c3f76bd73a
[FIX] rma: some fixups
2023-04-03 13:46:19 +02:00
DavidJForgeFlow
341fe67390
[IMP] rma: cancel rma_lines
2023-02-20 20:43:41 +01:00
Lois Rilo
41541b4f10
Merge pull request #339 from akretion/16.0-fix-migration
...
[16][FIX] rma: Refactor onchange fields to computed fields (partial)
2023-02-17 09:39:26 +01:00
Florian da Costa
71df4774e8
[FIX] Move some field from onchange to compute fields to avoid issues in views
2023-02-17 09:29:11 +01:00
Lois Rilo
76f57a08c9
[IMP] rma: order by id desc
2023-01-09 17:19:34 +01:00
Lois Rilo
79e1c5c2eb
[IMP] rma: add description to rma order and copy it over to new lines
2023-01-09 17:19:24 +01:00
Florian da Costa
f3958f33fc
[FIX] count produced products going to customer as out pickings
2022-12-27 17:32:41 +01:00
Jordi Ballester Alomar
5c423eddcb
[FIX] fix empty parter on rma picking
2022-11-30 16:54:54 +01:00
Florian da Costa
2559cb4660
[16.0][MIG] Migrate rma module to v16
2022-11-28 16:24:49 +01:00
Jordi Ballester Alomar
d991e034cb
[IMP] centralize the logic to get the correct cost of the RMA.
2022-11-28 16:11:02 +01:00
Jordi Ballester Alomar
577ded734a
[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.
2022-11-28 16:11:02 +01:00
Stefan Rijnhart
60a9d6decb
[IMP] rma: prevent the creation of zero qty moves
2022-11-28 16:11:02 +01:00
Stefan Rijnhart
a4e20f6abb
[FIX] rma: improve check on rule selection during procurement
...
Fixes #274
Thanks to @florian-dacosta for suggesting this approach.
2022-11-28 16:11:02 +01:00
Stefan Rijnhart
cddf72d6c0
[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.
2022-11-28 16:11:02 +01:00
DavidFIB
d328e17e6f
[14.0][FIX/IMP] Make RMA Operation settings company dependent
2022-11-28 16:11:02 +01:00
Andrea
06c7a1d01e
[13.0][FIX/IMP] Make RMA Operation settings company dependent
2022-11-28 16:11:02 +01:00
AaronHForgeFlow
e632e0faf7
[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
2022-11-28 16:11:02 +01:00
Jordi Ballester
33398c0add
[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.
2022-11-28 16:11:02 +01:00
AaronHForgeFlow
df52ec86f6
[IMP] COPIER UPDATE: black, isort, prettier
2022-11-28 16:11:02 +01:00
Christopher Ormaza
ac420c786b
[14.0][FIX] rma: separate stock.move by rma_line_id to fix picking association
2022-11-28 16:11:02 +01:00
Lois Rilo
c2d491ede6
[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.
2022-11-28 16:11:02 +01:00
Christopher Ormaza
3b3675501f
[FIX] rma: add lot to pickings created from wizard on RMA lines
2022-11-28 16:11:02 +01:00
Christopher Ormaza
f1581f1ba4
[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
2022-11-28 16:11:02 +01:00
Jordi Ballester
3c51940502
[FIX] rma: compute out_shipment_count correctly. Add test cases
2022-11-28 16:11:02 +01:00
Jordi Ballester
d077fffcbf
[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.
2022-11-28 16:11:02 +01:00
Jordi Ballester
ff0e4fb214
[fix] rma: when using 2 step receipt or delivery, don't count double
2022-11-28 16:11:02 +01:00
AaronHForgeFlow
e36989803f
[14.0][IMP]rma: make operation editable after approved
...
* remove also validation error when setting the rma to draft where there are done pickings
2022-11-28 16:11:02 +01:00
Jasmin Solanki
7bc8ca36b1
[MIG] rma: Migration to 15.0
2022-11-28 16:11:02 +01:00
Lois Rilo
d0c010e5c1
[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.
2022-11-28 16:11:02 +01:00
Raphael Lee
ce3faa653e
[14.0][FIX] warehouse rma location
2022-11-28 16:11:02 +01:00
Mateu Griful
c8d492814b
[MIG] rma: Migration to 14.0 - fix
2022-11-28 16:11:02 +01:00
Mateu Griful
b7c138f31b
[MIG] rma: Migration to 14.0 - fix
2022-11-28 16:11:02 +01:00
Mateu Griful
8c1d65614b
[MIG] rma: Migration to 14.0
2022-11-28 16:11:02 +01:00
Mateu Griful
1cdbb32240
[IMP] rma: black, isort, prettier
2022-11-28 16:11:02 +01:00
ahenriquez
2526e78d7c
[IMP]rma enable invoicing from settings
2022-11-28 16:11:02 +01:00