Commit Graph

268 Commits

Author SHA1 Message Date
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
Mateu Griful
f7011aa598 [MIG] rma_account: Migration to 14.0 2024-08-08 10:49:38 +02:00
Mateu Griful
d36fc19d29 [IMP] rma_account: black, isort, prettier 2024-08-08 10:49:38 +02:00
HviorForgeFlow
7bd96a89bc [IMP] Update pre-commit lints according with OCA ones 2024-08-08 10:49:38 +02:00
ahenriquez
66819a207c [FIX]rma_account call new currency convert method 2024-08-08 10:49:38 +02:00
ahenriquez
49b20e925e [FIX]rma_account. currency method. 2024-08-08 10:49:38 +02:00
ahenriquez
d3f60bcb35 [FIX]rma_account test + adding from existing invoice 2024-08-08 10:49:38 +02:00
ahenriquez
f6351f6e9e [FIX]rma_account refund creation 2024-08-08 10:49:38 +02:00
ahenriquez
861b369d83 [MIG]rma_account to v13 2024-08-08 10:49:38 +02:00
ahenriquez
b11876a5c3 [UPT]rebranding 2024-08-08 10:49:38 +02:00
ahenriquez
dd52d9d826 [IMP] : black, isort 2024-08-08 10:49:38 +02:00
mreficent
7fec383433 [FIX] default_gets: avoid using shadowname 'fields' 2024-08-08 10:49:38 +02:00
ahenriquez
e7eb86b684 [FIX]remove autoinstall for rma_account, rma_sale and rma_purchase modules 2024-08-08 10:49:38 +02:00
ahenriquez
82c7b5c8e3 [FIX]filter by partner 2024-08-08 10:49:38 +02:00
ahenriquez
5b62944edb [MIG]account_move_line_rma_order_line to v12 2024-08-08 10:49:38 +02:00
ahenriquez
41b41570a2 [FIX]refund policy consistency rma vs operation 2024-08-08 10:49:38 +02:00
Maxime Chambreuil
bee367a7bd [FIX] rma_account: The model rma.refund has no _description 2024-08-08 10:49:38 +02:00
Bhavesh Odedra
c376f6ff26 [SET] Correct website URL for RMA modules 2024-08-08 10:49:38 +02:00
Akim Juillerat
fd90253dd6 Use strings on fields compute to allow inheritance 2024-08-08 10:49:38 +02:00
Akim Juillerat
023c6bfee6 Proxy fields defaults with lambda to allow inheritance 2024-08-08 10:49:38 +02:00
Akim Juillerat
1956e29e97 rma_account: Fix test opening invoice before validating 2024-08-08 10:49:38 +02:00
Akim Juillerat
3781944566 rma_account: Fix res.groups on discount 2024-08-08 10:49:38 +02:00
Akim Juillerat
16f41f6af9 rma_account: Fix uom res.groups 2024-08-08 10:49:38 +02:00
Adrià Gil Sorribes
67faca023b [12.0][MIG] Migrate rma_account module to v12.0 2024-08-08 10:49:38 +02:00