Commit Graph

342 Commits

Author SHA1 Message Date
Jordi Ballester Alomar
82f78e5b95 Merge pull request #400 from ForgeFlow/16.0-mig-rma_purchase
[16.0][MIG] rma_purchase
2023-07-07 18:58:58 +02:00
Jordi Ballester Alomar
bace92bdd7 Merge pull request #440 from ForgeFlow/16.0-mig-rma_scrap
[MIG] rma_scrap: Migration to 16.0
2023-07-07 17:29:24 +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
Lois Rilo
7892cab9e8 [IMP] rma_purchase: adapt to simplification on rma.line form view. 2023-07-07 17:26:14 +02:00
Mateu Griful
1cb2277c5e [MIG] rma_purchase: Migration to 14.0 2023-07-07 17:26:14 +02:00
Mateu Griful
5e0d08aa5b [IMP] rma_purchase: black, isort, prettier 2023-07-07 17:26:14 +02:00
mreficent
c7a9316efd [FIX] default_gets: avoid using shadowname 'fields' 2023-07-07 17:26:14 +02:00
ahenriquez
d79409e9b3 [FIX] action returned when creating purchase orders from rma 2023-07-07 17:26:14 +02:00
ahenriquez
cf283cccb2 [FIX]remove autoinstall for rma_account, rma_sale and rma_purchase modules 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
d6ec80d3bd [SET] Correct website URL for RMA modules 2023-07-07 17:26:14 +02:00
Murtuza Saleh
705595d993 [WIP][MIG][12.0] rma_purchase 2023-07-07 17:26:14 +02:00
aheficent
a18de08781 [FIX]currency_id was not filled 2023-07-07 17:26:14 +02:00
Lois Rilo
21d66ebd09 [9.0][REW] rma_purchase: complete rework of tests 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
56b72e1106 [ENH] make supplier readonly in Create Purchase Order wizard 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
b6f10478c8 [ENH] change from customer to supplier domain and lable in Purchase wizard 2023-07-07 17:26:14 +02:00
aheficent
4e5bc3852d [IMP]include action to see PO generated from the RMA 2023-07-07 17:26:14 +02:00
aheficent
14dcc138b1 [IMP]create PO from wizard 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
77bc9db3cb [FIX] issue of name_get purchase order line id 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
5d7064bef0 [FIX] flake8 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
6fd4824b51 [RM] ValidationError message if there is no purchase order found 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
947b5ff52a [MIG] Purchase policy 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
33d4316297 Revert "[IMP] rma_operation"
This reverts commit 044bb2461acdb88e1ef98b1563e5ea7cb354918c.
2023-07-07 17:26:14 +02:00
Bhavesh Odedra
df97cee827 Revert "[IMP] code"
This reverts commit dfa54dadc9ee5c3946e86b4521474afb764d6710.
2023-07-07 17:26:14 +02:00
Bhavesh Odedra
78a65f0d8e [IMP] rma_operation 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
30136260a6 [IMP] code 2023-07-07 17:26:14 +02:00
Lois Rilo
80104557a1 [9.0] rma_purchase: add purchase_policy
cherry-pick 2100329188e45bf465d43b47c7e45cdb5041bc11
2023-07-07 17:26:14 +02:00
aaron
0d1eba7631 [IMP]name get when filling form purchase order lines
Conflicts:
	rma_purchase/models/purchase_order_line.py
2023-07-07 17:26:14 +02:00
Bhavesh Odedra
a0eaeca718 Revert "[FIX] TypeError: unhashable type: 'list'"
This reverts commit 6443a8147c0cc4839577949ab7444a89a0c81927.
2023-07-07 17:26:14 +02:00
Bhavesh Odedra
0bd6280db8 [FIX] TypeError: unhashable type: 'list' 2023-07-07 17:26:14 +02:00
Maxime Chambreuil
9be02aae77 [FIX] Add read access to purchase order and po line 2023-07-07 17:26:14 +02:00
Bhavesh Odedra
b263c6a049 [11.0] MIG: rma_purchase 2023-07-07 17:26:14 +02:00
Maxime Chambreuil
0283632de7 [MIG] Migrate configuration and cleanup 2023-07-07 17:26:14 +02:00