Commit Graph

98 Commits

Author SHA1 Message Date
JasminSForgeFlow
924e565542 [MIG] rma_sale: Migration to 18.0 2024-11-28 18:05:37 +05:30
Florian da Costa
74fbce6f13 [REF] rename back method _prepare_rma_line to _prepare_rma_line_from_sale_order_line 2024-11-28 16:01:12 +05:30
Florian da Costa
cb04464000 [IMP] rma_sale : Always create rma line from sale line using stock move lines by default
This allow to manage phantom bom products, by creating rma lines for the components instead of the kit if the option is activated.
2024-11-28 16:01:12 +05:30
AaronHForgeFlow
494c555b70 [FIX] rma_sale: name_search migration
& convert name_get to compute_diplay_name
2024-11-28 16:01:12 +05:30
Carlos Vallés Fuster
6d5abdde93 [MIG] rma_sale: Migration to v17 2024-11-28 16:01:12 +05:30
AaronHForgeFlow
7a823ab020 [IMP] rma_sale: black, isort, prettier 2024-11-28 16:01:12 +05:30
Florian da Costa
f0bf47a832 [IMP] rma_sale : Add hook to make sale line display name overridable by submodules 2024-11-28 16:01:12 +05:30
manu
bcf9de6573 [FIX]rma_sale: Error when cancelling rma.order.line without sale order lines 2024-11-28 16:01:12 +05:30
ChrisOForgeFlow
c4f94678ea [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
2024-11-28 16:01:12 +05:30
Florian da Costa
a1d05720ee [FIX] takes invoice and delivery address when creating a rma from a sale order 2024-11-28 16:01:12 +05:30
DavidJForgeFlow
8a758a67ff [MIG] rma_sale: Migration to 16.0 2024-11-28 16:01:12 +05:30
DavidJForgeFlow
594b5e49ba [IMP] rma_sale: pre-commit stuff 2024-11-28 16:01:12 +05:30
DavidJForgeFlow
f560f32957 [IMP] rma_sale: button cancel 2024-11-28 16:01:12 +05:30
AaronHForgeFlow
3807cd329f [14.0][FIX] rma_sale: compatibility with refunds free of charge 2024-11-28 16:01:12 +05:30
DavidJForgeFlow
9f100b2a03 [14.0][FIX] rma_sale: duplicate SO also link rma 2024-11-28 16:01:12 +05:30
DavidJForgeFlow
bdd8d7741e [14.0][FIX] rma_sale: description not passed to SO 2024-11-28 16:01:12 +05:30
Lois Rilo
5c8dd47a19 [IMP] rma_sale: copy group description to rma lines 2024-11-28 16:01:12 +05:30
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