Commit Graph

581 Commits

Author SHA1 Message Date
Mateu Griful
4855ec39ff Fix Pre-commit Websites 2023-07-07 17:27:09 +02:00
Lois Rilo
4f3c8918f8 [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.
2023-07-07 17:27:09 +02:00
Lois Rilo
63517ad9a9 Revert "[TEMP] rma_repair: regression upstream."
This reverts commit 6825ce6b90.
The issue has been attended and fixed.
2023-07-07 17:27:09 +02:00
Lois Rilo
5f2f3a494a [IMP] rma_repair: adapt to simplification on rma.line form view. 2023-07-07 17:27:09 +02:00
Lois Rilo
2e6de184d1 [FIX] rma_repair: under_warranty cannot be editable as it is only
editable in draft state in the related RMA, therefore when you
have created a repair order, the field `under_warranty` is not
editable anymore.
2023-07-07 17:27:09 +02:00
Lois Rilo
a6ecaad0a1 [TEMP] rma_repair: regression upstream.
The issue https://github.com/odoo/odoo/issues/68370 is affecting
the test of rma_repair, commenting them while the issue is
attended.
2023-07-07 17:27:09 +02:00
Lois Rilo
791e2f449c [14.0][FIX] rma_repair:
* fix quantity computation
* use a payment_state field instead of inovice state one.
* Use proper digits and unit conversion.
* Add a filter "To repair".
* Remove dead code and clean warnings.
2023-07-07 17:27:09 +02:00
Mateu Griful
61e72f3f6d [MIG] rma_repair: Migration to 14.0 2023-07-07 17:27:09 +02:00
Mateu Griful
1dd1d575fd [MIG] rma_repair: Migration to 14.0 2023-07-07 17:27:09 +02:00
Mateu Griful
2d6a3936e3 [IMP] rma_repair: black, isort, prettier 2023-07-07 17:27:09 +02:00
AaronHForgeFlow
1c5e7d84dc [IMP] black, isort, prettier 2023-07-07 17:27:09 +02:00
ahenriquez
546783eece [UPT]allow to deliver rmas after repair even when not paid 2023-07-07 17:27:09 +02:00
ahenriquez
1cd37a2cca [MIG]rma_repair to v13 2023-07-07 17:27:09 +02:00
ahenriquez
101c485c0e [IMP] : black, isort 2023-07-07 17:27:09 +02:00
ahenriquez
e380478b84 [ENH]qty under repair on rma 2023-07-07 17:27:09 +02:00
mreficent
12e3057056 [FIX] default_gets: avoid using shadowname 'fields' 2023-07-07 17:27:09 +02:00
Aaron Henriquez
633482214f [IMP]delivery_policy based on repair quantities
[IMP]better repair icons
2023-07-07 17:27:09 +02:00
Bhavesh Odedra
ee6fce0536 [SET] Correct website URL for RMA modules 2023-07-07 17:27:09 +02:00
Bhavesh Odedra
f29d42ce0b [FIX] bring Lot/Serial,Delivery Address and Invoicing Address when create a repair order 2023-07-07 17:27:09 +02:00
Akim Juillerat
2a08b55677 [MIG] rma_repair: Migration to 12.0 2023-07-07 17:27:09 +02:00
Adria Gil Sorribes
9e15ab692c [11.0][MIG] rma_repair (#55) 2023-07-07 17:27:09 +02:00
Nikul Chaudhary
2a8623cc89 [IMP] Improved Unit Test Case and Fixed Travis 2023-07-07 17:27:09 +02:00
aheficent
0ade672951 set not ported modules to not installable 2023-07-07 17:27:09 +02:00
lreficent
a1c646bda4 [9.0] add under_warranty field 2023-07-07 17:27:09 +02:00
lreficent
cf710fc09b fix invoice address 2023-07-07 17:27:09 +02:00
lreficent
bf3a201a2a [9.0][REW] rma_repair: adapt 2023-07-07 17:27:09 +02:00
lreficent
5a88e1914d pylint 2023-07-07 17:27:09 +02:00
lreficent
074e9b28ed [9.0][FIX] rma_repair: issue with memory autovacuum. 2023-07-07 17:27:09 +02:00
lreficent
a7c9d16131 [9.0][IMP] rma_repair: change default sequence for repairs. 2023-07-07 17:27:09 +02:00
lreficent
94553dc950 [9.0][FIX] rma_repair 2023-07-07 17:27:09 +02:00
Jordi Ballester
4e2e3a3ec7 add rma_repair 2023-07-07 17:27:09 +02:00
DavidJForgeFlow
5935136bef [MIG] rma_purchase: Migration to 16.0 2023-07-07 17:26:14 +02:00
DavidJForgeFlow
ae20c73adb [IMP] rma_purchase: pre-commit stuff 2023-07-07 17:26:14 +02:00
DavidJForgeFlow
2bd6d7dbe3 [IMP] rma_purchase: button cancel 2023-07-07 17:26:14 +02:00
Lois Rilo
79d9cea701 [IMP] rma_purchase: copy group description to rma lines 2023-07-07 17:26:14 +02:00
Lois Rilo
49e4385c83 [FIX] rma_purchase: 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.
2023-07-07 17:26:14 +02:00
Lois Rilo
392b5f7d46 [FIX] rma_purchase: purchase_line_id filled with wrong model.
"line" is an rma.order.line while purchase_line_id is a relation
to purchase.order.line.
2023-07-07 17:26:14 +02:00
Jordi Ballester Alomar
3ad550c710 [FIX] rma_purchase: Reconcile the interim accounts when vendor bill is posted 2023-07-07 17:26:14 +02:00
Jordi Ballester Alomar
1d171ecb6d [IMP] calculate refund unit price 2023-07-07 17:26:14 +02:00
Jordi Ballester Alomar
3eb7483706 [IMP] centralize the logic to get the correct cost of the RMA. 2023-07-07 17:26:14 +02:00
Jordi Ballester Alomar
c4b906ef35 [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.
2023-07-07 17:26:14 +02:00
Juany Davila
8a9a528ce3 [IMP] fp-303: add changes from 14.0 2023-07-07 17:26:14 +02:00
Lois Rilo
ecbef660a6 [FIX] rma_purchase: 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.
2023-07-07 17:26:14 +02:00
DavidJForgeFlow
73c09a9d7d [15.0][FIX] rma_purchase: fixup of procurement 2023-07-07 17:26:14 +02:00
AaronHForgeFlow
9668ab0478 [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
2023-07-07 17:26:14 +02:00
Jordi Ballester
727d866639 [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.
2023-07-07 17:26:14 +02:00
AaronHForgeFlow
08abb5fb10 [IMP] COPIER UPDATE: black, isort, prettier 2023-07-07 17:26:14 +02:00
Jasmin Solanki
a079475712 [MIG] rma_purchase: Migration to 15.0 2023-07-07 17:26:14 +02:00
Mateu Griful
13de86d9cf Fix Pre-commit Websites 2023-07-07 17:26:14 +02:00
Lois Rilo
5f0652a09d [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.
2023-07-07 17:26:14 +02:00