Commit Graph

291 Commits

Author SHA1 Message Date
Jordi Ballester Alomar
4e8c7a6350 [FIX] rma_scrap: various fixes 2024-08-22 17:14:04 +02:00
DavidJForgeFlow
72d5a21b13 [14.0][ADD] rma_scrap 2024-08-22 17:14:04 +02:00
Aaron ForgeFlow
62a51f1552 Merge pull request #513 from ForgeFlow/17_nc_mig_rma_account
[17.0] [MIG] rma_account
2024-08-22 14:26:21 +02:00
AlexPForgeFlow
d0b9d3801d [16.0][IMP] rma_account & rma_sale: fix delivery and invoice addresses 2024-08-21 17:10:05 +02:00
AlexPForgeFlow
b832d4f772 [16.0][IMP] rma_account: consider rma delivery address when creating a refund 2024-08-21 17:09:28 +02:00
AlexPForgeFlow
fcb2f8315a [16.0][FIX] rma_account: fiscal_position_id is a computed field
In v16, fiscal_position_id is a computed field, so if we set up the field in the refund creation we are overriding the computed value
2024-08-21 17:09:20 +02:00
AaronHForgeFlow
03cd0b318b [FIX] rma_account: default refund journal should respect rma line company 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
a6ca011536 [FIX] rma_account: name search not getting invoice line
when typing the complete invoice name
2024-08-08 10:49:38 +02:00
Nikul-OSI
3ad95dbcc0 [MIG] rma_account: Migration to v17 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
689f067163 [IMP] rma_account: black, isort, prettier 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
04fbc88155 [FIX]rma_account: avoid duplicated field string 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
c64b682afa [FIX]rma_account: inherit account.move.line in one file only 2024-08-08 10:49:38 +02:00
mariadforgeflow
59397956f3 [IMP] rma_account: change account_move_line_id domain to make search more efficient 2024-08-08 10:49:38 +02:00
Jordi Ballester Alomar
c218a8bca8 [IMP] rma_account: add index in account.move.line to field 'rma_line_id' 2024-08-08 10:49:38 +02:00
DavidJForgeFlow
8c33885fbc [MIG] rma_account: Migration to 16.0 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
be491e68d8 [IMP] rma_account: pre-commit, context overridden using dict. Better using kwargs 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
45f5fe0047 [14.0][FIX] rma_account: reconcile GDNI when receiving but refund is expected 2024-08-08 10:49:38 +02:00
Lois Rilo
f6b203f37d [IMP] rma_account: adapt to changes in supplier rma group form view. 2024-08-08 10:49:38 +02:00
Lois Rilo
8810efb7e9 [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-08-08 10:49:38 +02:00
Jordi Ballester Alomar
700f99428d [IMP] calculate refund unit price 2024-08-08 10:49:38 +02:00
Jordi Ballester Alomar
c54baed40c [FIX] rma_account: try to auto-reconcile interim account 2024-08-08 10:49:38 +02:00
Jordi Ballester Alomar
11cdd4a9e8 [IMP] centralize the logic to get the correct cost of the RMA. 2024-08-08 10:49:38 +02:00
Jordi Ballester Alomar
6a1ed17a69 [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-08-08 10:49:38 +02:00
Jordi Ballester Alomar
b4ae4e6d41 fix pylint 2024-08-08 10:49:38 +02:00
Jordi Ballester Alomar
7bbdc44f77 [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-08-08 10:49:38 +02:00
Juany Davila
b301a63a39 [IMP] fp-303: add changes from 14.0 2024-08-08 10:49:38 +02:00
Christopher Ormaza
d78e4db3e0 [FIX] get price unit with all related layers on sale moves 2024-08-08 10:49:38 +02:00
DavidJForgeFlow
2e9672f96e [15.0][FIX] rma_account: fixup of procurement 2024-08-08 10:49:38 +02:00
Florian da Costa
eca8bea60a [IMP] Make rma order view cleaner for user
Hide button and fields depending on the policy chosen on the rma line
2024-08-08 10:49:38 +02:00
Florian da Costa
f4a7817dbe Hide smart button when empty 2024-08-08 10:49:38 +02:00
Lois Rilo
6654e32c50 [FIX] rma_account: refund policy not being updated from rma group 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
1f96d88cf8 [IMP]rma_account: include features from account_move_line_rma_order_line module from 14.0 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
facfb3b291 [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-08-08 10:49:38 +02:00
Jordi Ballester
2ad09daac4 [FIX] rma_account: maintain refund_line_id 2024-08-08 10:49:38 +02:00
Jordi Ballester
df10d36521 [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-08-08 10:49:38 +02:00
AaronHForgeFlow
cd682db01c [IMP] COPIER UPDATE: black, isort, prettier 2024-08-08 10:49:38 +02:00
AaronHForgeFlow
c030cb17ef [14.0][IMP] rma_account: make refund policy editable in approved rmas
* small fix in tests
2024-08-08 10:49:38 +02:00
Jasmin Solanki
af0f6e9106 [MIG] rma_account: Migration to 15.0 2024-08-08 10:49:38 +02:00
Jordi Ballester
50c2289c5d [rma_account][imp] make features available to the billing user instead
of accountant
2024-08-08 10:49:38 +02:00
Alvaro
5b48560974 [IMP]rma_account: Change permissions to create refunds 2024-08-08 10:49:38 +02:00
Mateu Griful
2186e18291 Fix Pre-commit Websites 2024-08-08 10:49:38 +02:00
Jordi Ballester
e5a0957201 [rma_account][imp] allow to change the refund policy even when the rma has been approved. 2024-08-08 10:49:38 +02:00
Jordi Ballester
43137981de [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-08-08 10:49:38 +02:00
Mateu Griful
4346a017a4 [14.0][FIX] rma_account: change account in credit notes 2024-08-08 10:49:38 +02:00
Mateu Griful
dc0d0921a0 [IMP] rma_account: add default journal 2024-08-08 10:49:38 +02:00
Lois Rilo
dd7d6651dc [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-08-08 10:49:38 +02:00
Lois Rilo
ef44ae7a09 [14.0][FIX] rma_account: incorrect "To Refund" filter. 2024-08-08 10:49:38 +02:00
Lois Rilo
7beb5cb5b9 [IMP] rma_account: adapt to simplification on rma.line form view. 2024-08-08 10:49:38 +02:00
Mateu Griful
93ba3fbe43 [MIG] rma_repair: Migration to 14.0 - account fix 2024-08-08 10:49:38 +02:00
MateuGForgeFlow
198d475a7a Update rma_account/views/account_move_view.xml
Co-authored-by: Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
2024-08-08 10:49:38 +02:00