Commit Graph

99 Commits

Author SHA1 Message Date
AaronHForgeFlow
547e4b35b9 [IMP] rma_account: black, isort, prettier 2024-11-27 11:06:05 +05:30
AaronHForgeFlow
9cbe7b6ccf [FIX]rma_account: avoid duplicated field string 2024-11-27 11:06:05 +05:30
AaronHForgeFlow
ae5f0bb731 [FIX]rma_account: inherit account.move.line in one file only 2024-11-27 11:06:05 +05:30
mariadforgeflow
98fdf50159 [IMP] rma_account: change account_move_line_id domain to make search more efficient 2024-11-27 11:06:05 +05:30
Jordi Ballester Alomar
685d690dda [IMP] rma_account: add index in account.move.line to field 'rma_line_id' 2024-11-27 11:06:05 +05:30
DavidJForgeFlow
0c4a850d9f [MIG] rma_account: Migration to 16.0 2024-11-27 11:06:05 +05:30
AaronHForgeFlow
f67dfd51bd [IMP] rma_account: pre-commit, context overridden using dict. Better using kwargs 2024-11-27 11:06:05 +05:30
AaronHForgeFlow
a6a26bcccd [14.0][FIX] rma_account: reconcile GDNI when receiving but refund is expected 2024-11-27 11:06:05 +05:30
Lois Rilo
c3d0af8378 [IMP] rma_account: adapt to changes in supplier rma group form view. 2024-11-27 11:06:05 +05:30
Lois Rilo
3146119c1c [FIX] rma_account: 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-27 11:06:05 +05:30
Jordi Ballester Alomar
5f0a540c5d [IMP] calculate refund unit price 2024-11-27 11:06:05 +05:30
Jordi Ballester Alomar
bcfa5cdc84 [FIX] rma_account: try to auto-reconcile interim account 2024-11-27 11:06:05 +05:30
Jordi Ballester Alomar
8efed1f7b8 [IMP] centralize the logic to get the correct cost of the RMA. 2024-11-27 11:06:05 +05:30
Jordi Ballester Alomar
5b6225b843 [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-27 11:06:05 +05:30
Jordi Ballester Alomar
9f1b57f221 fix pylint 2024-11-27 11:06:05 +05:30
Jordi Ballester Alomar
4fc6458f52 [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-27 11:06:05 +05:30
Juany Davila
37418492ea [IMP] fp-303: add changes from 14.0 2024-11-27 11:06:05 +05:30
Christopher Ormaza
a622c0b8da [FIX] get price unit with all related layers on sale moves 2024-11-27 11:06:05 +05:30
DavidJForgeFlow
492a76459d [15.0][FIX] rma_account: fixup of procurement 2024-11-27 11:06:05 +05:30
Florian da Costa
a427d80a76 [IMP] Make rma order view cleaner for user
Hide button and fields depending on the policy chosen on the rma line
2024-11-27 11:06:05 +05:30
Florian da Costa
81c380af45 Hide smart button when empty 2024-11-27 11:06:05 +05:30
Lois Rilo
14ee002a60 [FIX] rma_account: refund policy not being updated from rma group 2024-11-27 11:06:05 +05:30
AaronHForgeFlow
0fb10d437a [IMP]rma_account: include features from account_move_line_rma_order_line module from 14.0 2024-11-27 11:06:05 +05:30
AaronHForgeFlow
7bfaa21841 [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-27 11:06:05 +05:30
Jordi Ballester
07cce71933 [FIX] rma_account: maintain refund_line_id 2024-11-27 11:06:05 +05:30
Jordi Ballester
f48e298bd8 [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-27 11:06:05 +05:30
AaronHForgeFlow
3e2c0a1f58 [IMP] COPIER UPDATE: black, isort, prettier 2024-11-27 11:06:05 +05:30
AaronHForgeFlow
9a57d1aee5 [14.0][IMP] rma_account: make refund policy editable in approved rmas
* small fix in tests
2024-11-27 11:06:05 +05:30
Jasmin Solanki
42e853f5bb [MIG] rma_account: Migration to 15.0 2024-11-27 11:06:05 +05:30
Jordi Ballester
78559d4d36 [rma_account][imp] make features available to the billing user instead
of accountant
2024-11-27 11:06:05 +05:30
Alvaro
3717ce0f41 [IMP]rma_account: Change permissions to create refunds 2024-11-27 11:06:05 +05:30
Mateu Griful
c1ad0d4f8c Fix Pre-commit Websites 2024-11-27 11:06:05 +05:30
Jordi Ballester
1db239d6a2 [rma_account][imp] allow to change the refund policy even when the rma has been approved. 2024-11-27 11:06:05 +05:30
Jordi Ballester
bb880b9463 [rma_account][imp] do not force the refund invoice number to be the RMA number.
This would cause duplicates in the numbering of journal entries. Was a bad idea in the first place.
2024-11-27 11:06:05 +05:30
Mateu Griful
c0bca848f7 [14.0][FIX] rma_account: change account in credit notes 2024-11-27 11:06:05 +05:30
Mateu Griful
1930b801c9 [IMP] rma_account: add default journal 2024-11-27 11:06:05 +05:30
Lois Rilo
ff1a64586d [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-27 11:06:05 +05:30
Lois Rilo
a79cc7470f [14.0][FIX] rma_account: incorrect "To Refund" filter. 2024-11-27 11:06:05 +05:30
Lois Rilo
b54705e53a [IMP] rma_account: adapt to simplification on rma.line form view. 2024-11-27 11:06:05 +05:30
Mateu Griful
dcc4856030 [MIG] rma_repair: Migration to 14.0 - account fix 2024-11-27 11:06:05 +05:30
MateuGForgeFlow
b57930a540 Update rma_account/views/account_move_view.xml
Co-authored-by: Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
2024-11-27 11:06:05 +05:30
Mateu Griful
4aa4197be7 [MIG] rma_account: Migration to 14.0 2024-11-27 11:06:05 +05:30
Mateu Griful
d85281b2ef [IMP] rma_account: black, isort, prettier 2024-11-27 11:06:05 +05:30
HviorForgeFlow
db5bcd7d03 [IMP] Update pre-commit lints according with OCA ones 2024-11-27 11:06:05 +05:30
ahenriquez
e2244b63bb [FIX]rma_account call new currency convert method 2024-11-27 11:06:05 +05:30
ahenriquez
97f12176ef [FIX]rma_account. currency method. 2024-11-27 11:06:05 +05:30
ahenriquez
4376f2c576 [FIX]rma_account test + adding from existing invoice 2024-11-27 11:06:05 +05:30
ahenriquez
b4e7ad1315 [FIX]rma_account refund creation 2024-11-27 11:06:05 +05:30
ahenriquez
92d9f5f180 [MIG]rma_account to v13 2024-11-27 11:06:05 +05:30
ahenriquez
b4bcd7f11b [UPT]rebranding 2024-11-27 11:06:05 +05:30