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

[17.0][MIG] rma #512

Merged
merged 184 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
58da755
init branch
JordiBForgeFlow Jul 27, 2017
b0c14c7
[9.0] rma: remove rma.rule and add that setting to product.category
LoisRForgeFlow Aug 2, 2017
c894113
[9.0][FIX] rma:
LoisRForgeFlow Aug 2, 2017
4b1d5ed
[IMP] default operation in product and product_categ for customer and…
AaronHForgeFlow Aug 16, 2017
77688d8
[9.0][FIX]
LoisRForgeFlow Aug 24, 2017
441218f
[9.0][IMP] rma_account:
LoisRForgeFlow Aug 25, 2017
af37c90
[9.0][IMP] rma_purchase:
LoisRForgeFlow Aug 25, 2017
be38451
[9.0][REW] rma: workflow centralized on rma.order.line and the use of…
LoisRForgeFlow Oct 18, 2017
598a4a3
[9.0][IMP] rma: add constrains
LoisRForgeFlow Oct 19, 2017
23669d7
[9.0][FIX] rma: wizard
LoisRForgeFlow Oct 19, 2017
95dce24
fix rma
LoisRForgeFlow Oct 19, 2017
828fb1a
[9.0][IMP] rma: add button to rma's from customers
LoisRForgeFlow Oct 23, 2017
d6f6b87
add partner constrain
LoisRForgeFlow Oct 23, 2017
02614cc
[9.0] add under_warranty field
LoisRForgeFlow Oct 25, 2017
3597ccc
[9.0][FIX] rma: create supplier rma wizard
LoisRForgeFlow Nov 9, 2017
18d6591
[MIG]rma v10
AaronHForgeFlow Dec 19, 2017
941c360
[FIX]view
AaronHForgeFlow Dec 21, 2017
0ff91a2
[IMP] Improved Unit Test Case and Fixed Travis
nikul-serpentcs Nov 10, 2017
e02a156
[FIX]various fixes
AaronHForgeFlow Jan 2, 2018
6c04803
[FIX]error in compute method
AaronHForgeFlow Jan 8, 2018
e4c4567
[MIG] Migrated UT & Fixed Travis
nikul-serpentcs Jan 5, 2018
15d7a15
[IMP] Improved Code.
nikul-serpentcs Jan 9, 2018
5c5e38b
[MIG]rma_operating_unit to v10
AaronHForgeFlow Jan 9, 2018
88682df
[FIX]moved_qty uses moves not procurements
AaronHForgeFlow Jan 22, 2018
f7d0e63
[FIX]compute qty when stock moves but not procurements
AaronHForgeFlow Jan 26, 2018
2967c16
[11.0] MIG: RMA module
Feb 9, 2018
e5a5928
[FIX] Permissions and remove (en)coding
max3903 Feb 9, 2018
1a4d5d0
[MIG] Migrate configuration and cleanup
max3903 Feb 9, 2018
3435165
[FIX] Errors from tests
max3903 Feb 9, 2018
c91d48f
multiple fixes
JordiBForgeFlow Feb 14, 2018
b90c30e
[IMP] Various improvements
Feb 14, 2018
e8a5fb3
[FIX] Cannot create partner
max3903 Jun 25, 2018
9f1f06e
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
8acd726
[FIX] Access rights with group deps
max3903 Jun 27, 2018
e13df27
[FIX] TypeError: unhashable type: 'list'
Jul 19, 2018
6d4fb1e
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
9dfe930
[FIX] Access rights with group deps
max3903 Jun 27, 2018
1c0f892
[MIG]rma v110.0.2.0.0
AaronHForgeFlow Jul 26, 2018
9293d79
[9.0][IMP] rma: configuring rma for a warehouse from the wh form view
LoisRForgeFlow Aug 3, 2018
901ddd9
[9.0][IMP] rma: tests moved to Savedpointcase and optimized (66% time…
LoisRForgeFlow May 14, 2018
6b91aaa
[FIX]views rma
AaronHForgeFlow Jul 30, 2018
961023c
[FIX]compute_qty_to_receive
AaronHForgeFlow Jul 30, 2018
14814fd
[FIX]rma test
AaronHForgeFlow Jul 30, 2018
e3dedea
[IMP]product first on view then select document according to product
AaronHForgeFlow Aug 3, 2018
0241e40
[IMP] add group to manage rma groups
AaronHForgeFlow Aug 3, 2018
72a9bab
[FIX]RMA location company is the warehouse company
AaronHForgeFlow May 24, 2018
ae4ceb8
[IMP]add icon. Courtesy lreficent.
AaronHForgeFlow Aug 24, 2018
76ec2a2
[FIX]text on create supplier rma button
AaronHForgeFlow Oct 4, 2018
ec0e64c
[IMP]add rma line report
AaronHForgeFlow May 25, 2018
6c48e02
[UPT]report usable in v11
AaronHForgeFlow Oct 4, 2018
424c278
[12.0][MIG] Migrate rma module to v12.0
AdriaGForgeFlow Nov 19, 2018
649b896
[12.0][FIX] Fix search view in rma module
AdriaGForgeFlow Dec 3, 2018
7e01c51
[FIX] qty_delivered is not updated properly
bjeficent Feb 14, 2019
86c1a44
rma: Fix stock_location res.groups
grindtildeath Mar 12, 2019
c637de9
Proxy fields defaults with lambda to allow inheritance
grindtildeath Mar 18, 2019
678ca66
Use strings on fields compute to allow inheritance
grindtildeath Mar 18, 2019
3d02564
Define default value for required fields
grindtildeath Mar 18, 2019
2053503
[FIX] Remove picking_id from default_get as model does not define it
grindtildeath Apr 10, 2019
969fd2c
[SET] Correct website URL for RMA modules
May 24, 2019
a7d5841
[FIX] Class typo, ProcurementRule is StockRule in V12.0
Jun 5, 2019
747bcdc
[FIX] multicompany security
gurneyalex Jun 18, 2019
0343bc1
[IMP] rma operation form view
gurneyalex Jun 21, 2019
02665ee
[FIX] wrong company on stock rules
gurneyalex Jun 21, 2019
f9f0e8f
make the RMA routes shared in multicompany by default
gurneyalex Jun 21, 2019
f05357d
[FIX]do not copy name when duplicating
AaronHForgeFlow Jul 11, 2019
ce95f82
[FIX]wizard to create pickings, not to show rma groups if rma groups …
AaronHForgeFlow Jul 16, 2019
6fac4d3
[FIX]consistency group vs line in the picking count methods
AaronHForgeFlow Jul 15, 2019
8c026c7
[ENH]activate description also fro customer RMAs
AaronHForgeFlow Sep 20, 2019
491d790
[FIX]supplier lines field description
AaronHForgeFlow Sep 23, 2019
87c7538
[IMP]return qty instead of ordered qty
AaronHForgeFlow Sep 23, 2019
d6c0b79
[FIX] description on rma models
AaronHForgeFlow Oct 8, 2019
39a9765
[FIX] tests
MiquelRForgeFlow Oct 30, 2019
fb1b991
[FIX]move constraint from the rma order to the line
AaronHForgeFlow Oct 29, 2019
97cc5fa
[FIX]UsreError to Validation Error
AaronHForgeFlow Oct 29, 2019
99e6cd0
[FIX] default_gets: avoid using shadowname 'fields'
MiquelRForgeFlow Nov 29, 2019
b5674ba
[10.0][IMP]add report for rma group
chafique-delli Dec 6, 2019
53a588a
[UPT]rma group report to v12
AaronHForgeFlow Jan 3, 2020
c4c1a4e
[IMP] : black, isort
AaronHForgeFlow Jan 14, 2020
db6a348
[MIG] rma: Migration to 13.0
AaronHForgeFlow Jan 14, 2020
850c5dd
RMA as an APP
HviorForgeFlow Jan 20, 2020
ebefe29
[IMP]rma master data menus
AaronHForgeFlow Feb 14, 2020
12a706d
[FIX]rma_account refund creation
AaronHForgeFlow Feb 14, 2020
79a4590
[IMP]rma enable invoicing from settings
AaronHForgeFlow Feb 14, 2020
dd5e1d5
[ENH]rma_sale traceability
AaronHForgeFlow Jan 23, 2020
5517ce8
[FIX]rma report templates group
AaronHForgeFlow May 4, 2020
4ebef78
[IMP] Update pre-commit lints according with OCA ones
HviorForgeFlow May 29, 2020
7c5c440
[FIX] External ID not found in the system: account.res_partner_action…
Dec 17, 2020
5819ced
[IMP] rma: black, isort, prettier
MateuGForgeFlow Dec 18, 2020
33fa9b0
[MIG] rma: Migration to 14.0
MateuGForgeFlow Dec 18, 2020
5f6d281
[IMP] rma
MateuGForgeFlow Dec 28, 2020
e069c20
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
f6b2759
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
b9f7d1a
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
c74dfb0
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
9743e8d
[FIX] rma: Create rma supplier action
MateuGForgeFlow Jan 15, 2021
77b7bab
[MIG] rma_account: Migration to 14.0
MateuGForgeFlow Jan 18, 2021
54caf17
[14.0][IMP]Fill rma lines in tree (#156)
MateuGForgeFlow Feb 1, 2021
e9997cc
[FIX] rma: toggle archive button removed in favor of web_ribbon.
LoisRForgeFlow Mar 26, 2021
c042bf3
[IMP] rma: Do not highlight all action buttons and simplify
LoisRForgeFlow Mar 26, 2021
84b9563
[14.0][FIX] warehouse rma location
RLeeOSI Mar 17, 2021
2796019
[14.0][MIG] rma*: ir.actions.act_window has different access
LoisRForgeFlow Apr 16, 2021
351207a
Fix Pre-commit Websites
MateuGForgeFlow Oct 6, 2021
f58fbe9
[rma][fix] allow to set back to approved a done rma
JordiBForgeFlow Oct 27, 2021
5771e63
[MIG] rma: Migration to 15.0
JasminSForgeFlow Jan 7, 2022
b2e0663
[14.0][IMP]rma: make operation editable after approved
AaronHForgeFlow Jan 19, 2022
08b5579
[fix] rma: when using 2 step receipt or delivery, don't count double
JordiBForgeFlow Feb 2, 2022
964248f
[fix] rma: improve logic to count in and out pickings
JordiBForgeFlow Feb 3, 2022
9d75d12
[FIX] rma: compute out_shipment_count correctly. Add test cases
JordiBForgeFlow Feb 7, 2022
9845c0f
[IMP] rma: Added serial/lot selection on from stock move wizard on rm…
ChrisOForgeFlow Jan 25, 2022
dfd91f9
[IMP] rma, rma_sale: added select all, messages for UX
ChrisOForgeFlow Jan 28, 2022
c839184
[FIX] rma: add lot to pickings created from wizard on RMA lines
ChrisOForgeFlow Feb 7, 2022
2d18bba
[15.0][ADD] Mass action for request approval RMA order line
ChrisOForgeFlow Feb 11, 2022
d1a9c2a
[IMP] rma: Fix Route View
JasminSForgeFlow Feb 23, 2022
764139d
[FIX] rma: do not force reservation on supplier RMA deliveries
LoisRForgeFlow Mar 4, 2022
807f88a
[14.0][FIX] rma: separate stock.move by rma_line_id to fix picking as…
ChrisOForgeFlow Mar 3, 2022
f90e6d3
[IMP] COPIER UPDATE: black, isort, prettier
AaronHForgeFlow Apr 22, 2022
bcfa5a3
[FIX] Remove useless/bad wiz_id field in rma_make_picking.wizard item…
florian-dacosta May 3, 2022
70663f6
Add missing fields in rma line editable tree in rma group
florian-dacosta Apr 29, 2022
ea4922d
[IMP] rma: Refactor all rma modules in order to consider using the co…
JordiBForgeFlow Mar 2, 2022
c7c6abd
[15.0][IMP] Tests for stock valuation
AaronHForgeFlow Mar 4, 2022
2a3b980
[13.0][FIX/IMP] Make RMA Operation settings company dependent
astirpe Apr 20, 2022
71bf52d
[14.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 18, 2022
8e4532b
[15.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 19, 2022
d62b018
[FIX] rma: missing migration scripts and version bump
LoisRForgeFlow May 25, 2022
079e870
[IMP] rma: add RMA reference to delivery slip report
LoisRForgeFlow May 13, 2022
747ac24
[IMP] rma: add rma lines to group selecting serial numbers
LoisRForgeFlow May 23, 2022
faa1959
[FIX] rma: prevent against warehouse mismatch or missing rules
StefanRijnhart Jun 15, 2022
cd0b290
[IMP] Improve multi-company record rules
Jun 16, 2022
7e28088
[FIX]rma: remove test_rma dependency to Account
DavidJForgeFlow Jun 16, 2022
501418d
[FIX] rma: improve check on rule selection during procurement
StefanRijnhart Jun 24, 2022
6585b1b
Hide smart button when empty
florian-dacosta Jun 8, 2022
f01f571
[IMP] Make rma order view cleaner for user
florian-dacosta Jul 1, 2022
f411c0e
[IMP] rma: prevent the creation of zero qty moves
StefanRijnhart Jun 11, 2022
9db7ad8
[15.0][FIX] rma_sale: fixup of procurement
DavidJForgeFlow Jul 11, 2022
38b798e
[IMP] rma_sale: introduce new config settings.
JordiBForgeFlow Jun 26, 2022
7112843
[FIX] include anglo-saxon price unit calculation in refunds.
JordiBForgeFlow Nov 21, 2022
4b1ec13
[IMP] centralize the logic to get the correct cost of the RMA.
JordiBForgeFlow Nov 23, 2022
258021b
[16.0][MIG] Migrate rma module to v16
florian-dacosta Nov 28, 2022
ee797b4
[14.0][IMP] rma: pass product in create lot
DavidJForgeFlow Nov 30, 2022
44b6e62
[FIX] fix empty parter on rma picking
JordiBForgeFlow Nov 30, 2022
5b431b3
[IMP] rma: add translations
AnnaPForgeFlow Nov 7, 2022
3f56e91
[14.0][IMP] rma: add lot/serial in report
DavidJForgeFlow Dec 20, 2022
ea38432
[FIX] count produced products going to customer as out pickings
florian-dacosta May 3, 2022
62d501d
[FIX] rma: Ensure that configuration on the operation is applied
LoisRForgeFlow Dec 28, 2022
5f0f1c1
[IMP] rma: rma group supplier form view as a inherited view.
LoisRForgeFlow Jan 2, 2023
739f67b
[IMP] rma: add description to rma order and copy it over to new lines
LoisRForgeFlow Jan 2, 2023
d674b66
[IMP] rma: order by id desc
LoisRForgeFlow Jan 2, 2023
c9174c6
[IMP] rma: print serial/lot number in RMA group report
LoisRForgeFlow Jan 2, 2023
d53ca9b
[FIX] rma: remove "Add new line" in RMA group.
LoisRForgeFlow Jan 5, 2023
f826845
[14.0][FIX] rma: add stock move in supplier group
DavidJForgeFlow Feb 1, 2023
4fe10d7
[FIX] Move some field from onchange to compute fields to avoid issues…
florian-dacosta Dec 1, 2022
fb683c9
[IMP] rma: cancel rma_lines
DavidJForgeFlow Feb 14, 2023
1dd8eb1
[FIX] rma: in multi step routes, only reserve first step
LoisRForgeFlow Feb 21, 2023
7a74cc2
[IMP] rma: limit state statusbar
DavidJForgeFlow Feb 21, 2023
a2fd5ae
[FIX] rma: deprecated test warning fix
DavidJForgeFlow Feb 22, 2023
32c17b1
[16.0][FIX] rma: return of button done
DavidJForgeFlow Feb 22, 2023
8497049
[FIX] rma: product_uom_qty not in move_line_ids
DavidJForgeFlow Mar 3, 2023
e601c19
[FIX] rma: make picking product_uom_qty
DavidJForgeFlow Mar 9, 2023
60d770b
[FIX] rma: some fixups
DavidJForgeFlow Mar 9, 2023
f615ca7
[FIX] rma: get all partner RMA
DavidJForgeFlow May 2, 2023
0667f3a
[FIX] rma: dropship from vendor as outgoing
DavidJForgeFlow May 2, 2023
e4f6e7b
[FIX] rma: get_move_rma dropship
DavidJForgeFlow May 2, 2023
ecb63ea
[FIX] rma: procurement origin
JoanSForgeFlow May 25, 2023
d3c75ed
[FIX] rma: correctly display fields in product category view
JordiMForgeFlow Oct 10, 2023
b4ff6c4
rma : Fix description size in rma order line view form
florian-dacosta Oct 27, 2023
d312c8c
[IMP] rma: add date to rma_order_line
DavidJForgeFlow Apr 28, 2023
b3047b0
[IMP] rma: date_rma in lines
AaronHForgeFlow Oct 27, 2023
efc2681
[FIX] Restrict approval rights to RMA Manager
SergiCForgeFlow Apr 4, 2023
608f291
[14.0][IMP] added default operation on rma group, easy setup before r…
ChrisOForgeFlow Oct 27, 2023
b0f8982
[FIX] rma: RMA location in the warehouse should not be inside stock
AaronHForgeFlow Nov 16, 2023
35345a9
[IMP] rma: mark RMA location as return location
JordiMForgeFlow Nov 20, 2023
9956118
[FIX] Delete rma_picking_wizard_item on cascade to avoid failure
florian-dacosta Nov 28, 2023
6c67346
[IMP] Remove domain from onchange method and put it in field view
florian-dacosta Nov 28, 2023
9e74ded
[16.0][IMP] rma: rma group state
chafique-delli Mar 25, 2024
e23335c
[IMP] rma: black, isort, prettier
AaronHForgeFlow May 6, 2024
cb5a8a1
[MIG] rma: Migration to v17
CarlosVForgeFlow May 6, 2024
96b6024
[FIX] rma: lot reservation error:
AaronHForgeFlow May 6, 2024
3dfec26
[IMP] rma: Auto-calculate package for serial products
BernatPForgeFlow Aug 17, 2023
ab02ca6
[FIX] quants can be more than one on _gather function result
ChrisOForgeFlow Sep 26, 2023
6fab740
[FIX] rma: Do not set 'Destination Package' if RMA package comes from…
BernatPForgeFlow Oct 25, 2023
8c16ce7
[IMP] rma: add rma_line_id to stock.move views
DavidJForgeFlow Mar 5, 2024
7dfa425
[FIX] rma: inventory user by default should not see RMAs
AaronHForgeFlow Oct 30, 2023
2c9a213
[FIX] rma: vendor rma lot mnmg
AaronHForgeFlow Jul 12, 2024
2ac6255
[IMP] rma: adapt icon to v17
AaronHForgeFlow Jul 19, 2024
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/17.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:%2017.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/17.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": "17.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"],
"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