Commit Graph

87 Commits

Author SHA1 Message Date
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
ahenriquez
45c80e3cc4 [IMP]rma master data menus 2022-11-28 16:11:02 +01:00
hveficent
c141fd0660 RMA as an APP 2022-11-28 16:11:02 +01:00
ahenriquez
8b202f9b97 [MIG] rma: Migration to 13.0 2022-11-28 16:11:02 +01:00
ahenriquez
e0c8c99df4 [IMP] : black, isort 2022-11-28 16:11:02 +01:00
Chafique
06323f4d6a [10.0][IMP]add report for rma group 2022-11-28 16:11:02 +01:00
ahenriquez
6c6daf6451 [FIX]UsreError to Validation Error 2022-11-28 16:11:02 +01:00
ahenriquez
2347fea4b3 [FIX]move constraint from the rma order to the line 2022-11-28 16:11:02 +01:00
ahenriquez
fb28c948d7 [FIX] description on rma models 2022-11-28 16:11:02 +01:00
ahenriquez
d8d42017d4 [IMP]return qty instead of ordered qty 2022-11-28 16:11:02 +01:00
ahenriquez
5dd638deb6 [FIX]supplier lines field description 2022-11-28 16:11:02 +01:00
ahenriquez
7a6770e4e6 [ENH]activate description also fro customer RMAs
[ENH]add term and conditions field to be printed and send to the partner
[FIX]do not show rma groups on the rma line form view if they are not activated
2022-11-28 16:11:02 +01:00
Aaron Henriquez
1494e72175 [FIX]consistency group vs line in the picking count methods 2022-11-28 16:11:02 +01:00
Aaron Henriquez
ba9b8af4d2 [FIX]do not copy name when duplicating 2022-11-28 16:11:02 +01:00
Alexandre Fayolle
c5757a2386 [FIX] wrong company on stock rules
when working with odoobot account, you would get the wrong company_id
on the RMA stock.rules of the warehouse on which you enabled RMA
2022-11-28 16:11:02 +01:00