Commit Graph

74 Commits

Author SHA1 Message Date
Stefan Rijnhart
501418d132 [FIX] rma: improve check on rule selection during procurement
Fixes #274

Thanks to @florian-dacosta for suggesting this approach.
2024-05-06 17:07:50 +02:00
Stefan Rijnhart
faa1959d5e [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.
2024-05-06 17:07:50 +02:00
DavidFIB
71bf52d866 [14.0][FIX/IMP] Make RMA Operation settings company dependent 2024-05-06 17:07:50 +02:00
Andrea
2a3b980dfb [13.0][FIX/IMP] Make RMA Operation settings company dependent 2024-05-06 17:07:50 +02:00
AaronHForgeFlow
c7c6abddf9 [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-05-06 17:07:50 +02:00
Jordi Ballester
ea4922d283 [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-05-06 17:07:50 +02:00
AaronHForgeFlow
f90e6d3096 [IMP] COPIER UPDATE: black, isort, prettier 2024-05-06 17:07:50 +02:00
Christopher Ormaza
807f88a78d [14.0][FIX] rma: separate stock.move by rma_line_id to fix picking association 2024-05-06 17:07:50 +02:00
Lois Rilo
764139d560 [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.
2024-05-06 17:07:50 +02:00
Christopher Ormaza
c83918400d [FIX] rma: add lot to pickings created from wizard on RMA lines 2024-05-06 17:07:50 +02:00
Christopher Ormaza
9845c0f99d [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
2024-05-06 17:07:50 +02:00
Jordi Ballester
9d75d1207b [FIX] rma: compute out_shipment_count correctly. Add test cases 2024-05-06 17:07:50 +02:00
Jordi Ballester
964248f089 [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.
2024-05-06 17:07:50 +02:00
Jordi Ballester
08b55799ef [fix] rma: when using 2 step receipt or delivery, don't count double 2024-05-06 17:07:50 +02:00
AaronHForgeFlow
b2e0663126 [14.0][IMP]rma: make operation editable after approved
* remove also validation error when setting the rma to draft where there are done pickings
2024-05-06 17:07:50 +02:00
Jasmin Solanki
5771e63a55 [MIG] rma: Migration to 15.0 2024-05-06 17:07:50 +02:00
Lois Rilo
27960192f5 [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-05-06 17:07:50 +02:00
Raphael Lee
84b956365a [14.0][FIX] warehouse rma location 2024-05-06 17:07:50 +02:00
Mateu Griful
f6b27598fa [MIG] rma: Migration to 14.0 - fix 2024-05-06 17:07:50 +02:00
Mateu Griful
e069c204d0 [MIG] rma: Migration to 14.0 - fix 2024-05-06 17:07:50 +02:00
Mateu Griful
33fa9b0702 [MIG] rma: Migration to 14.0 2024-05-06 17:07:50 +02:00
Mateu Griful
5819ced3b4 [IMP] rma: black, isort, prettier 2024-05-06 17:07:50 +02:00
ahenriquez
79a4590f79 [IMP]rma enable invoicing from settings 2024-05-06 17:07:50 +02:00
ahenriquez
ebefe29209 [IMP]rma master data menus 2024-05-06 17:07:50 +02:00
hveficent
850c5ddc82 RMA as an APP 2024-05-06 17:07:50 +02:00
ahenriquez
db6a348e40 [MIG] rma: Migration to 13.0 2024-05-06 17:07:50 +02:00
ahenriquez
c4c1a4ea1a [IMP] : black, isort 2024-05-06 17:07:50 +02:00
Chafique
b5674ba51a [10.0][IMP]add report for rma group 2024-05-06 17:07:50 +02:00
ahenriquez
97cc5fa49c [FIX]UsreError to Validation Error 2024-05-06 17:07:50 +02:00
ahenriquez
fb1b991954 [FIX]move constraint from the rma order to the line 2024-05-06 17:07:50 +02:00
ahenriquez
d6c0b79e2c [FIX] description on rma models 2024-05-06 17:07:50 +02:00
ahenriquez
87c7538cb4 [IMP]return qty instead of ordered qty 2024-05-06 17:07:50 +02:00
ahenriquez
491d790361 [FIX]supplier lines field description 2024-05-06 17:07:50 +02:00
ahenriquez
8c026c76e8 [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
2024-05-06 17:07:50 +02:00
Aaron Henriquez
6fac4d360d [FIX]consistency group vs line in the picking count methods 2024-05-06 17:07:50 +02:00
Aaron Henriquez
f05357d2db [FIX]do not copy name when duplicating 2024-05-06 17:07:50 +02:00
Alexandre Fayolle
02665ee51e [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
2024-05-06 17:07:50 +02:00
Alexandre Fayolle
747bcdcbc8 [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
2024-05-06 17:07:50 +02:00
Bhavesh Odedra
a7d5841022 [FIX] Class typo, ProcurementRule is StockRule in V12.0 2024-05-06 17:07:50 +02:00
Akim Juillerat
3d02564b91 Define default value for required fields 2024-05-06 17:07:50 +02:00
Akim Juillerat
678ca66c1e Use strings on fields compute to allow inheritance 2024-05-06 17:07:50 +02:00
Akim Juillerat
c637de985e Proxy fields defaults with lambda to allow inheritance 2024-05-06 17:07:50 +02:00
Beñat Jimenez
7e01c5138c [FIX] qty_delivered is not updated properly 2024-05-06 17:07:50 +02:00
Adrià Gil Sorribes
424c278041 [12.0][MIG] Migrate rma module to v12.0 2024-05-06 17:07:50 +02:00
aaron
72a9bab4a2 [FIX]RMA location company is the warehouse company 2024-05-06 17:07:50 +02:00
aheficent
961023c2a4 [FIX]compute_qty_to_receive 2024-05-06 17:07:50 +02:00
aheficent
1c0f8927ea [MIG]rma v110.0.2.0.0 2024-05-06 17:07:50 +02:00
Bhavesh Odedra
e13df27c2b [FIX] TypeError: unhashable type: 'list' 2024-05-06 17:07:50 +02:00
Bhavesh Odedra
b90c30e253 [IMP] Various improvements 2024-05-06 17:07:50 +02:00
Jordi Ballester
c91d48fd4d multiple fixes 2024-05-06 17:07:50 +02:00