Commit Graph

471 Commits

Author SHA1 Message Date
Jordi Ballester Alomar
b62d771281 Merge pull request #401 from ForgeFlow/16.0-mig-rma_sale
[16.0][MIG] rma_sale
2023-07-07 18:59:50 +02:00
Jordi Ballester Alomar
16f4632235 Merge pull request #402 from ForgeFlow/16.0-mig-rma_repair
[16.0][MIG] rma_repair
2023-07-07 18:59:29 +02:00
Jordi Ballester Alomar
82f78e5b95 Merge pull request #400 from ForgeFlow/16.0-mig-rma_purchase
[16.0][MIG] rma_purchase
2023-07-07 18:58:58 +02:00
Jordi Ballester Alomar
bace92bdd7 Merge pull request #440 from ForgeFlow/16.0-mig-rma_scrap
[MIG] rma_scrap: Migration to 16.0
2023-07-07 17:29:24 +02:00
DavidJForgeFlow
0e4367d1e1 [MIG] rma_sale: Migration to 16.0 2023-07-07 17:28:37 +02:00
DavidJForgeFlow
6190fcbe64 [IMP] rma_sale: pre-commit stuff 2023-07-07 17:28:37 +02:00
DavidJForgeFlow
37142119dd [IMP] rma_sale: button cancel 2023-07-07 17:28:37 +02:00
AaronHForgeFlow
6b128aab54 [14.0][FIX] rma_sale: compatibility with refunds free of charge 2023-07-07 17:28:37 +02:00
DavidJForgeFlow
b6765b2edd [14.0][FIX] rma_sale: duplicate SO also link rma 2023-07-07 17:28:37 +02:00
DavidJForgeFlow
05891b754a [14.0][FIX] rma_sale: description not passed to SO 2023-07-07 17:28:37 +02:00
Lois Rilo
2d1d87f3f7 [IMP] rma_sale: copy group description to rma lines 2023-07-07 17:28:37 +02:00
Lois Rilo
6485acb737 [IMP] rma_sale: adapt to changes in supplier rma group form view. 2023-07-07 17:28:37 +02:00
Lois Rilo
89c5eb1e18 [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.
2023-07-07 17:28:37 +02:00
Jordi Ballester Alomar
998578ed52 [IMP] calculate refund unit price 2023-07-07 17:28:37 +02:00
Jordi Ballester Alomar
e73f7bc705 [IMP] centralize the logic to get the correct cost of the RMA. 2023-07-07 17:28:37 +02:00
Jordi Ballester Alomar
c4fed05926 [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.
2023-07-07 17:28:37 +02:00
Christopher Ormaza
c93de8e0f8 [FIX] get price unit with all related layers on sale moves 2023-07-07 17:28:37 +02:00
Lois Rilo
4fc10780a7 [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.
2023-07-07 17:28:37 +02:00
Jordi Ballester
09e167df8c [IMP] rma_sale: add hook _post_process_sale_order for better extensibility 2023-07-07 17:28:37 +02:00
Jordi Ballester
b5f0a76108 [IMP] rma_sale: introduce new config settings.
- auto_confirm_rma_sale
- free_of_charge_rma_sale
2023-07-07 17:28:37 +02:00
DavidJForgeFlow
ac59edb89b [15.0][FIX] rma_sale: fixup of procurement 2023-07-07 17:28:37 +02:00
Florian da Costa
b7d8092b61 [IMP] Make rma order view cleaner for user
Hide button and fields depending on the policy chosen on the rma line
2023-07-07 17:28:37 +02:00
Florian da Costa
d8b6f851e8 Hide smart button when empty 2023-07-07 17:28:37 +02:00
Lois Rilo
a9a95299fe [FIX] rma_sale: sale policy not being updated from rma group 2023-07-07 17:28:37 +02:00
AaronHForgeFlow
3405225750 [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
2023-07-07 17:28:37 +02:00
Jordi Ballester
3389bca693 [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.
2023-07-07 17:28:37 +02:00
AaronHForgeFlow
a42553708a [IMP] COPIER UPDATE: black, isort, prettier 2023-07-07 17:28:37 +02:00
Christopher Ormaza
8f4f48ee03 [IMP] rma, rma_sale: added select all, messages for UX 2023-07-07 17:28:37 +02:00
Christopher Ormaza
11c6e33b38 [IMP] rma_sale: Added serial/lot selection on wizard to create rma from sale_order 2023-07-07 17:28:37 +02:00
AaronHForgeFlow
87e78026bc [14.0][IMP] rma_sale: make sale policy editable in approved RMAs 2023-07-07 17:28:37 +02:00
Jasmin Solanki
efdd48d015 [MIG] rma_sale: Migration to 15.0 2023-07-07 17:28:37 +02:00
Mateu Griful
8b26d30145 Fix Pre-commit Websites 2023-07-07 17:28:37 +02:00
Mateu Griful
5593e4d129 [14.0][FIX] rma_sale: set fiscal position in SO 2023-07-07 17:28:37 +02:00
Lois Rilo
607b1978ba [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.
2023-07-07 17:28:37 +02:00
Lois Rilo
f67132c78e [IMP] rma_sale: adapt to simplification on rma.line form view. 2023-07-07 17:28:37 +02:00
Mateu Griful
2d9d31fc6c [MIG] rma_sale: Migration to 14.0 2023-07-07 17:28:37 +02:00
Mateu Griful
3aa0dd35b5 [MIG] rma_sale: Migration to 14.0 2023-07-07 17:28:37 +02:00
Mateu Griful
398636e8f4 [MIG] rma_sale: Migration to 14.0 2023-07-07 17:28:37 +02:00
Mateu Griful
29293229c3 [IMP] rma_sale: black, isort, prettier 2023-07-07 17:28:37 +02:00
HviorForgeFlow
c8725efec1 [IMP] Update pre-commit lints according with OCA ones 2023-07-07 17:28:37 +02:00
ahenriquez
ca0ce4784c [ENH]rma_sale traceability 2023-07-07 17:28:37 +02:00
ahenriquez
20a8ee3bca [MIG]rma_sale v13 2023-07-07 17:28:37 +02:00
ahenriquez
463021b431 [IMP] : black, isort 2023-07-07 17:28:37 +02:00
mreficent
d261f93220 [FIX] default_gets: avoid using shadowname 'fields' 2023-07-07 17:28:37 +02:00
ahenriquez
4ddf6146cd [FIX] rma_sale 2023-07-07 17:28:37 +02:00
ahenriquez
10b4c5454c [FIX]remove autoinstall for rma_account, rma_sale and rma_purchase modules 2023-07-07 17:28:37 +02:00
mreficent
45b6e59e91 [FIX] tests 2023-07-07 17:28:37 +02:00
Bhavesh Odedra
8494f3ecc4 [SET] Correct website URL for RMA modules 2023-07-07 17:28:37 +02:00
Akim Juillerat
f0eae552ba [MIG] rma_sale: Migration to 12.0 2023-07-07 17:28:37 +02:00
aheficent
ab03bb8439 [FIX]rma_sale. sale_policy only editable in draft 2023-07-07 17:28:37 +02:00