Commit Graph

237 Commits

Author SHA1 Message Date
Lois Rilo
2c303df07d [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.
2024-03-25 09:45:02 +01:00
Lois Rilo
2980c17475 [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.
2024-03-25 09:45:02 +01:00
Jordi Ballester Alomar
0ac2baab0b [FIX] rma_purchase: Reconcile the interim accounts when vendor bill is posted 2024-03-25 09:45:02 +01:00
Jordi Ballester Alomar
57ab7665dd [IMP] calculate refund unit price 2024-03-25 09:45:02 +01:00
Jordi Ballester Alomar
0845ae5463 [IMP] centralize the logic to get the correct cost of the RMA. 2024-03-25 09:45:02 +01:00
Jordi Ballester Alomar
aa38cc3820 [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-03-25 09:45:02 +01:00
Juany Davila
89d0339c78 [IMP] fp-303: add changes from 14.0 2024-03-25 09:45:02 +01:00
Lois Rilo
49d0a8518c [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.
2024-03-25 09:45:02 +01:00
DavidJForgeFlow
4e90cbe71d [15.0][FIX] rma_purchase: fixup of procurement 2024-03-25 09:45:02 +01:00
AaronHForgeFlow
7c6b92f446 [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-03-25 09:45:02 +01:00
Jordi Ballester
4a4f41344c [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-03-25 09:45:02 +01:00
AaronHForgeFlow
5d6b85524c [IMP] COPIER UPDATE: black, isort, prettier 2024-03-25 09:45:02 +01:00
Jasmin Solanki
7598daed56 [MIG] rma_purchase: Migration to 15.0 2024-03-25 09:45:02 +01:00
Mateu Griful
6f5cdf2bac Fix Pre-commit Websites 2024-03-25 09:45:02 +01:00
Lois Rilo
7688679e3a [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-03-25 09:45:02 +01:00
Lois Rilo
74d9e30997 [IMP] rma_purchase: adapt to simplification on rma.line form view. 2024-03-25 09:45:02 +01:00
Mateu Griful
3f347a7d40 [MIG] rma_purchase: Migration to 14.0 2024-03-25 09:45:02 +01:00
Mateu Griful
7df10f74ec [IMP] rma_purchase: black, isort, prettier 2024-03-25 09:45:02 +01:00
mreficent
91480ea663 [FIX] default_gets: avoid using shadowname 'fields' 2024-03-25 09:45:02 +01:00
ahenriquez
e6823499fe [FIX] action returned when creating purchase orders from rma 2024-03-25 09:45:02 +01:00
ahenriquez
650b020599 [FIX]remove autoinstall for rma_account, rma_sale and rma_purchase modules 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
a56c1f3b3b [SET] Correct website URL for RMA modules 2024-03-25 09:45:02 +01:00
Murtuza Saleh
1336e976cb [WIP][MIG][12.0] rma_purchase 2024-03-25 09:45:02 +01:00
aheficent
0d99ca1f45 [FIX]currency_id was not filled 2024-03-25 09:45:02 +01:00
Lois Rilo
924892a777 [9.0][REW] rma_purchase: complete rework of tests 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
bbeb84a7a6 [ENH] make supplier readonly in Create Purchase Order wizard 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
05fadf45ca [ENH] change from customer to supplier domain and lable in Purchase wizard 2024-03-25 09:45:02 +01:00
aheficent
2df912b61f [IMP]include action to see PO generated from the RMA 2024-03-25 09:45:02 +01:00
aheficent
4fdd5732f6 [IMP]create PO from wizard 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
2d52da2c5e [FIX] issue of name_get purchase order line id 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
3e3e1031dd [FIX] flake8 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
35bff8d8ce [RM] ValidationError message if there is no purchase order found 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
ad4bb66f2a [MIG] Purchase policy 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
a2d7f103cc Revert "[IMP] rma_operation"
This reverts commit 044bb2461acdb88e1ef98b1563e5ea7cb354918c.
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
0c640b4604 Revert "[IMP] code"
This reverts commit dfa54dadc9ee5c3946e86b4521474afb764d6710.
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
7c06f5dc11 [IMP] rma_operation 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
81b31069ac [IMP] code 2024-03-25 09:45:02 +01:00
Lois Rilo
eeab2f8114 [9.0] rma_purchase: add purchase_policy
cherry-pick 2100329188e45bf465d43b47c7e45cdb5041bc11
2024-03-25 09:45:02 +01:00
aaron
0bccdb2faa [IMP]name get when filling form purchase order lines
Conflicts:
	rma_purchase/models/purchase_order_line.py
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
95ae05ac46 Revert "[FIX] TypeError: unhashable type: 'list'"
This reverts commit 6443a8147c0cc4839577949ab7444a89a0c81927.
2024-03-25 09:45:02 +01:00
Bhavesh Odedra
b28c52a015 [FIX] TypeError: unhashable type: 'list' 2024-03-25 09:45:02 +01:00
Maxime Chambreuil
542b0fc63a [FIX] Add read access to purchase order and po line 2024-03-25 09:45:02 +01:00
Bhavesh Odedra
56d503defd [11.0] MIG: rma_purchase 2024-03-25 09:45:02 +01:00
Maxime Chambreuil
e23b5116e2 [MIG] Migrate configuration and cleanup 2024-03-25 09:45:02 +01:00
Nikul Chaudhary
51591a060b [MIG] Migrated UT & Fixed Travis 2024-03-25 09:45:02 +01:00
aheficent
2b1d346fd8 [FIX]various fixes 2024-03-25 09:45:02 +01:00
Nikul Chaudhary
41ff082c74 [IMP] Improved Unit Test Case and Fixed Travis 2024-03-25 09:45:02 +01:00
aheficent
9916ea33fd [MIG]rma_purchase v10 2024-03-25 09:45:02 +01:00
lreficent
49d3481052 [9.0][IMP] rma: add link to source SO and PO 2024-03-25 09:45:02 +01:00
lreficent
913215c132 [FIX] allow child partners too 2024-03-25 09:45:02 +01:00