Commit Graph

140 Commits

Author SHA1 Message Date
DavidJForgeFlow
c4f6100703 [14.0][IMP] rma: pass product in create lot 2024-03-06 08:31:44 +01:00
Florian da Costa
0bb07d5e01 [16.0][MIG] Migrate rma module to v16 2024-03-06 08:31:44 +01:00
Jordi Ballester Alomar
1a2599e866 [IMP] centralize the logic to get the correct cost of the RMA. 2024-03-06 08:31:44 +01:00
Jordi Ballester Alomar
4f59aea9e3 [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-03-06 08:31:44 +01:00
Jordi Ballester
b688c7faae [IMP] rma_sale: introduce new config settings.
- auto_confirm_rma_sale
- free_of_charge_rma_sale
2024-03-06 08:31:44 +01:00
DavidJForgeFlow
d91868ff4d [15.0][FIX] rma_sale: fixup of procurement 2024-03-06 08:31:44 +01:00
Stefan Rijnhart
84ee05edcc [IMP] rma: prevent the creation of zero qty moves 2024-03-06 08:31:44 +01:00
Florian da Costa
84cec30749 [IMP] Make rma order view cleaner for user
Hide button and fields depending on the policy chosen on the rma line
2024-03-06 08:31:44 +01:00
Florian da Costa
fc1cde6336 Hide smart button when empty 2024-03-06 08:31:44 +01:00
Stefan Rijnhart
b96eff7aac [FIX] rma: improve check on rule selection during procurement
Fixes #274

Thanks to @florian-dacosta for suggesting this approach.
2024-03-06 08:31:44 +01:00
DavidJForgeFlow
d3da7fe3cc [FIX]rma: remove test_rma dependency to Account 2024-03-06 08:31:44 +01:00
Cas Vissers
5ac2ad5e3c [IMP] Improve multi-company record rules 2024-03-06 08:31:44 +01:00
Stefan Rijnhart
5abc94ae3c [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-03-06 08:31:44 +01:00
Lois Rilo
b8816135e8 [IMP] rma: add rma lines to group selecting serial numbers 2024-03-06 08:31:44 +01:00
Lois Rilo
c8f6549604 [IMP] rma: add RMA reference to delivery slip report 2024-03-06 08:31:44 +01:00
Lois Rilo
ba37754303 [FIX] rma: missing migration scripts and version bump
Those are needed after making some fields company dependent
2024-03-06 08:31:44 +01:00
DavidFIB
7f989dccf5 [15.0][FIX/IMP] Make RMA Operation settings company dependent 2024-03-06 08:31:44 +01:00
DavidFIB
c1052effb9 [14.0][FIX/IMP] Make RMA Operation settings company dependent 2024-03-06 08:31:44 +01:00
Andrea
80ea8e3c24 [13.0][FIX/IMP] Make RMA Operation settings company dependent 2024-03-06 08:31:44 +01:00
AaronHForgeFlow
55fdf4508a [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-03-06 08:31:44 +01:00
Jordi Ballester
8bedb814cf [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-03-06 08:31:44 +01:00
Florian da Costa
d6960ba8b7 Add missing fields in rma line editable tree in rma group 2024-03-06 08:31:44 +01:00
Florian da Costa
37ec3958c8 [FIX] Remove useless/bad wiz_id field in rma_make_picking.wizard item preparation 2024-03-06 08:31:44 +01:00
AaronHForgeFlow
329887509c [IMP] COPIER UPDATE: black, isort, prettier 2024-03-06 08:31:44 +01:00
Christopher Ormaza
8a0661b4eb [14.0][FIX] rma: separate stock.move by rma_line_id to fix picking association 2024-03-06 08:31:44 +01:00
Lois Rilo
a15d7b9266 [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-03-06 08:31:44 +01:00
Jasmin Solanki
c820fb00fd [IMP] rma: Fix Route View 2024-03-06 08:31:44 +01:00
Christopher Ormaza
b9d6f0d2f8 [15.0][ADD] Mass action for request approval RMA order line 2024-03-06 08:31:44 +01:00
Christopher Ormaza
58c6f344dc [FIX] rma: add lot to pickings created from wizard on RMA lines 2024-03-06 08:31:44 +01:00
Christopher Ormaza
c383448383 [IMP] rma, rma_sale: added select all, messages for UX 2024-03-06 08:31:44 +01:00
Christopher Ormaza
e9757291b2 [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-03-06 08:31:44 +01:00
Jordi Ballester
3c8c4e92a0 [FIX] rma: compute out_shipment_count correctly. Add test cases 2024-03-06 08:31:44 +01:00
Jordi Ballester
da1b81c29e [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-03-06 08:31:44 +01:00
Jordi Ballester
e2cc826381 [fix] rma: when using 2 step receipt or delivery, don't count double 2024-03-06 08:31:44 +01:00
AaronHForgeFlow
4de713d759 [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-03-06 08:31:44 +01:00
Jasmin Solanki
79816ca944 [MIG] rma: Migration to 15.0 2024-03-06 08:31:44 +01:00
Jordi Ballester
bfa70f0aba [rma][fix] allow to set back to approved a done rma 2024-03-06 08:31:44 +01:00
Mateu Griful
e56b3f2853 Fix Pre-commit Websites 2024-03-06 08:31:44 +01:00
Lois Rilo
f714e722ee [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-03-06 08:31:44 +01:00
Raphael Lee
735328d5bd [14.0][FIX] warehouse rma location 2024-03-06 08:31:44 +01:00
Lois Rilo
80362935b9 [IMP] rma: Do not highlight all action buttons and simplify
rma.line views, supplier view is an extension of customer one.

This makes easier to edit common elements in both views and ease
maintenance.
2024-03-06 08:31:44 +01:00
Lois Rilo
c34a26b7e9 [FIX] rma: toggle archive button removed in favor of web_ribbon. 2024-03-06 08:31:44 +01:00
MateuGForgeFlow
042a217c57 [14.0][IMP]Fill rma lines in tree (#156)
* [IMP] rma: Fill rma lines in tree
2024-03-06 08:31:44 +01:00
Mateu Griful
6b773e8e46 [MIG] rma_account: Migration to 14.0 2024-03-06 08:31:44 +01:00
Mateu Griful
d2abe224c4 [FIX] rma: Create rma supplier action 2024-03-06 08:31:44 +01:00
Mateu Griful
424734f2e6 [MIG] rma: Migration to 14.0 - fix 2024-03-06 08:31:44 +01:00
Mateu Griful
50c4f586c4 [MIG] rma: Migration to 14.0 - fix 2024-03-06 08:31:44 +01:00
Mateu Griful
28fcd8efbe [MIG] rma: Migration to 14.0 - fix 2024-03-06 08:31:44 +01:00
Mateu Griful
3efe41ed86 [MIG] rma: Migration to 14.0 - fix 2024-03-06 08:31:44 +01:00
Mateu Griful
eee8207282 [IMP] rma
Improve security
2024-03-06 08:31:44 +01:00