Commit Graph

82 Commits

Author SHA1 Message Date
DavidJForgeFlow
878e64e614 [IMP] rma: cancel rma_lines 2023-02-20 20:33:06 +01:00
Lois Rilo
25158ec25d [IMP] rma: order by id desc 2023-01-09 17:07:41 +01:00
Lois Rilo
b8c088687e [IMP] rma: add description to rma order and copy it over to new lines 2023-01-09 16:57:10 +01:00
Florian da Costa
b6628e99c2 [FIX] count produced products going to customer as out pickings 2022-12-27 17:32:31 +01:00
Dariusz Kubiak
03778ab272 [12.0][FIX] fix empty parter on rma picking 2022-12-01 10:52:47 +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
Stefan Rijnhart
0acd4e7b4c [IMP] rma: prevent the creation of zero qty moves 2022-07-11 10:04:12 +02:00
Stefan Rijnhart
8a484ed3b9 [FIX] rma: improve check on rule selection during procurement
Fixes #274

Thanks to @florian-dacosta for suggesting this approach.
2022-06-24 12:08:40 +02:00
Stefan Rijnhart
6e6189d093 [FIX] rma: prevent against warehouse mismatch or missing rules
When creating pickings, ensure that the applied stock rule was taken from
the operation's routes. Otherwise, the default procurement rules for a
warehouse may kick in, creating incoming customer goods not from the customer
location but from the resupply warehouse.
2022-06-15 17:35:17 +02:00
DavidFIB
67a9305868 [14.0][FIX/IMP] Make RMA Operation settings company dependent 2022-05-18 17:29:16 +02:00
Andrea
25a80ac77c [13.0][FIX/IMP] Make RMA Operation settings company dependent 2022-05-18 17:28: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
Christopher Ormaza
84853a187e [14.0][FIX] rma: separate stock.move by rma_line_id to fix picking association 2022-03-07 07:57:39 -05:00
Lois Rilo
7c307c8d3d [FIX] rma: do not force reservation on supplier RMA deliveries
* remove code call to unexisting `force_asign`.
* only one model per model file and rename as appropriate.
2022-03-07 07:57:29 -05:00
Christopher Ormaza
3b68e993f0 [FIX] rma: add lot to pickings created from wizard on RMA lines 2022-02-10 13:48:36 +01:00
Christopher Ormaza
75d595a22b [IMP] rma: Added serial/lot selection on from stock move wizard on rma groups
- added restriction to approve rma with product tracking on serial, should be only one to receive
2022-02-10 13:36:49 +01:00
Jordi Ballester
c49191835a [FIX] rma: compute out_shipment_count correctly. Add test cases 2022-02-08 09:02:50 +01:00
Jordi Ballester
402d4b0352 [fix] rma: improve logic to count in and out pickings
In the scenario where we use a 2 or 3 step receipts or pickings
we want to make sure that we correctly count and classify the pickings.
2022-02-03 16:32:07 +01:00
Jordi Ballester
2c3bf512f2 [fix] rma: when using 2 step receipt or delivery, don't count double 2022-02-03 16:31:59 +01:00
AaronHForgeFlow
fd2a1f2cfc [14.0][IMP]rma: make operation editable after approved
* remove also validation error when setting the rma to draft where there are done pickings
2022-01-19 18:50:39 +01:00
Jasmin Solanki
59c8804a9d [MIG] rma: Migration to 15.0 2022-01-07 16:37:59 +05:30
Lois Rilo
1fc3c775aa [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-01-06 15:44:33 +05:30
Raphael Lee
0ec4b39f6b [14.0][FIX] warehouse rma location 2022-01-06 15:44:33 +05:30
Mateu Griful
8381461308 [MIG] rma: Migration to 14.0 - fix 2022-01-06 15:44:33 +05:30
Mateu Griful
87a59a1aad [MIG] rma: Migration to 14.0 - fix 2022-01-06 15:44:33 +05:30
Mateu Griful
bf2c5d00db [MIG] rma: Migration to 14.0 2022-01-06 15:44:33 +05:30
Mateu Griful
a472442913 [IMP] rma: black, isort, prettier 2022-01-06 15:44:33 +05:30
ahenriquez
0f7e73844e [IMP]rma enable invoicing from settings 2022-01-06 15:44:33 +05:30
ahenriquez
3907691d87 [IMP]rma master data menus 2022-01-06 15:44:33 +05:30
hveficent
bab77f8b0e RMA as an APP 2022-01-06 15:44:33 +05:30
ahenriquez
932c5b2416 [MIG] rma: Migration to 13.0 2022-01-06 15:44:33 +05:30
ahenriquez
d1daf2cd52 [IMP] : black, isort 2022-01-06 15:44:33 +05:30
Chafique
ed44748535 [10.0][IMP]add report for rma group 2022-01-06 15:44:33 +05:30
ahenriquez
d4ab1a641b [FIX]UsreError to Validation Error 2022-01-06 15:44:33 +05:30
ahenriquez
6416b73864 [FIX]move constraint from the rma order to the line 2022-01-06 15:44:33 +05:30
ahenriquez
7b13c60d73 [FIX] description on rma models 2022-01-06 15:44:33 +05:30
ahenriquez
e3decce81c [IMP]return qty instead of ordered qty 2022-01-06 15:44:33 +05:30
ahenriquez
9880b8a952 [FIX]supplier lines field description 2022-01-06 15:44:33 +05:30
ahenriquez
5e1dc16b39 [ENH]activate description also fro customer RMAs
[ENH]add term and conditions field to be printed and send to the partner
[FIX]do not show rma groups on the rma line form view if they are not activated
2022-01-06 15:44:33 +05:30
Aaron Henriquez
cdf6d6e763 [FIX]consistency group vs line in the picking count methods 2022-01-06 15:44:33 +05:30
Aaron Henriquez
3a724d117a [FIX]do not copy name when duplicating 2022-01-06 15:44:33 +05:30
Alexandre Fayolle
14c71bd3fe [FIX] wrong company on stock rules
when working with odoobot account, you would get the wrong company_id
on the RMA stock.rules of the warehouse on which you enabled RMA
2022-01-06 15:44:33 +05:30
Alexandre Fayolle
874ccb4eff [FIX] multicompany security
the rma module had company_id fields on rma.order and rma.order.line but not on rma.operation,
and no global multicompany record rules.

-> we fix this and avoid a mess with people allowed to see an operation in the drop down list
but unable to use it because if points to a warehouse of another company
2022-01-06 15:44:33 +05:30
Bhavesh Odedra
2de508047b [FIX] Class typo, ProcurementRule is StockRule in V12.0 2022-01-06 15:44:33 +05:30
Akim Juillerat
7d98c116ab Define default value for required fields 2022-01-06 15:44:33 +05:30
Akim Juillerat
f055dd784d Use strings on fields compute to allow inheritance 2022-01-06 15:44:33 +05:30
Akim Juillerat
fd85d0a759 Proxy fields defaults with lambda to allow inheritance 2022-01-06 15:44:33 +05:30