Commit Graph

81 Commits

Author SHA1 Message Date
Lois Rilo
8f1201ea48 [IMP] rma_sale: adapt to changes in supplier rma group form view. 2024-11-28 16:01:12 +05:30
Lois Rilo
235518826a [FIX] rma_sale: Ensure that configuration on the operation is applied
Without this, some policies are not being copied from the
operation selected when creating new rma line from a rma group.

In v16 this patch and the usage of such onchange can be removed
in favor of (pre)computed stored editable fields for all policies
and configuration in the RMA operation.
2024-11-28 16:01:12 +05:30
Jordi Ballester Alomar
c8b5617d0b [IMP] calculate refund unit price 2024-11-28 16:01:12 +05:30
Jordi Ballester Alomar
4190a6913a [IMP] centralize the logic to get the correct cost of the RMA. 2024-11-28 16:01:12 +05:30
Jordi Ballester Alomar
e5f3660c22 [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-11-28 16:01:12 +05:30
Christopher Ormaza
143e8aa848 [FIX] get price unit with all related layers on sale moves 2024-11-28 16:01:12 +05:30
Lois Rilo
9afa00020d [FIX] rma_sale: fix author in manifest
OCA was added in the past by mistake only because a misconfiguration
in the CI forced OCA as a required author.
2024-11-28 16:01:12 +05:30
Jordi Ballester
0483d6e37b [IMP] rma_sale: add hook _post_process_sale_order for better extensibility 2024-11-28 16:01:12 +05:30
Jordi Ballester
52360af3e2 [IMP] rma_sale: introduce new config settings.
- auto_confirm_rma_sale
- free_of_charge_rma_sale
2024-11-28 16:01:12 +05:30
DavidJForgeFlow
cd5e20e584 [15.0][FIX] rma_sale: fixup of procurement 2024-11-28 16:01:12 +05:30
Florian da Costa
f21ea33e71 [IMP] Make rma order view cleaner for user
Hide button and fields depending on the policy chosen on the rma line
2024-11-28 16:01:12 +05:30
Florian da Costa
002cc161f0 Hide smart button when empty 2024-11-28 16:01:12 +05:30
Lois Rilo
de5e3d270e [FIX] rma_sale: sale policy not being updated from rma group 2024-11-28 16:01:12 +05:30
AaronHForgeFlow
6bb78a7f3b [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-11-28 16:01:12 +05:30
Jordi Ballester
5b02be11e6 [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-11-28 16:01:12 +05:30
AaronHForgeFlow
13d7290adb [IMP] COPIER UPDATE: black, isort, prettier 2024-11-28 16:01:12 +05:30
Christopher Ormaza
5321dc6e30 [IMP] rma, rma_sale: added select all, messages for UX 2024-11-28 16:01:12 +05:30
Christopher Ormaza
c33658fe5c [IMP] rma_sale: Added serial/lot selection on wizard to create rma from sale_order 2024-11-28 16:01:12 +05:30
AaronHForgeFlow
ced0d8f448 [14.0][IMP] rma_sale: make sale policy editable in approved RMAs 2024-11-28 16:01:12 +05:30
Jasmin Solanki
c757199387 [MIG] rma_sale: Migration to 15.0 2024-11-28 16:01:12 +05:30
Mateu Griful
d7fd3a8782 Fix Pre-commit Websites 2024-11-28 16:01:12 +05:30
Mateu Griful
634dfda3dd [14.0][FIX] rma_sale: set fiscal position in SO 2024-11-28 16:01:12 +05:30
Lois Rilo
4d63063a30 [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-11-28 16:01:12 +05:30
Lois Rilo
c3d9803241 [IMP] rma_sale: adapt to simplification on rma.line form view. 2024-11-28 16:01:12 +05:30
Mateu Griful
c2319e3c13 [MIG] rma_sale: Migration to 14.0 2024-11-28 16:01:12 +05:30
Mateu Griful
96d7db6257 [MIG] rma_sale: Migration to 14.0 2024-11-28 16:01:12 +05:30
Mateu Griful
6acc798716 [MIG] rma_sale: Migration to 14.0 2024-11-28 16:01:12 +05:30
Mateu Griful
e9d5511029 [IMP] rma_sale: black, isort, prettier 2024-11-28 16:01:12 +05:30
HviorForgeFlow
67e3e5ec8b [IMP] Update pre-commit lints according with OCA ones 2024-11-28 16:01:12 +05:30
ahenriquez
4b80623151 [ENH]rma_sale traceability 2024-11-28 16:01:12 +05:30
ahenriquez
74e7aaefbe [MIG]rma_sale v13 2024-11-28 16:01:12 +05:30
ahenriquez
76fef77e64 [IMP] : black, isort 2024-11-28 16:01:12 +05:30
mreficent
daa6a3dc9a [FIX] default_gets: avoid using shadowname 'fields' 2024-11-28 16:01:12 +05:30
ahenriquez
0da6e4d76c [FIX] rma_sale 2024-11-28 16:01:12 +05:30
ahenriquez
0183e6fedf [FIX]remove autoinstall for rma_account, rma_sale and rma_purchase modules 2024-11-28 16:01:12 +05:30
mreficent
b3faee63c7 [FIX] tests 2024-11-28 16:01:12 +05:30
Bhavesh Odedra
eb0ebfcae0 [SET] Correct website URL for RMA modules 2024-11-28 16:01:12 +05:30
Akim Juillerat
e684a39b3a [MIG] rma_sale: Migration to 12.0 2024-11-28 16:01:12 +05:30
aheficent
ebd7f9b810 [FIX]rma_sale. sale_policy only editable in draft 2024-11-28 16:01:12 +05:30
aheficent
601df0e924 [FIX]currency_id was not filled 2024-11-28 16:01:12 +05:30
aheficent
9e40d40aff [FIX]rma_line view in the sale order line 2024-11-28 16:01:12 +05:30
aheficent
6c8eb8e2a3 [MIG]rma_sale to v11 2024-11-28 16:01:12 +05:30
aaron
7793884c42 [IMP]update module version 2024-11-28 16:01:12 +05:30
aaron
9f6a0883ee [IMP]nicer name_get in sale_order_line 2024-11-28 16:01:12 +05:30
Lois Rilo
dfd1daf760 [9.0] rma_sale: add advanced refund operation 2024-11-28 16:01:12 +05:30
aaron
b4f060987b [IMP]name get when filling form sale order lines 2024-11-28 16:01:12 +05:30
aaron
f1da58d13e [FIX]sale group 2024-11-28 16:01:12 +05:30
aaron
921f01a961 [FIX]when selling use the standard routes not rma ones 2024-11-28 16:01:12 +05:30
Lois Rilo
6f10a322af [9.0] rma: add filters for pending quantities 2024-11-28 16:01:12 +05:30
aaron
5225e16d78 [FIX]rma_sale sale_policy instead of sale_type 2024-11-28 16:01:12 +05:30