Commit Graph

60 Commits

Author SHA1 Message Date
DavidJForgeFlow
667d338451 [IMP] rma_purchase: button cancel 2023-02-20 20:34:25 +01:00
Lois Rilo
c9b7924114 [IMP] rma_purchase: copy group description to rma lines 2023-01-09 16:57:31 +01:00
Lois Rilo
401f93abec [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-01-02 08:50:29 +01:00
Lois Rilo
0ab26cbbe9 [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.
2022-12-27 09:30:45 +01:00
Jordi Ballester Alomar
e15fd8cc83 [FIX] rma_purchase: Reconcile the interim accounts when vendor bill is posted 2022-11-29 14:25:19 +01:00
Jordi Ballester Alomar
b1ffe8d9d8 [IMP] calculate refund unit price 2022-11-29 13:56:53 +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
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
Lois Rilo
da93237b46 [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.
2022-11-07 13:37:00 +01:00
DavidJForgeFlow
5265d09f34 [15.0][FIX] rma_purchase: fixup of procurement 2022-07-11 10:16:50 +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
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
Jasmin Solanki
c20c648de9 [MIG] rma_purchase: Migration to 15.0 2022-02-10 15:42:49 +01:00
Mateu Griful
85b1f56e10 Fix Pre-commit Websites 2022-02-10 15:42:49 +01:00
Lois Rilo
5100b8e9e1 [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-02-10 15:42:49 +01:00
Lois Rilo
6ff949bfb0 [IMP] rma_purchase: adapt to simplification on rma.line form view. 2022-02-10 15:42:49 +01:00
Mateu Griful
3336d4f067 [MIG] rma_purchase: Migration to 14.0 2022-02-10 15:42:49 +01:00
Mateu Griful
545234d2fa [IMP] rma_purchase: black, isort, prettier 2022-02-10 15:42:07 +01:00
mreficent
71aa2c314b [FIX] default_gets: avoid using shadowname 'fields' 2022-02-10 15:42:07 +01:00
ahenriquez
8e960f9f74 [FIX] action returned when creating purchase orders from rma 2022-02-10 15:42:06 +01:00
ahenriquez
c7d963acfb [FIX]remove autoinstall for rma_account, rma_sale and rma_purchase modules 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
0386422e3d [SET] Correct website URL for RMA modules 2022-02-10 15:42:06 +01:00
Murtuza Saleh
f9a6fc3ed8 [WIP][MIG][12.0] rma_purchase 2022-02-10 15:42:06 +01:00
aheficent
a858b5a1a8 [FIX]currency_id was not filled 2022-02-10 15:42:06 +01:00
Lois Rilo
e3c33c0ed5 [9.0][REW] rma_purchase: complete rework of tests 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
7433e1c2b6 [ENH] make supplier readonly in Create Purchase Order wizard 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
ada3fa1951 [ENH] change from customer to supplier domain and lable in Purchase wizard 2022-02-10 15:42:06 +01:00
aheficent
1d54f88c25 [IMP]include action to see PO generated from the RMA 2022-02-10 15:42:06 +01:00
aheficent
0de5f7620c [IMP]create PO from wizard 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
404e701dbb [FIX] issue of name_get purchase order line id 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
8d8a3a5787 [FIX] flake8 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
6e8659229a [RM] ValidationError message if there is no purchase order found 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
92946ccf93 [MIG] Purchase policy 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
053ca103a2 Revert "[IMP] rma_operation"
This reverts commit 044bb2461acdb88e1ef98b1563e5ea7cb354918c.
2022-02-10 15:42:06 +01:00
Bhavesh Odedra
6c6c91e9ce Revert "[IMP] code"
This reverts commit dfa54dadc9ee5c3946e86b4521474afb764d6710.
2022-02-10 15:42:06 +01:00
Bhavesh Odedra
3daae10d6d [IMP] rma_operation 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
6370912306 [IMP] code 2022-02-10 15:42:06 +01:00
Lois Rilo
6a40016223 [9.0] rma_purchase: add purchase_policy
cherry-pick 2100329188e45bf465d43b47c7e45cdb5041bc11
2022-02-10 15:42:06 +01:00
aaron
43b0db49fc [IMP]name get when filling form purchase order lines
Conflicts:
	rma_purchase/models/purchase_order_line.py
2022-02-10 15:42:06 +01:00
Bhavesh Odedra
2c0fdcc73a Revert "[FIX] TypeError: unhashable type: 'list'"
This reverts commit 6443a8147c0cc4839577949ab7444a89a0c81927.
2022-02-10 15:42:06 +01:00
Bhavesh Odedra
3457e785b6 [FIX] TypeError: unhashable type: 'list' 2022-02-10 15:42:06 +01:00
Maxime Chambreuil
0d2c46bba6 [FIX] Add read access to purchase order and po line 2022-02-10 15:42:06 +01:00
Bhavesh Odedra
2e26f9496b [11.0] MIG: rma_purchase 2022-02-10 15:42:06 +01:00
Maxime Chambreuil
dfe2472cde [MIG] Migrate configuration and cleanup 2022-02-10 15:42:06 +01:00
Nikul Chaudhary
2ae7858778 [MIG] Migrated UT & Fixed Travis 2022-02-10 15:42:06 +01:00
aheficent
09dc69763b [FIX]various fixes 2022-02-10 15:42:06 +01:00
Nikul Chaudhary
220fc76a0b [IMP] Improved Unit Test Case and Fixed Travis 2022-02-10 15:42:06 +01:00
aheficent
ed30ab3143 [MIG]rma_purchase v10 2022-02-10 15:42:06 +01:00