Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] RMA #558

Open
wants to merge 200 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
5273097
init branch
JordiBForgeFlow Jul 27, 2017
393bcfd
[9.0] rma: remove rma.rule and add that setting to product.category
LoisRForgeFlow Aug 2, 2017
1c15103
[9.0][FIX] rma:
LoisRForgeFlow Aug 2, 2017
72e1b25
[IMP] default operation in product and product_categ for customer and…
AaronHForgeFlow Aug 16, 2017
103d47e
[9.0][FIX]
LoisRForgeFlow Aug 24, 2017
880aa88
[9.0][IMP] rma_account:
LoisRForgeFlow Aug 25, 2017
3f86c72
[9.0][IMP] rma_purchase:
LoisRForgeFlow Aug 25, 2017
7a1e822
[9.0][REW] rma: workflow centralized on rma.order.line and the use of…
LoisRForgeFlow Oct 18, 2017
4436dad
[9.0][IMP] rma: add constrains
LoisRForgeFlow Oct 19, 2017
4c6a237
[9.0][FIX] rma: wizard
LoisRForgeFlow Oct 19, 2017
34989ff
fix rma
LoisRForgeFlow Oct 19, 2017
b7e21d6
[9.0][IMP] rma: add button to rma's from customers
LoisRForgeFlow Oct 23, 2017
391f135
add partner constrain
LoisRForgeFlow Oct 23, 2017
a0b9a4e
[9.0] add under_warranty field
LoisRForgeFlow Oct 25, 2017
aaffbe4
[9.0][FIX] rma: create supplier rma wizard
LoisRForgeFlow Nov 9, 2017
1797d4a
[MIG]rma v10
AaronHForgeFlow Dec 19, 2017
e4e93a0
[FIX]view
AaronHForgeFlow Dec 21, 2017
adb0a6d
[IMP] Improved Unit Test Case and Fixed Travis
nikul-serpentcs Nov 10, 2017
1210b9a
[FIX]various fixes
AaronHForgeFlow Jan 2, 2018
1b7398b
[FIX]error in compute method
AaronHForgeFlow Jan 8, 2018
f9a7323
[MIG] Migrated UT & Fixed Travis
nikul-serpentcs Jan 5, 2018
ac3b7db
[IMP] Improved Code.
nikul-serpentcs Jan 9, 2018
fcd4d3e
[MIG]rma_operating_unit to v10
AaronHForgeFlow Jan 9, 2018
2d902c9
[FIX]moved_qty uses moves not procurements
AaronHForgeFlow Jan 22, 2018
0f406e3
[FIX]compute qty when stock moves but not procurements
AaronHForgeFlow Jan 26, 2018
2270527
[11.0] MIG: RMA module
Feb 9, 2018
67d5f57
[FIX] Permissions and remove (en)coding
max3903 Feb 9, 2018
1f4e47e
[MIG] Migrate configuration and cleanup
max3903 Feb 9, 2018
5d17764
[FIX] Errors from tests
max3903 Feb 9, 2018
1fb878d
multiple fixes
JordiBForgeFlow Feb 14, 2018
90e2c2d
[IMP] Various improvements
Feb 14, 2018
79c237f
[FIX] Cannot create partner
max3903 Jun 25, 2018
ea88cfd
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
c8c5b97
[FIX] Access rights with group deps
max3903 Jun 27, 2018
7ba5a63
[FIX] TypeError: unhashable type: 'list'
Jul 19, 2018
2ec890c
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
f5742c3
[FIX] Access rights with group deps
max3903 Jun 27, 2018
4858f20
[MIG]rma v110.0.2.0.0
AaronHForgeFlow Jul 26, 2018
d68d4bf
[9.0][IMP] rma: configuring rma for a warehouse from the wh form view
LoisRForgeFlow Aug 3, 2018
4625003
[9.0][IMP] rma: tests moved to Savedpointcase and optimized (66% time…
LoisRForgeFlow May 14, 2018
caf398c
[FIX]views rma
AaronHForgeFlow Jul 30, 2018
3bfb143
[FIX]compute_qty_to_receive
AaronHForgeFlow Jul 30, 2018
40e7d29
[FIX]rma test
AaronHForgeFlow Jul 30, 2018
1ee7eed
[IMP]product first on view then select document according to product
AaronHForgeFlow Aug 3, 2018
769e995
[IMP] add group to manage rma groups
AaronHForgeFlow Aug 3, 2018
81349a2
[FIX]RMA location company is the warehouse company
AaronHForgeFlow May 24, 2018
5625e0d
[IMP]add icon. Courtesy lreficent.
AaronHForgeFlow Aug 24, 2018
bec46bf
[FIX]text on create supplier rma button
AaronHForgeFlow Oct 4, 2018
087f04e
[IMP]add rma line report
AaronHForgeFlow May 25, 2018
c26fdf6
[UPT]report usable in v11
AaronHForgeFlow Oct 4, 2018
d3eb9da
[12.0][MIG] Migrate rma module to v12.0
AdriaGForgeFlow Nov 19, 2018
0304ad9
[12.0][FIX] Fix search view in rma module
AdriaGForgeFlow Dec 3, 2018
276d213
[FIX] qty_delivered is not updated properly
bjeficent Feb 14, 2019
8ffeee4
rma: Fix stock_location res.groups
grindtildeath Mar 12, 2019
ebef513
Proxy fields defaults with lambda to allow inheritance
grindtildeath Mar 18, 2019
3f72b80
Use strings on fields compute to allow inheritance
grindtildeath Mar 18, 2019
df4d988
Define default value for required fields
grindtildeath Mar 18, 2019
ce27f13
[FIX] Remove picking_id from default_get as model does not define it
grindtildeath Apr 10, 2019
5866d71
[SET] Correct website URL for RMA modules
May 24, 2019
5431799
[FIX] Class typo, ProcurementRule is StockRule in V12.0
Jun 5, 2019
8a85c72
[FIX] multicompany security
gurneyalex Jun 18, 2019
efbd44b
[IMP] rma operation form view
gurneyalex Jun 21, 2019
6d5d1f0
[FIX] wrong company on stock rules
gurneyalex Jun 21, 2019
25d776f
make the RMA routes shared in multicompany by default
gurneyalex Jun 21, 2019
0713f9d
[FIX]do not copy name when duplicating
AaronHForgeFlow Jul 11, 2019
bbe3716
[FIX]wizard to create pickings, not to show rma groups if rma groups …
AaronHForgeFlow Jul 16, 2019
0a5004d
[FIX]consistency group vs line in the picking count methods
AaronHForgeFlow Jul 15, 2019
6f24c09
[ENH]activate description also fro customer RMAs
AaronHForgeFlow Sep 20, 2019
be042c4
[FIX]supplier lines field description
AaronHForgeFlow Sep 23, 2019
b49ec21
[IMP]return qty instead of ordered qty
AaronHForgeFlow Sep 23, 2019
8bcc143
[FIX] description on rma models
AaronHForgeFlow Oct 8, 2019
78d1b0d
[FIX] tests
MiquelRForgeFlow Oct 30, 2019
6ebc30b
[FIX]move constraint from the rma order to the line
AaronHForgeFlow Oct 29, 2019
f2784e5
[FIX]UsreError to Validation Error
AaronHForgeFlow Oct 29, 2019
5293797
[FIX] default_gets: avoid using shadowname 'fields'
MiquelRForgeFlow Nov 29, 2019
76c112e
[10.0][IMP]add report for rma group
chafique-delli Dec 6, 2019
0c54dde
[UPT]rma group report to v12
AaronHForgeFlow Jan 3, 2020
956bdfb
[IMP] : black, isort
AaronHForgeFlow Jan 14, 2020
8d56e66
[MIG] rma: Migration to 13.0
AaronHForgeFlow Jan 14, 2020
aef9822
RMA as an APP
HviorForgeFlow Jan 20, 2020
66fc714
[IMP]rma master data menus
AaronHForgeFlow Feb 14, 2020
9834743
[FIX]rma_account refund creation
AaronHForgeFlow Feb 14, 2020
a42aa31
[IMP]rma enable invoicing from settings
AaronHForgeFlow Feb 14, 2020
027a24a
[ENH]rma_sale traceability
AaronHForgeFlow Jan 23, 2020
c1c2be0
[FIX]rma report templates group
AaronHForgeFlow May 4, 2020
5f1d956
[IMP] Update pre-commit lints according with OCA ones
HviorForgeFlow May 29, 2020
a98ecee
[FIX] External ID not found in the system: account.res_partner_action…
Dec 17, 2020
e5e1c28
[IMP] rma: black, isort, prettier
MateuGForgeFlow Dec 18, 2020
e963d63
[MIG] rma: Migration to 14.0
MateuGForgeFlow Dec 18, 2020
f1f233d
[IMP] rma
MateuGForgeFlow Dec 28, 2020
2bf91ee
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
059477f
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
a6ebc47
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
62d8a79
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
7c8802d
[FIX] rma: Create rma supplier action
MateuGForgeFlow Jan 15, 2021
b1960e6
[MIG] rma_account: Migration to 14.0
MateuGForgeFlow Jan 18, 2021
d7c7bbd
[14.0][IMP]Fill rma lines in tree (#156)
MateuGForgeFlow Feb 1, 2021
00cd0e3
[FIX] rma: toggle archive button removed in favor of web_ribbon.
LoisRForgeFlow Mar 26, 2021
d988983
[IMP] rma: Do not highlight all action buttons and simplify
LoisRForgeFlow Mar 26, 2021
502bc08
[14.0][FIX] warehouse rma location
RLeeOSI Mar 17, 2021
bb8d9c6
[14.0][MIG] rma*: ir.actions.act_window has different access
LoisRForgeFlow Apr 16, 2021
df44acb
Fix Pre-commit Websites
MateuGForgeFlow Oct 6, 2021
8a2c318
[rma][fix] allow to set back to approved a done rma
JordiBForgeFlow Oct 27, 2021
f69b396
[MIG] rma: Migration to 15.0
JasminSForgeFlow Jan 7, 2022
377cebf
[14.0][IMP]rma: make operation editable after approved
AaronHForgeFlow Jan 19, 2022
4eb1d8a
[fix] rma: when using 2 step receipt or delivery, don't count double
JordiBForgeFlow Feb 2, 2022
6443121
[fix] rma: improve logic to count in and out pickings
JordiBForgeFlow Feb 3, 2022
4ac1d0e
[FIX] rma: compute out_shipment_count correctly. Add test cases
JordiBForgeFlow Feb 7, 2022
ffdb5a6
[IMP] rma: Added serial/lot selection on from stock move wizard on rm…
ChrisOForgeFlow Jan 25, 2022
5f353fc
[IMP] rma, rma_sale: added select all, messages for UX
ChrisOForgeFlow Jan 28, 2022
1ef2f8f
[FIX] rma: add lot to pickings created from wizard on RMA lines
ChrisOForgeFlow Feb 7, 2022
2b613fe
[15.0][ADD] Mass action for request approval RMA order line
ChrisOForgeFlow Feb 11, 2022
c763761
[IMP] rma: Fix Route View
JasminSForgeFlow Feb 23, 2022
93c41c4
[FIX] rma: do not force reservation on supplier RMA deliveries
LoisRForgeFlow Mar 4, 2022
badb245
[14.0][FIX] rma: separate stock.move by rma_line_id to fix picking as…
ChrisOForgeFlow Mar 3, 2022
3e98a5d
[IMP] COPIER UPDATE: black, isort, prettier
AaronHForgeFlow Apr 22, 2022
de10247
[FIX] Remove useless/bad wiz_id field in rma_make_picking.wizard item…
florian-dacosta May 3, 2022
0ced27b
Add missing fields in rma line editable tree in rma group
florian-dacosta Apr 29, 2022
63a039e
[IMP] rma: Refactor all rma modules in order to consider using the co…
JordiBForgeFlow Mar 2, 2022
a270c0f
[15.0][IMP] Tests for stock valuation
AaronHForgeFlow Mar 4, 2022
ce0edfc
[13.0][FIX/IMP] Make RMA Operation settings company dependent
astirpe Apr 20, 2022
85e003e
[14.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 18, 2022
3ecbd21
[15.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 19, 2022
3f5ebdc
[FIX] rma: missing migration scripts and version bump
LoisRForgeFlow May 25, 2022
a1365d6
[IMP] rma: add RMA reference to delivery slip report
LoisRForgeFlow May 13, 2022
ee0435b
[IMP] rma: add rma lines to group selecting serial numbers
LoisRForgeFlow May 23, 2022
b0fe1b9
[FIX] rma: prevent against warehouse mismatch or missing rules
StefanRijnhart Jun 15, 2022
d400810
[IMP] Improve multi-company record rules
Jun 16, 2022
bbd9e16
[FIX]rma: remove test_rma dependency to Account
DavidJForgeFlow Jun 16, 2022
a68a194
[FIX] rma: improve check on rule selection during procurement
StefanRijnhart Jun 24, 2022
15cac39
Hide smart button when empty
florian-dacosta Jun 8, 2022
9f6cac2
[IMP] Make rma order view cleaner for user
florian-dacosta Jul 1, 2022
83a673f
[IMP] rma: prevent the creation of zero qty moves
StefanRijnhart Jun 11, 2022
edbfa6e
[15.0][FIX] rma_sale: fixup of procurement
DavidJForgeFlow Jul 11, 2022
5c15e91
[IMP] rma_sale: introduce new config settings.
JordiBForgeFlow Jun 26, 2022
f609848
[FIX] include anglo-saxon price unit calculation in refunds.
JordiBForgeFlow Nov 21, 2022
b7bdcc6
[IMP] centralize the logic to get the correct cost of the RMA.
JordiBForgeFlow Nov 23, 2022
8592793
[16.0][MIG] Migrate rma module to v16
florian-dacosta Nov 28, 2022
5c4b284
[14.0][IMP] rma: pass product in create lot
DavidJForgeFlow Nov 30, 2022
72cce8a
[FIX] fix empty parter on rma picking
JordiBForgeFlow Nov 30, 2022
6e70b5a
[IMP] rma: add translations
AnnaPForgeFlow Nov 7, 2022
f9a7278
[14.0][IMP] rma: add lot/serial in report
DavidJForgeFlow Dec 20, 2022
fb85dab
[FIX] count produced products going to customer as out pickings
florian-dacosta May 3, 2022
6b9db18
[FIX] rma: Ensure that configuration on the operation is applied
LoisRForgeFlow Dec 28, 2022
289b35d
[IMP] rma: rma group supplier form view as a inherited view.
LoisRForgeFlow Jan 2, 2023
c95546c
[IMP] rma: add description to rma order and copy it over to new lines
LoisRForgeFlow Jan 2, 2023
a40ae45
[IMP] rma: order by id desc
LoisRForgeFlow Jan 2, 2023
eedeba6
[IMP] rma: print serial/lot number in RMA group report
LoisRForgeFlow Jan 2, 2023
cee61d3
[FIX] rma: remove "Add new line" in RMA group.
LoisRForgeFlow Jan 5, 2023
2d5252a
[14.0][FIX] rma: add stock move in supplier group
DavidJForgeFlow Feb 1, 2023
4b8cff0
[FIX] Move some field from onchange to compute fields to avoid issues…
florian-dacosta Dec 1, 2022
216b49c
[IMP] rma: cancel rma_lines
DavidJForgeFlow Feb 14, 2023
82c4c20
[FIX] rma: in multi step routes, only reserve first step
LoisRForgeFlow Feb 21, 2023
049420e
[IMP] rma: limit state statusbar
DavidJForgeFlow Feb 21, 2023
d9bb1b8
[FIX] rma: deprecated test warning fix
DavidJForgeFlow Feb 22, 2023
e9a8312
[16.0][FIX] rma: return of button done
DavidJForgeFlow Feb 22, 2023
0883817
[FIX] rma: product_uom_qty not in move_line_ids
DavidJForgeFlow Mar 3, 2023
b34165d
[FIX] rma: make picking product_uom_qty
DavidJForgeFlow Mar 9, 2023
0ea930e
[FIX] rma: some fixups
DavidJForgeFlow Mar 9, 2023
2ae0a12
[FIX] rma: get all partner RMA
DavidJForgeFlow May 2, 2023
2cf2610
[FIX] rma: dropship from vendor as outgoing
DavidJForgeFlow May 2, 2023
cc122c0
[FIX] rma: get_move_rma dropship
DavidJForgeFlow May 2, 2023
7b50d3e
[FIX] rma: procurement origin
JoanSForgeFlow May 25, 2023
1f5a60d
[FIX] rma: correctly display fields in product category view
JordiMForgeFlow Oct 10, 2023
c520b1a
rma : Fix description size in rma order line view form
florian-dacosta Oct 27, 2023
8439e76
[IMP] rma: add date to rma_order_line
DavidJForgeFlow Apr 28, 2023
03c09b4
[IMP] rma: date_rma in lines
AaronHForgeFlow Oct 27, 2023
1c5d0fd
[FIX] Restrict approval rights to RMA Manager
SergiCForgeFlow Apr 4, 2023
360e009
[14.0][IMP] added default operation on rma group, easy setup before r…
ChrisOForgeFlow Oct 27, 2023
8e1084d
[FIX] rma: RMA location in the warehouse should not be inside stock
AaronHForgeFlow Nov 16, 2023
84a5847
[IMP] rma: mark RMA location as return location
JordiMForgeFlow Nov 20, 2023
196f2f5
[FIX] Delete rma_picking_wizard_item on cascade to avoid failure
florian-dacosta Nov 28, 2023
b599efb
[IMP] Remove domain from onchange method and put it in field view
florian-dacosta Nov 28, 2023
4866c60
[16.0][IMP] rma: rma group state
chafique-delli Mar 25, 2024
9e97008
[IMP] rma: black, isort, prettier
AaronHForgeFlow May 6, 2024
00e3114
[MIG] rma: Migration to v17
CarlosVForgeFlow May 6, 2024
f432283
[FIX] rma: lot reservation error:
AaronHForgeFlow May 6, 2024
58af340
[IMP] rma: Auto-calculate package for serial products
BernatPForgeFlow Aug 17, 2023
c926d7a
[FIX] quants can be more than one on _gather function result
ChrisOForgeFlow Sep 26, 2023
d559aa8
[FIX] rma: Do not set 'Destination Package' if RMA package comes from…
BernatPForgeFlow Oct 25, 2023
3a40a57
[IMP] rma: add rma_line_id to stock.move views
DavidJForgeFlow Mar 5, 2024
5cdafa8
[FIX] rma: inventory user by default should not see RMAs
AaronHForgeFlow Oct 30, 2023
6e71422
[FIX] rma: vendor rma lot mnmg
AaronHForgeFlow Jul 12, 2024
1a5d5e1
[IMP] rma: adapt icon to v17
AaronHForgeFlow Jul 19, 2024
9c6b8f3
[IMP] rma : add index on stock_move.rma_line_id
florian-dacosta Sep 20, 2024
3aae2bb
[16.0][FIX] rma, change filter of moves to allow select pickings with…
ChrisOForgeFlow Sep 16, 2024
520a099
[FIX] rma: fix action that opens related RMA or RTV.
DavidJForgeFlow Sep 30, 2024
a482ff7
[IMP] rma : propagate cancelation
florian-dacosta Aug 29, 2024
abfcb09
[16][FIX] rma: make date_rma stored once again on rma_order
florian-dacosta Nov 14, 2024
4efbb9c
[IMP] rma: add report menu
DavidJForgeFlow Jul 8, 2024
baf03b2
[IMP] rma: update configuration view
JasminSForgeFlow Jan 10, 2025
6d98dd7
[FIX] fix rma management using multi step routes
JordiBForgeFlow Nov 24, 2022
c142bc8
[14.0][FIX] rma, add support to handle package used on customer moves
ChrisOForgeFlow Jan 31, 2024
260d32a
[FIX] rma
DavidJForgeFlow Dec 10, 2024
53d3e19
[REF] rma: change stock_move_forced_lot to stock_restrict_lot
DavidJForgeFlow Jan 21, 2025
143415f
[IMP] rma: Avoid error if group_id = False
BernatPForgeFlow Apr 3, 2023
e3afd4b
[FIX] rma: _check_move_partner compare with RMA commercial partner
AlexPForgeFlow Nov 5, 2024
698a66f
[FIX] rma: qty received and shipped in case of multiple step receptio…
florian-dacosta Nov 7, 2024
eb32bed
[IMP] rma: black, isort, prettier
JasminSForgeFlow Feb 18, 2025
7efd51f
[MIG] rma: Migration to 18.0
JasminSForgeFlow Feb 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 160 additions & 0 deletions rma/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
======================================
RMA (Return Merchandise Authorization)
======================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:310ce4e3f5919e5be643c54f11481d09bb8fc79cab65f08ac969ef3bf9d799fe
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-ForgeFlow%2Fstock--rma-lightgray.png?logo=github
:target: https://github.com/ForgeFlow/stock-rma/tree/18.0/rma
:alt: ForgeFlow/stock-rma

|badge1| |badge2| |badge3|

A Return Merchandise Authorization (RMA), is a part of the process of
returning a product in order to receive a refund, replacement, or repair
during the product's warranty period.

The purchaser of the product must contact the manufacturer (or
distributor or retailer) to obtain authorization to return the product.

The resulting RMA number must be displayed on or included in the
returned product's packaging.

The issuance of an RMA is a key gatekeeping moment in the reverse
logistics cycle, providing the vendor with a final opportunity to
diagnose and correct the customer's problem with the product (such as
improper installation or configuration) before the customer permanently
relinquishes ownership of the product to the manufacturer, commonly
referred to as a return.

As returns are costly for the vendor and inconvenient for the customer,
any return that can be prevented benefits both parties.

**Table of contents**

.. contents::
:local:

Configuration
=============

Security
--------

Go to Settings > Users and assign the appropiate permissions to users.
Different security groups grant distinct levels of access to the RMA
features.

- Users in group "RMA Customer User" or "RMA Supplier User" can access
to, create and process RMA's associated to customers or suppliers
respectively.
- Users in group "RMA Manager" can access to, create, approve and
process RMA's associated to both customers and suppliers.

RMA Approval Policy
-------------------

There are two RMA approval policies in product catogories:

- One step: Always auto-approve RMAs that only contain products within
categories with this policy.
- Two steps: A RMA order containing a product within a category with
this policy will request the RMA manager approval.

In order to change the approval policy of a product category follow the
next steps:

1. Go to *Inventory > Configuration > Products > Product Categories*.
2. Select one and change the field *RMA Approval Policy* to your
convenience.

Other Settings
--------------

1. Go to RMA > Configuration > Settings > Return Merchandising
Authorization and select the option "Display 3 fields on rma:
partner, invoice address, delivery address" if needed.
2. Go to RMA > Configuration > Warehouse management > Warehouses and add
a default RMA location and RMA picking type for customers and
suppliers RMA picking type. In case the warehouse is configured to
use routes, you need to create at least one route per rma type with
at least two push rules (one for inbound another for outbound) it's
very important to select the type of operation supplier if we are
moving in the company and customer if we are moving out of the
company.

Usage
=====

RMA are accessible though Inventory menu. There's four menus, divided by
type. Users can access to the list of RMA or RMA lines.

Create an RMA:

1. Select a partner. Enter RMA lines associated to an existing picking,
or manually.
2. Request approval and approve.
3. Click on RMA Lines button.
4. Click on more and select an option: "Receive products", "Create
Delivery Order".
5. Go back to the RMA. Set the RMA to done if not further action is
required.

Known issues / Roadmap
======================

- Picking operations report in customer RMA dropshipping case is
showing "Vendor Address" while it should be "Customer Address".
- Dropshipping always counted as a delivery on the smart buttons.
- Uninstall hook.
- Constraints instead of required fields on rma.order.line.
- Rename type field on rma.order and rma.order.line

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/ForgeFlow/stock-rma/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/ForgeFlow/stock-rma/issues/new?body=module:%20rma%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* ForgeFlow

Contributors
------------

- Jordi Ballester Alomar <[email protected]>
- Aaron Henriquez <[email protected]>
- Lois Rilo <[email protected]>
- Bhavesh Odedra <[email protected]>
- Akim Juillerat <[email protected]>
- Alexandre Fayolle <[email protected]>
- Chafique Delli <[email protected]>
- Héctor Villarreal <[email protected]>

Maintainers
-----------

This module is part of the `ForgeFlow/stock-rma <https://github.com/ForgeFlow/stock-rma/tree/18.0/rma>`_ project on GitHub.

You are welcome to contribute.
5 changes: 5 additions & 0 deletions rma/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (C) 2017-20 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

from . import models
from . import wizards
39 changes: 39 additions & 0 deletions rma/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright (C) 2017-20 ForgeFlow S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

{
"name": "RMA (Return Merchandise Authorization)",
"version": "18.0.1.0.0",
"license": "LGPL-3",
"category": "RMA",
"summary": "Introduces the return merchandise authorization (RMA) process in odoo",
"author": "ForgeFlow",
"website": "https://github.com/ForgeFlow",
"depends": ["stock", "mail", "web", "stock_restrict_lot"],
"demo": ["demo/stock_demo.xml"],
"data": [
"security/rma.xml",
"security/ir.model.access.csv",
"data/rma_sequence.xml",
"data/stock_data.xml",
"data/rma_operation.xml",
"report/rma_report.xml",
"report/rma_report_templates.xml",
"views/rma_order_view.xml",
"views/rma_operation_view.xml",
"views/rma_order_line_view.xml",
"views/stock_view.xml",
"views/stock_warehouse.xml",
"views/product_view.xml",
"views/res_partner_view.xml",
"views/res_config_settings_views.xml",
"views/rma_menu.xml",
"wizards/rma_make_picking_view.xml",
"wizards/rma_add_stock_move_view.xml",
"wizards/rma_order_line_make_supplier_rma_view.xml",
"report/report_deliveryslip.xml",
"wizards/rma_add_serial_views.xml",
],
"installable": True,
"application": True,
}
45 changes: 45 additions & 0 deletions rma/data/rma_operation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<odoo noupdate="1">
<record id="rma_operation_customer_replace" model="rma.operation">
<field name="name">Replace After Receive</field>
<field name="code">RPL-C</field>
<field name="receipt_policy">ordered</field>
<field name="delivery_policy">received</field>
<field name="type">customer</field>
<field name="in_route_id" ref="rma.route_rma_customer" />
<field name="out_route_id" ref="rma.route_rma_customer" />
</record>

<record id="rma_operation_supplier_replace" model="rma.operation">
<field name="name">Replace</field>
<field name="code">RPL-S</field>
<field name="receipt_policy">ordered</field>
<field name="delivery_policy">ordered</field>
<field name="type">supplier</field>
<field name="in_route_id" ref="rma.route_rma_supplier" />
<field name="out_route_id" ref="rma.route_rma_supplier" />
</record>

<record id="rma_operation_ds_replace" model="rma.operation">
<field name="name">Dropship - Deliver to vendor</field>
<field name="code">DS-RPL-C</field>
<field name="receipt_policy">ordered</field>
<field name="delivery_policy">no</field>
<field name="type">customer</field>
<field name="customer_to_supplier" eval="True" />
<field name="out_route_id" ref="rma.route_rma_dropship" />
<field name="in_route_id" ref="rma.route_rma_dropship" />
</record>

<record id="rma_operation_ds_replace_supplier" model="rma.operation">
<field name="name">Dropship - Deliver to customer</field>
<field name="code">DS-RPL-S</field>
<field name="receipt_policy">no</field>
<field name="delivery_policy">ordered</field>
<field name="type">supplier</field>
<field name="supplier_to_customer" eval="True" />
<field name="out_route_id" ref="rma.route_rma_dropship" />
<field name="in_route_id" ref="rma.route_rma_dropship" />
</record>

</odoo>
42 changes: 42 additions & 0 deletions rma/data/rma_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" ?>
<odoo noupdate="1">
<record id="rma_seq" model="ir.sequence">
<field name="name">Customer RMA sequence</field>
<field name="code">rma.order.customer</field>
<field name="padding">5</field>
<field name="prefix">RMAG/%(year)s/</field>
<field eval="1" name="number_next" />
<field eval="1" name="number_increment" />
</record>

<record id="rma_supplier_seq" model="ir.sequence">
<field name="name">Supplier RMA sequence</field>
<field name="code">rma.order.supplier</field>
<field name="padding">5</field>
<field name="prefix">RTVG/%(year)s/</field>
<field eval="1" name="number_next" />
<field eval="1" name="number_increment" />
<field name="company_id" eval="False" />
</record>

<record id="rma_line_seq" model="ir.sequence">
<field name="name">Customer RMA Line sequence</field>
<field name="code">rma.order.line.customer</field>
<field name="padding">5</field>
<field name="prefix">RMA/%(year)s/</field>
<field eval="1" name="number_next" />
<field eval="1" name="number_increment" />
<field name="company_id" eval="False" />
</record>

<record id="rma_line_supplier_seq" model="ir.sequence">
<field name="name">Supplier RMA Line sequence</field>
<field name="code">rma.order.line.supplier</field>
<field name="padding">5</field>
<field name="prefix">RTV/%(year)s/</field>
<field eval="1" name="number_next" />
<field eval="1" name="number_increment" />
<field name="company_id" eval="False" />
</record>

</odoo>
Loading
Loading