Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
f57031e
init branch
JordiBForgeFlow Jul 27, 2017
d60a6a1
[9.0] rma: remove rma.rule and add that setting to product.category
LoisRForgeFlow Aug 2, 2017
5e3b43e
[9.0][FIX] rma:
LoisRForgeFlow Aug 2, 2017
a6b0020
[IMP] default operation in product and product_categ for customer and…
AaronHForgeFlow Aug 16, 2017
7c4da95
[9.0][FIX]
LoisRForgeFlow Aug 24, 2017
ab748fd
[9.0][IMP] rma_account:
LoisRForgeFlow Aug 25, 2017
63976ff
[9.0][IMP] rma_purchase:
LoisRForgeFlow Aug 25, 2017
8d7b58e
[9.0][REW] rma: workflow centralized on rma.order.line and the use of…
LoisRForgeFlow Oct 18, 2017
36e08e6
[9.0][IMP] rma: add constrains
LoisRForgeFlow Oct 19, 2017
cf15281
[9.0][FIX] rma: wizard
LoisRForgeFlow Oct 19, 2017
284d509
fix rma
LoisRForgeFlow Oct 19, 2017
ba8644b
[9.0][IMP] rma: add button to rma's from customers
LoisRForgeFlow Oct 23, 2017
71f830b
add partner constrain
LoisRForgeFlow Oct 23, 2017
88be2df
[9.0] add under_warranty field
LoisRForgeFlow Oct 25, 2017
73bfb8e
[9.0][FIX] rma: create supplier rma wizard
LoisRForgeFlow Nov 9, 2017
831a622
[MIG]rma v10
AaronHForgeFlow Dec 19, 2017
8b520a9
[FIX]view
AaronHForgeFlow Dec 21, 2017
5cd6903
[IMP] Improved Unit Test Case and Fixed Travis
nikul-serpentcs Nov 10, 2017
e0a978f
[FIX]various fixes
AaronHForgeFlow Jan 2, 2018
363d831
[FIX]error in compute method
AaronHForgeFlow Jan 8, 2018
ddfca55
[MIG] Migrated UT & Fixed Travis
nikul-serpentcs Jan 5, 2018
4eb87b9
[IMP] Improved Code.
nikul-serpentcs Jan 9, 2018
fb9d58c
[MIG]rma_operating_unit to v10
AaronHForgeFlow Jan 9, 2018
5a7438e
[FIX]moved_qty uses moves not procurements
AaronHForgeFlow Jan 22, 2018
7c1560e
[FIX]compute qty when stock moves but not procurements
AaronHForgeFlow Jan 26, 2018
3a5f47a
[11.0] MIG: RMA module
Feb 9, 2018
a27d006
[FIX] Permissions and remove (en)coding
max3903 Feb 9, 2018
8132d88
[MIG] Migrate configuration and cleanup
max3903 Feb 9, 2018
ec624ff
[FIX] Errors from tests
max3903 Feb 9, 2018
ddb8cbe
multiple fixes
JordiBForgeFlow Feb 14, 2018
7262d75
[IMP] Various improvements
Feb 14, 2018
df30f3d
[FIX] Cannot create partner
max3903 Jun 25, 2018
b448dae
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
0b40c55
[FIX] Access rights with group deps
max3903 Jun 27, 2018
70c7485
[FIX] TypeError: unhashable type: 'list'
Jul 19, 2018
8b6d5b2
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
0ffd33c
[FIX] Access rights with group deps
max3903 Jun 27, 2018
5b12c9d
[MIG]rma v110.0.2.0.0
AaronHForgeFlow Jul 26, 2018
8b95331
[9.0][IMP] rma: configuring rma for a warehouse from the wh form view
LoisRForgeFlow Aug 3, 2018
1955c6c
[9.0][IMP] rma: tests moved to Savedpointcase and optimized (66% time…
LoisRForgeFlow May 14, 2018
a7002b2
[FIX]views rma
AaronHForgeFlow Jul 30, 2018
087035f
[FIX]compute_qty_to_receive
AaronHForgeFlow Jul 30, 2018
2c93a19
[FIX]rma test
AaronHForgeFlow Jul 30, 2018
347a56e
[IMP]product first on view then select document according to product
AaronHForgeFlow Aug 3, 2018
a652fec
[IMP] add group to manage rma groups
AaronHForgeFlow Aug 3, 2018
236259b
[FIX]RMA location company is the warehouse company
AaronHForgeFlow May 24, 2018
6ca4bb3
[IMP]add icon. Courtesy lreficent.
AaronHForgeFlow Aug 24, 2018
4cfce1a
[FIX]text on create supplier rma button
AaronHForgeFlow Oct 4, 2018
2303c80
[IMP]add rma line report
AaronHForgeFlow May 25, 2018
82ac95e
[UPT]report usable in v11
AaronHForgeFlow Oct 4, 2018
fdfc350
[12.0][MIG] Migrate rma module to v12.0
AdriaGForgeFlow Nov 19, 2018
36d410b
[12.0][FIX] Fix search view in rma module
AdriaGForgeFlow Dec 3, 2018
e4c7a52
[FIX] qty_delivered is not updated properly
bjeficent Feb 14, 2019
bf8e8d2
rma: Fix stock_location res.groups
grindtildeath Mar 12, 2019
bd52e7c
Proxy fields defaults with lambda to allow inheritance
grindtildeath Mar 18, 2019
a8a39e5
Use strings on fields compute to allow inheritance
grindtildeath Mar 18, 2019
d1d064a
Define default value for required fields
grindtildeath Mar 18, 2019
f39edf3
[FIX] Remove picking_id from default_get as model does not define it
grindtildeath Apr 10, 2019
6122650
[SET] Correct website URL for RMA modules
May 24, 2019
68fb30f
[FIX] Class typo, ProcurementRule is StockRule in V12.0
Jun 5, 2019
1708a60
[FIX] multicompany security
gurneyalex Jun 18, 2019
a097fee
[IMP] rma operation form view
gurneyalex Jun 21, 2019
9ed1449
[FIX] wrong company on stock rules
gurneyalex Jun 21, 2019
4c0c828
make the RMA routes shared in multicompany by default
gurneyalex Jun 21, 2019
e283968
[FIX]do not copy name when duplicating
AaronHForgeFlow Jul 11, 2019
04f1ac9
[FIX]wizard to create pickings, not to show rma groups if rma groups …
AaronHForgeFlow Jul 16, 2019
02f5aa9
[FIX]consistency group vs line in the picking count methods
AaronHForgeFlow Jul 15, 2019
1fa4d12
[ENH]activate description also fro customer RMAs
AaronHForgeFlow Sep 20, 2019
edf6b7d
[FIX]supplier lines field description
AaronHForgeFlow Sep 23, 2019
54b53b5
[IMP]return qty instead of ordered qty
AaronHForgeFlow Sep 23, 2019
5eaa913
[FIX] description on rma models
AaronHForgeFlow Oct 8, 2019
e6e8cc5
[FIX] tests
MiquelRForgeFlow Oct 30, 2019
5afed3a
[FIX]move constraint from the rma order to the line
AaronHForgeFlow Oct 29, 2019
fc91b6b
[FIX]UsreError to Validation Error
AaronHForgeFlow Oct 29, 2019
073dc6e
[FIX] default_gets: avoid using shadowname 'fields'
MiquelRForgeFlow Nov 29, 2019
0e6b14e
[10.0][IMP]add report for rma group
chafique-delli Dec 6, 2019
f35f9b9
[UPT]rma group report to v12
AaronHForgeFlow Jan 3, 2020
2344936
[IMP] : black, isort
AaronHForgeFlow Jan 14, 2020
fec89fe
[MIG] rma: Migration to 13.0
AaronHForgeFlow Jan 14, 2020
3af3a22
RMA as an APP
HviorForgeFlow Jan 20, 2020
cd7fa8f
[IMP]rma master data menus
AaronHForgeFlow Feb 14, 2020
9e0a0ce
[FIX]rma_account refund creation
AaronHForgeFlow Feb 14, 2020
28b3a56
[IMP]rma enable invoicing from settings
AaronHForgeFlow Feb 14, 2020
17df5c8
[ENH]rma_sale traceability
AaronHForgeFlow Jan 23, 2020
d99ec36
[FIX]rma report templates group
AaronHForgeFlow May 4, 2020
7121ba2
[IMP] Update pre-commit lints according with OCA ones
HviorForgeFlow May 29, 2020
800e267
[FIX] External ID not found in the system: account.res_partner_action…
Dec 17, 2020
f56dc3a
[IMP] rma: black, isort, prettier
MateuGForgeFlow Dec 18, 2020
94f8aa9
[MIG] rma: Migration to 14.0
MateuGForgeFlow Dec 18, 2020
17825fc
[IMP] rma
MateuGForgeFlow Dec 28, 2020
b6a46bf
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
1e087eb
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
d665cdd
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
2e64251
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
cce01ca
[FIX] rma: Create rma supplier action
MateuGForgeFlow Jan 15, 2021
dc54f92
[MIG] rma_account: Migration to 14.0
MateuGForgeFlow Jan 18, 2021
05d49d3
[14.0][IMP]Fill rma lines in tree (#156)
MateuGForgeFlow Feb 1, 2021
dc2e78d
[FIX] rma: toggle archive button removed in favor of web_ribbon.
LoisRForgeFlow Mar 26, 2021
1cc1037
[IMP] rma: Do not highlight all action buttons and simplify
LoisRForgeFlow Mar 26, 2021
bb41dc8
[14.0][FIX] warehouse rma location
RLeeOSI Mar 17, 2021
96652e6
[14.0][MIG] rma*: ir.actions.act_window has different access
LoisRForgeFlow Apr 16, 2021
1aed94e
Fix Pre-commit Websites
MateuGForgeFlow Oct 6, 2021
69a9d04
[rma][fix] allow to set back to approved a done rma
JordiBForgeFlow Oct 27, 2021
b15967e
[MIG] rma: Migration to 15.0
JasminSForgeFlow Jan 7, 2022
d9f44cf
[14.0][IMP]rma: make operation editable after approved
AaronHForgeFlow Jan 19, 2022
1bc58a1
[fix] rma: when using 2 step receipt or delivery, don't count double
JordiBForgeFlow Feb 2, 2022
1d5e8ed
[fix] rma: improve logic to count in and out pickings
JordiBForgeFlow Feb 3, 2022
def96e4
[FIX] rma: compute out_shipment_count correctly. Add test cases
JordiBForgeFlow Feb 7, 2022
1972c17
[IMP] rma: Added serial/lot selection on from stock move wizard on rm…
ChrisOForgeFlow Jan 25, 2022
872eed9
[IMP] rma, rma_sale: added select all, messages for UX
ChrisOForgeFlow Jan 28, 2022
c632151
[FIX] rma: add lot to pickings created from wizard on RMA lines
ChrisOForgeFlow Feb 7, 2022
61d4bc2
[15.0][ADD] Mass action for request approval RMA order line
ChrisOForgeFlow Feb 11, 2022
c071e04
[IMP] rma: Fix Route View
JasminSForgeFlow Feb 23, 2022
3e6ab2f
[FIX] rma: do not force reservation on supplier RMA deliveries
LoisRForgeFlow Mar 4, 2022
26abb66
[14.0][FIX] rma: separate stock.move by rma_line_id to fix picking as…
ChrisOForgeFlow Mar 3, 2022
58e68fe
[IMP] COPIER UPDATE: black, isort, prettier
AaronHForgeFlow Apr 22, 2022
4126a32
[FIX] Remove useless/bad wiz_id field in rma_make_picking.wizard item…
florian-dacosta May 3, 2022
42a60a8
Add missing fields in rma line editable tree in rma group
florian-dacosta Apr 29, 2022
77b0691
[IMP] rma: Refactor all rma modules in order to consider using the co…
JordiBForgeFlow Mar 2, 2022
dd9a1ed
[15.0][IMP] Tests for stock valuation
AaronHForgeFlow Mar 4, 2022
ec83c52
[13.0][FIX/IMP] Make RMA Operation settings company dependent
astirpe Apr 20, 2022
01e1cd1
[14.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 18, 2022
ed0c2c5
[15.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 19, 2022
645f5a7
[FIX] rma: missing migration scripts and version bump
LoisRForgeFlow May 25, 2022
157d403
[IMP] rma: add RMA reference to delivery slip report
LoisRForgeFlow May 13, 2022
3fbb9f3
[IMP] rma: add rma lines to group selecting serial numbers
LoisRForgeFlow May 23, 2022
5942fb0
[FIX] rma: prevent against warehouse mismatch or missing rules
StefanRijnhart Jun 15, 2022
75f9f15
[IMP] Improve multi-company record rules
Jun 16, 2022
0a9f8b2
[FIX]rma: remove test_rma dependency to Account
DavidJForgeFlow Jun 16, 2022
7cf369f
[FIX] rma: improve check on rule selection during procurement
StefanRijnhart Jun 24, 2022
e19036a
Hide smart button when empty
florian-dacosta Jun 8, 2022
0b21d97
[IMP] Make rma order view cleaner for user
florian-dacosta Jul 1, 2022
8985e2e
[IMP] rma: prevent the creation of zero qty moves
StefanRijnhart Jun 11, 2022
b0ea09d
[15.0][FIX] rma_sale: fixup of procurement
DavidJForgeFlow Jul 11, 2022
91b9922
[IMP] rma_sale: introduce new config settings.
JordiBForgeFlow Jun 26, 2022
3dea4c7
[FIX] include anglo-saxon price unit calculation in refunds.
JordiBForgeFlow Nov 21, 2022
9674cf2
[IMP] centralize the logic to get the correct cost of the RMA.
JordiBForgeFlow Nov 23, 2022
bd19dfe
[16.0][MIG] Migrate rma module to v16
florian-dacosta Nov 28, 2022
0ad6aee
[14.0][IMP] rma: pass product in create lot
DavidJForgeFlow Nov 30, 2022
e7fb9c2
[FIX] fix empty parter on rma picking
JordiBForgeFlow Nov 30, 2022
fb07abe
[IMP] rma: add translations
AnnaPForgeFlow Nov 7, 2022
5578696
[14.0][IMP] rma: add lot/serial in report
DavidJForgeFlow Dec 20, 2022
73e9e5b
[FIX] count produced products going to customer as out pickings
florian-dacosta May 3, 2022
85d29c8
[FIX] rma: Ensure that configuration on the operation is applied
LoisRForgeFlow Dec 28, 2022
f27a2a6
[IMP] rma: rma group supplier form view as a inherited view.
LoisRForgeFlow Jan 2, 2023
5751a62
[IMP] rma: add description to rma order and copy it over to new lines
LoisRForgeFlow Jan 2, 2023
e6db2a3
[IMP] rma: order by id desc
LoisRForgeFlow Jan 2, 2023
bbdf665
[IMP] rma: print serial/lot number in RMA group report
LoisRForgeFlow Jan 2, 2023
85a41e2
[FIX] rma: remove "Add new line" in RMA group.
LoisRForgeFlow Jan 5, 2023
64b50aa
[14.0][FIX] rma: add stock move in supplier group
DavidJForgeFlow Feb 1, 2023
59f6307
[FIX] Move some field from onchange to compute fields to avoid issues…
florian-dacosta Dec 1, 2022
188eee5
[IMP] rma: cancel rma_lines
DavidJForgeFlow Feb 14, 2023
5b6f7d5
[FIX] rma: in multi step routes, only reserve first step
LoisRForgeFlow Feb 21, 2023
f23bf0e
[IMP] rma: limit state statusbar
DavidJForgeFlow Feb 21, 2023
ef33d6e
[FIX] rma: deprecated test warning fix
DavidJForgeFlow Feb 22, 2023
b0e5a50
[16.0][FIX] rma: return of button done
DavidJForgeFlow Feb 22, 2023
77bd201
[FIX] rma: product_uom_qty not in move_line_ids
DavidJForgeFlow Mar 3, 2023
664ca15
[FIX] rma: make picking product_uom_qty
DavidJForgeFlow Mar 9, 2023
9ece347
[FIX] rma: some fixups
DavidJForgeFlow Mar 9, 2023
ccb31c6
[FIX] rma: get all partner RMA
DavidJForgeFlow May 2, 2023
67b438f
[FIX] rma: dropship from vendor as outgoing
DavidJForgeFlow May 2, 2023
1a0df49
[FIX] rma: get_move_rma dropship
DavidJForgeFlow May 2, 2023
5a29485
[FIX] rma: procurement origin
JoanSForgeFlow May 25, 2023
ab70142
[FIX] rma: correctly display fields in product category view
JordiMForgeFlow Oct 10, 2023
345ed20
rma : Fix description size in rma order line view form
florian-dacosta Oct 27, 2023
f32c607
[IMP] rma: add date to rma_order_line
DavidJForgeFlow Apr 28, 2023
b3086a3
[IMP] rma: date_rma in lines
AaronHForgeFlow Oct 27, 2023
a0960ad
[FIX] Restrict approval rights to RMA Manager
SergiCForgeFlow Apr 4, 2023
896f290
[14.0][IMP] added default operation on rma group, easy setup before r…
ChrisOForgeFlow Oct 27, 2023
e1b1c96
[FIX] rma: RMA location in the warehouse should not be inside stock
AaronHForgeFlow Nov 16, 2023
d34e208
[IMP] rma: mark RMA location as return location
JordiMForgeFlow Nov 20, 2023
2f5b5f9
[FIX] Delete rma_picking_wizard_item on cascade to avoid failure
florian-dacosta Nov 28, 2023
832bac3
[IMP] Remove domain from onchange method and put it in field view
florian-dacosta Nov 28, 2023
da87a21
[16.0][IMP] rma: rma group state
chafique-delli Mar 25, 2024
56d4224
[IMP] rma: black, isort, prettier
AaronHForgeFlow May 6, 2024
9e1af20
[MIG] rma: Migration to v17
CarlosVForgeFlow May 6, 2024
3e09090
[FIX] rma: lot reservation error:
AaronHForgeFlow May 6, 2024
fe4cdaa
[IMP] rma: Auto-calculate package for serial products
BernatPForgeFlow Aug 17, 2023
462df7a
[FIX] quants can be more than one on _gather function result
ChrisOForgeFlow Sep 26, 2023
f3fd697
[FIX] rma: Do not set 'Destination Package' if RMA package comes from…
BernatPForgeFlow Oct 25, 2023
a84cc04
[IMP] rma: add rma_line_id to stock.move views
DavidJForgeFlow Mar 5, 2024
1f22dc5
[FIX] rma: inventory user by default should not see RMAs
AaronHForgeFlow Oct 30, 2023
51bd805
[FIX] rma: vendor rma lot mnmg
AaronHForgeFlow Jul 12, 2024
3d5859f
[IMP] rma: adapt icon to v17
AaronHForgeFlow Jul 19, 2024
c8b8847
[IMP] rma : add index on stock_move.rma_line_id
florian-dacosta Sep 20, 2024
757254a
[16.0][FIX] rma, change filter of moves to allow select pickings with…
ChrisOForgeFlow Sep 16, 2024
53321aa
[FIX] rma: fix action that opens related RMA or RTV.
DavidJForgeFlow Sep 30, 2024
0cccb1f
[IMP] rma : propagate cancelation
florian-dacosta Aug 29, 2024
e7bbbd8
[16][FIX] rma: make date_rma stored once again on rma_order
florian-dacosta Nov 14, 2024
097a4ec
[IMP] rma: add report menu
DavidJForgeFlow Jul 8, 2024
75508eb
[IMP] rma: update configuration view
JasminSForgeFlow Jan 10, 2025
f9cddc2
[FIX] fix rma management using multi step routes
JordiBForgeFlow Nov 24, 2022
1a2ca0a
[14.0][FIX] rma, add support to handle package used on customer moves
ChrisOForgeFlow Jan 31, 2024
608bc58
[FIX] rma
DavidJForgeFlow Dec 10, 2024
abe6c66
[REF] rma: change stock_move_forced_lot to stock_restrict_lot
DavidJForgeFlow Jan 21, 2025
60097ad
[IMP] rma: Avoid error if group_id = False
BernatPForgeFlow Apr 3, 2023
d7752d4
[FIX] rma: _check_move_partner compare with RMA commercial partner
AlexPForgeFlow Nov 5, 2024
1b95789
[FIX] rma: qty received and shipped in case of multiple step receptio…
florian-dacosta Nov 7, 2024
4abd02d
[IMP] rma: Calculate expected date in pickings based on the customer …
JordiBForgeFlow Dec 2, 2024
3e69863
[IMP] rma: hide picking buttons when count == 0
DavidJForgeFlow Nov 15, 2024
63ec351
[FIX] rma: change invisible for column_invisible in tree views when t…
DavidJForgeFlow Feb 20, 2025
114d3f7
[14.0][IMP] rma: hide buttons when count is 0
MeritxellAForgeFlow Feb 24, 2025
645ed48
[FIX] rma: stock manager should not inherit rma manager permissions, …
AaronHForgeFlow Oct 17, 2024
2ccef12
[IMP] rma: black, isort, prettier
JasminSForgeFlow Feb 18, 2025
e873557
[MIG] rma: Migration to 18.0
JasminSForgeFlow Feb 18, 2025
4a6477f
[IMP] rma: Fix calculation for qty_to_receive
JasminSForgeFlow Mar 21, 2025
ded00a3
[16.0][IMP] rma: create incoming shipment from rma group
chafique-delli Mar 25, 2024
471892f
[IMP] create delivery from rma group
chafique-delli Apr 22, 2024
f0621b3
[IMP] create supplier rma from rma group
chafique-delli Apr 22, 2024
ad6f58e
[ADD] french translation for RMA module
chafique-delli Jul 4, 2024
c408e3b
[IMP] rma, rma_account, rma_sale: move override of rma.order views fr…
chafique-delli Sep 10, 2024
816ab0e
[FIX] rma, rma_account and rma_sale: following the comments that were…
chafique-delli Sep 9, 2024
338d149
[ADD] smart button for sales in rma group
chafique-delli Sep 16, 2024
56f7790
[FIX] rma : fix label and translations for incoming shipments
florian-dacosta Nov 8, 2024
b0b5ae2
[FIX] Remove highlight on supplier rma button
florian-dacosta Jan 24, 2025
7eb1e8d
[FIX] Change attrs to invisible attribute in rma view
florian-dacosta Jan 28, 2025
8844b7f
[FIX] rma: pre-commit
JasminSForgeFlow Apr 23, 2025
39886d0
[IMP] introduce fields in_force_same_lot and out_force_same_lot
JordiBForgeFlow Feb 26, 2024
a0ba340
[IMP] rma_put_away: pre-commit stuff
DavidJForgeFlow May 9, 2025
a176516
[IMP] rma: allow to specify custom supplier location.
AaronHForgeFlow May 7, 2025
3158b87
[FIX] rma: fixed warehouse rule and route creation
ArnauCForgeFlow Apr 25, 2025
da0f4c5
[FIX] rma: fixed inconsistencies with delivery quantities
ArnauCForgeFlow Apr 23, 2025
be7949e
[FIX] rma: change invisible for column_invisible in tree views when t…
DavidJForgeFlow Feb 20, 2025
92f220a
[FIX] dependency of qty_to_deliver field + take into account producti…
florian-dacosta Jun 24, 2025
337bbff
[IMP] Display product display name on incoming/outgoing stock move in…
florian-dacosta Feb 25, 2025
35e8e99
[IMP] Add hook for forcing reservation in incoming shipments
florian-dacosta May 5, 2025
3d871d5
[IMP] rma: remove forced lot assignment in RMA moves
ArnauCForgeFlow May 9, 2025
28ac43d
[FIX] rma: fix delivery sequence
ArnauCForgeFlow Jul 8, 2025
64b083d
[FIX] rma: RMA group view inbound vs outbound group
AaronHForgeFlow Jul 22, 2025
796de17
[IMP] rma: pre-commit auto fixes
AaronHForgeFlow Nov 18, 2025
4edde82
[MIG] rma: Migration to v19
AaronHForgeFlow Nov 18, 2025
66d50c8
!TO DROP [IMP] add test-requirements to stock_restrict_lot
AaronHForgeFlow Nov 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
164 changes: 164 additions & 0 deletions rma/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

======================================
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/license-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/19.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:%2019.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 <jordi.ballester@forgeflow.com>
- Aaron Henriquez <ahenriquez@forgeflow.com>
- Lois Rilo <lois.rilo@forgeflow.com>
- Bhavesh Odedra <bodedra@opensourceintegrators.com>
- Akim Juillerat <akim.juillerat@camptocamp.com>
- Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
- Chafique Delli <chafique.delli@akretion.com>
- Héctor Villarreal <hector.villarreal@forgeflow.com>

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

This module is part of the `ForgeFlow/stock-rma <https://github.com/ForgeFlow/stock-rma/tree/19.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": "19.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",
"report/report_deliveryslip.xml",
"wizards/rma_make_picking_view.xml",
"wizards/rma_add_stock_move_view.xml",
"wizards/rma_make_supplier_rma_view.xml",
"wizards/rma_add_serial_views.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",
],
"installable": True,
"application": True,
}
48 changes: 48 additions & 0 deletions rma/data/rma_operation.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?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" />
<field name="in_force_same_lot">True</field>
<field name="out_force_same_lot">False</field>
</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" />
<field name="in_force_same_lot">False</field>
<field name="out_force_same_lot">True</field>
</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>
41 changes: 41 additions & 0 deletions rma/data/rma_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?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