Commit Graph

131 Commits

Author SHA1 Message Date
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
DavidJForgeFlow
9f2df0d29e [FIX]rma: remove test_rma dependency to Account 2022-06-16 12:43:38 +02:00
Jordi Ballester Alomar
7dd2a35626 Merge pull request #266 from 360ERP/15.0
[IMP] Improve multi-company record rules
2022-06-16 09:38:26 +02:00
Cas Vissers
b1d52355fe [IMP] Improve multi-company record rules 2022-06-16 09:30:13 +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
Lois Rilo
730156ab1d [IMP] rma: add rma lines to group selecting serial numbers 2022-05-27 09:18:01 +02:00
Lois Rilo
b974e8d9e1 [IMP] rma: add RMA reference to delivery slip report 2022-05-27 09:14:28 +02:00
Lois Rilo
c12f0f188e [FIX] rma: missing migration scripts and version bump
Those are needed after making some fields company dependent
2022-05-25 18:07:48 +02:00
DavidFIB
b19d81b04b [15.0][FIX/IMP] Make RMA Operation settings company dependent 2022-05-19 14:03:40 +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
Florian da Costa
9981d8a3e5 Add missing fields in rma line editable tree in rma group 2022-05-12 17:02:28 +02:00
Florian da Costa
2bd84fd4a1 [FIX] Remove useless/bad wiz_id field in rma_make_picking.wizard item preparation 2022-05-12 17:02:04 +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
Jasmin Solanki
3f18a8964e [IMP] rma: Fix Route View 2022-02-23 17:33:40 +05:30
Christopher Ormaza
da1b0a4dad [15.0][ADD] Mass action for request approval RMA order line 2022-02-11 11:25:20 -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
9a91869525 [IMP] rma, rma_sale: added select all, messages for UX 2022-02-10 13:37:18 +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
Jordi Ballester
57ad73c4cb [rma][fix] allow to set back to approved a done rma 2022-01-06 15:44:33 +05:30
Mateu Griful
a50456fbe8 Fix Pre-commit Websites 2022-01-06 15:44:33 +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
Lois Rilo
7f855ffc88 [IMP] rma: Do not highlight all action buttons and simplify
rma.line views, supplier view is an extension of customer one.

This makes easier to edit common elements in both views and ease
maintenance.
2022-01-06 15:44:33 +05:30
Lois Rilo
2d79a18384 [FIX] rma: toggle archive button removed in favor of web_ribbon. 2022-01-06 15:44:33 +05:30
MateuGForgeFlow
7d0936617a [14.0][IMP]Fill rma lines in tree (#156)
* [IMP] rma: Fill rma lines in tree
2022-01-06 15:44:33 +05:30
Mateu Griful
0b898e5b1c [MIG] rma_account: Migration to 14.0 2022-01-06 15:44:33 +05:30
Mateu Griful
facb1189a4 [FIX] rma: Create rma supplier action 2022-01-06 15:44:33 +05:30
Mateu Griful
2b0457ad03 [MIG] rma: Migration to 14.0 - fix 2022-01-06 15:44:33 +05:30
Mateu Griful
0d5626fe89 [MIG] rma: Migration to 14.0 - fix 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
7eb74a37fc [IMP] rma
Improve security
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
Bhavesh Odedra
49499f0e8e [FIX] External ID not found in the system: account.res_partner_action_supplier 2022-01-06 15:44:33 +05:30
HviorForgeFlow
6a669f218b [IMP] Update pre-commit lints according with OCA ones 2022-01-06 15:44:33 +05:30
ahenriquez
e095738f4d [FIX]rma report templates group 2022-01-06 15:44:33 +05:30
ahenriquez
a06a53ecef [ENH]rma_sale traceability 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
369734045f [FIX]rma_account refund creation 2022-01-06 15:44:33 +05:30