Commit Graph

89 Commits

Author SHA1 Message Date
Jordi Ballester Alomar
b1ffe8d9d8 [IMP] calculate refund unit price 2022-11-29 13:56:53 +01:00
Jordi Ballester Alomar
b17fefd65d [FIX] rma_account: try to auto-reconcile interim account 2022-11-27 19:03:52 +01:00
Jordi Ballester Alomar
22c779da22 [IMP] centralize the logic to get the correct cost of the RMA. 2022-11-24 21:14:52 +01:00
Jordi Ballester Alomar
95b1d179a2 [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.
2022-11-24 21:01:00 +01:00
Jordi Ballester Alomar
59a94da9bc fix pylint 2022-11-24 19:05:42 +01:00
Jordi Ballester Alomar
623b22c091 [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.
2022-11-24 18:57:04 +01:00
Juany Davila
c3ca8a1ccc [IMP] fp-303: add changes from 14.0 2022-11-08 13:17:02 -05:00
Christopher Ormaza
7e8c0a15e1 [FIX] get price unit with all related layers on sale moves 2022-11-07 10:29:55 -05:00
Jordi Ballester Alomar
3626075960 Merge pull request #292 from ForgeFlow/15.0-fp-264
[15.0][IMP] rma: prevent the creation of zero qty moves
2022-07-26 18:29:24 +02:00
Lois Rilo
877f82df10 Merge pull request #285 from akretion/15-fwd-rma-line-simple-view
[15.0][IMP] Make rma order view cleaner for user
2022-07-15 11:39:35 +02:00
DavidJForgeFlow
eea2b211a1 [15.0][FIX] rma_account: fixup of procurement 2022-07-11 10:14:19 +02:00
Florian da Costa
9ce5e22e97 [IMP] Make rma order view cleaner for user
Hide button and fields depending on the policy chosen on the rma line
2022-07-01 13:53:14 +02:00
Florian da Costa
71bc459033 Hide smart button when empty 2022-06-29 12:29:09 +02:00
Lois Rilo
7f9ad9f0a7 Merge pull request #252 from ForgeFlow/15.0-fp-251
[15.0][FIX] policies not being updated from RMA group
2022-05-13 13:14:10 +02:00
Lois Rilo
3c716d9eee [FIX] rma_account: refund policy not being updated from rma group 2022-05-13 13:05:45 +02:00
AaronHForgeFlow
222262add0 [IMP]rma_account: include features from account_move_line_rma_order_line module from 14.0 2022-05-13 13:05:25 +02:00
AaronHForgeFlow
99c65d9b2e [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
2022-05-13 10:49:32 +02:00
Jordi Ballester
72eca30681 [FIX] rma_account: maintain refund_line_id 2022-05-13 10:49:32 +02:00
Jordi Ballester
8ec2bde6e5 [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.
2022-05-13 10:49:32 +02:00
AaronHForgeFlow
b39efac5db [IMP] COPIER UPDATE: black, isort, prettier 2022-04-25 09:09:12 +02:00
AaronHForgeFlow
8e18312b66 [14.0][IMP] rma_account: make refund policy editable in approved rmas
* small fix in tests
2022-01-21 11:01:50 +01:00
Jasmin Solanki
40da8c413b [MIG] rma_account: Migration to 15.0 2022-01-21 11:01:50 +01:00
Jordi Ballester
1feca53bf2 [rma_account][imp] make features available to the billing user instead
of accountant
2022-01-21 11:01:50 +01:00
Alvaro
b56245188b [IMP]rma_account: Change permissions to create refunds 2022-01-21 11:01:50 +01:00
Mateu Griful
983e060c17 Fix Pre-commit Websites 2022-01-21 11:01:50 +01:00
Jordi Ballester
467dd5ad9b [rma_account][imp] allow to change the refund policy even when the rma has been approved. 2022-01-21 11:01:50 +01:00
Jordi Ballester
19092316ff [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.
2022-01-21 11:01:50 +01:00
Mateu Griful
42ff958ace [14.0][FIX] rma_account: change account in credit notes 2022-01-21 11:01:50 +01:00
Mateu Griful
c3e4cbb769 [IMP] rma_account: add default journal 2022-01-21 11:01:50 +01:00
Lois Rilo
9838954f73 [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.
2022-01-21 11:01:50 +01:00
Lois Rilo
03763a2755 [14.0][FIX] rma_account: incorrect "To Refund" filter. 2022-01-21 11:01:50 +01:00
Lois Rilo
d3d94c0551 [IMP] rma_account: adapt to simplification on rma.line form view. 2022-01-21 11:01:50 +01:00
Mateu Griful
5b226cc8db [MIG] rma_repair: Migration to 14.0 - account fix 2022-01-21 11:01:50 +01:00
MateuGForgeFlow
dd3c74291d Update rma_account/views/account_move_view.xml
Co-authored-by: Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
2022-01-21 11:01:50 +01:00
Mateu Griful
890a3e353f [MIG] rma_account: Migration to 14.0 2022-01-21 11:01:50 +01:00
Mateu Griful
e1e46a959e [IMP] rma_account: black, isort, prettier 2022-01-21 11:01:50 +01:00
HviorForgeFlow
9e3a8d3729 [IMP] Update pre-commit lints according with OCA ones 2022-01-21 11:01:50 +01:00
ahenriquez
cc2e036955 [FIX]rma_account call new currency convert method 2022-01-21 11:01:50 +01:00
ahenriquez
71d977fe24 [FIX]rma_account. currency method. 2022-01-21 11:01:50 +01:00
ahenriquez
6eeeacbf57 [FIX]rma_account test + adding from existing invoice 2022-01-21 11:01:50 +01:00
ahenriquez
8297040460 [FIX]rma_account refund creation 2022-01-21 11:01:50 +01:00
ahenriquez
c1daf15ab3 [MIG]rma_account to v13 2022-01-21 11:01:49 +01:00
ahenriquez
d54f0f4779 [UPT]rebranding 2022-01-21 11:01:49 +01:00
ahenriquez
c57eef7ba6 [IMP] : black, isort 2022-01-21 11:01:49 +01:00
mreficent
4e47ae2fd3 [FIX] default_gets: avoid using shadowname 'fields' 2022-01-21 11:01:49 +01:00
ahenriquez
124d3182cb [FIX]remove autoinstall for rma_account, rma_sale and rma_purchase modules 2022-01-21 11:01:49 +01:00
ahenriquez
9fd4f278b0 [FIX]filter by partner 2022-01-21 11:01:49 +01:00
ahenriquez
46bc50598f [MIG]account_move_line_rma_order_line to v12 2022-01-21 11:01:49 +01:00
ahenriquez
0fa3ae3fe1 [FIX]refund policy consistency rma vs operation 2022-01-21 11:01:49 +01:00
Maxime Chambreuil
572d853533 [FIX] rma_account: The model rma.refund has no _description 2022-01-21 11:01:49 +01:00