odoo-addon-rma 16.0.5.0.0.1__py3-none-any.whl → 16.0.5.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/rma/README.rst +6 -2
- odoo/addons/rma/__manifest__.py +1 -1
- odoo/addons/rma/i18n/it.po +44 -32
- odoo/addons/rma/models/rma.py +5 -5
- odoo/addons/rma/models/stock_move.py +4 -1
- odoo/addons/rma/static/description/index.html +19 -13
- odoo/addons/rma/tests/test_rma.py +11 -0
- odoo/addons/rma/wizard/stock_picking_return.py +0 -5
- {odoo_addon_rma-16.0.5.0.0.1.dist-info → odoo_addon_rma-16.0.5.0.1.dist-info}/METADATA +7 -3
- {odoo_addon_rma-16.0.5.0.0.1.dist-info → odoo_addon_rma-16.0.5.0.1.dist-info}/RECORD +12 -12
- {odoo_addon_rma-16.0.5.0.0.1.dist-info → odoo_addon_rma-16.0.5.0.1.dist-info}/WHEEL +0 -0
- {odoo_addon_rma-16.0.5.0.0.1.dist-info → odoo_addon_rma-16.0.5.0.1.dist-info}/top_level.txt +0 -0
odoo/addons/rma/README.rst
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
2
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
3
|
+
:alt: Odoo Community Association
|
4
|
+
|
1
5
|
===========================================
|
2
6
|
Return Merchandise Authorization Management
|
3
7
|
===========================================
|
@@ -7,13 +11,13 @@ Return Merchandise Authorization Management
|
|
7
11
|
!! This file is generated by oca-gen-addon-readme !!
|
8
12
|
!! changes will be overwritten. !!
|
9
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
10
|
-
!! source digest: sha256:
|
14
|
+
!! source digest: sha256:cac6b4039e044713ee69c313f5779dbc5bb1d78ebec22a50b0f5bf74b7da491a
|
11
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
12
16
|
|
13
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
14
18
|
:target: https://odoo-community.org/page/development-status
|
15
19
|
:alt: Production/Stable
|
16
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
20
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
17
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
18
22
|
:alt: License: AGPL-3
|
19
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github
|
odoo/addons/rma/__manifest__.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
{
|
6
6
|
"name": "Return Merchandise Authorization Management",
|
7
7
|
"summary": "Return Merchandise Authorization (RMA)",
|
8
|
-
"version": "16.0.5.0.
|
8
|
+
"version": "16.0.5.0.1",
|
9
9
|
"development_status": "Production/Stable",
|
10
10
|
"category": "RMA",
|
11
11
|
"website": "https://github.com/OCA/rma",
|
odoo/addons/rma/i18n/it.po
CHANGED
@@ -6,7 +6,7 @@ msgid ""
|
|
6
6
|
msgstr ""
|
7
7
|
"Project-Id-Version: Odoo Server 14.0\n"
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
9
|
-
"PO-Revision-Date: 2025-04
|
9
|
+
"PO-Revision-Date: 2025-06-04 09:26+0000\n"
|
10
10
|
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
11
11
|
"Language-Team: none\n"
|
12
12
|
"Language: it\n"
|
@@ -202,6 +202,8 @@ msgid ""
|
|
202
202
|
"<i class=\"fa fa-ellipsis-v\" role=\"img\" aria-label=\"Manage\" "
|
203
203
|
"title=\"Manage\"/>"
|
204
204
|
msgstr ""
|
205
|
+
"<i class=\"fa fa-ellipsis-v\" role=\"img\" aria-label=\"Gestione\" title="
|
206
|
+
"\"Gestione\"/>"
|
205
207
|
|
206
208
|
#. module: rma
|
207
209
|
#: model_terms:ir.ui.view,arch_db:rma.portal_rma_page
|
@@ -363,22 +365,22 @@ msgstr ""
|
|
363
365
|
#. module: rma
|
364
366
|
#: model_terms:ir.ui.view,arch_db:rma.rma_operation_kanban
|
365
367
|
msgid "<span>Awaiting action</span>"
|
366
|
-
msgstr ""
|
368
|
+
msgstr "<span>In attesa di azione</span>"
|
367
369
|
|
368
370
|
#. module: rma
|
369
371
|
#: model_terms:ir.ui.view,arch_db:rma.rma_operation_kanban
|
370
372
|
msgid "<span>Draft</span>"
|
371
|
-
msgstr ""
|
373
|
+
msgstr "<span>Bozza</span>"
|
372
374
|
|
373
375
|
#. module: rma
|
374
376
|
#: model_terms:ir.ui.view,arch_db:rma.rma_operation_kanban
|
375
377
|
msgid "<span>New</span>"
|
376
|
-
msgstr ""
|
378
|
+
msgstr "<span>Nuovo</span>"
|
377
379
|
|
378
380
|
#. module: rma
|
379
381
|
#: model_terms:ir.ui.view,arch_db:rma.rma_operation_kanban
|
380
382
|
msgid "<span>Processed</span>"
|
381
|
-
msgstr ""
|
383
|
+
msgstr "<span>Elaborato</span>"
|
382
384
|
|
383
385
|
#. module: rma
|
384
386
|
#: model_terms:ir.ui.view,arch_db:rma.portal_rma_page
|
@@ -587,20 +589,20 @@ msgstr "Numero allegati"
|
|
587
589
|
#. module: rma
|
588
590
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__auto_confirm_reception
|
589
591
|
msgid "Auto Confirm Reception"
|
590
|
-
msgstr ""
|
592
|
+
msgstr "Conferma automatica ricezione"
|
591
593
|
|
592
594
|
#. module: rma
|
593
595
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_delivery__automatic_after_receipt
|
594
596
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_refund__automatic_after_receipt
|
595
597
|
msgid "Automatically After Receipt"
|
596
|
-
msgstr ""
|
598
|
+
msgstr "Automaticamente alla ricezione"
|
597
599
|
|
598
600
|
#. module: rma
|
599
601
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_delivery__automatic_on_confirm
|
600
602
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_receipt__automatic_on_confirm
|
601
603
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_refund__automatic_on_confirm
|
602
604
|
msgid "Automatically on Confirm"
|
603
|
-
msgstr ""
|
605
|
+
msgstr "Automaticamente alla conferma"
|
604
606
|
|
605
607
|
#. module: rma
|
606
608
|
#: model_terms:ir.ui.view,arch_db:rma.rma_team_view_form
|
@@ -682,7 +684,7 @@ msgstr "Chiuso"
|
|
682
684
|
#. module: rma
|
683
685
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__color
|
684
686
|
msgid "Color"
|
685
|
-
msgstr ""
|
687
|
+
msgstr "Colore"
|
686
688
|
|
687
689
|
#. module: rma
|
688
690
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__color
|
@@ -753,17 +755,17 @@ msgstr ""
|
|
753
755
|
#. module: rma
|
754
756
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__count_rma_awaiting_action
|
755
757
|
msgid "Count Rma Awaiting Action"
|
756
|
-
msgstr ""
|
758
|
+
msgstr "Conteggio RMA in attesa di azione"
|
757
759
|
|
758
760
|
#. module: rma
|
759
761
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__count_rma_draft
|
760
762
|
msgid "Count Rma Draft"
|
761
|
-
msgstr ""
|
763
|
+
msgstr "Conteggio bozze RMA"
|
762
764
|
|
763
765
|
#. module: rma
|
764
766
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__count_rma_processed
|
765
767
|
msgid "Count Rma Processed"
|
766
|
-
msgstr ""
|
768
|
+
msgstr "Conteggio RMA elaborati"
|
767
769
|
|
768
770
|
#. module: rma
|
769
771
|
#: model:ir.model.fields,field_description:rma.field_stock_return_picking__create_rma
|
@@ -774,7 +776,7 @@ msgstr "Crea RMA"
|
|
774
776
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__action_create_receipt
|
775
777
|
#: model_terms:ir.ui.view,arch_db:rma.rma_view_form
|
776
778
|
msgid "Create Receipt"
|
777
|
-
msgstr ""
|
779
|
+
msgstr "Crea ricevuta"
|
778
780
|
|
779
781
|
#. module: rma
|
780
782
|
#: model_terms:ir.actions.act_window,help:rma.action_rma_finalization
|
@@ -784,7 +786,7 @@ msgstr "Crea una nuova chiusura RMA"
|
|
784
786
|
#. module: rma
|
785
787
|
#: model_terms:ir.actions.act_window,help:rma.rma_dashboard_action
|
786
788
|
msgid "Create a new RMA operation"
|
787
|
-
msgstr ""
|
789
|
+
msgstr "Crea una nuova operazione RMA"
|
788
790
|
|
789
791
|
#. module: rma
|
790
792
|
#: model_terms:ir.actions.act_window,help:rma.action_rma_tag
|
@@ -862,17 +864,17 @@ msgstr "Valori predefiniti"
|
|
862
864
|
#. module: rma
|
863
865
|
#: model:ir.model.fields,help:rma.field_rma_operation__action_create_delivery
|
864
866
|
msgid "Define how the delivery action should be handled."
|
865
|
-
msgstr ""
|
867
|
+
msgstr "Definire come deve essere gestita l'azione consegna."
|
866
868
|
|
867
869
|
#. module: rma
|
868
870
|
#: model:ir.model.fields,help:rma.field_rma_operation__action_create_receipt
|
869
871
|
msgid "Define how the receipt action should be handled."
|
870
|
-
msgstr ""
|
872
|
+
msgstr "Definire come deve essere gestita l'azione ricevuta."
|
871
873
|
|
872
874
|
#. module: rma
|
873
875
|
#: model:ir.model.fields,help:rma.field_rma_operation__action_create_refund
|
874
876
|
msgid "Define how the refund action should be handled."
|
875
|
-
msgstr ""
|
877
|
+
msgstr "Definire come deve essere gestita l'azione rimborso."
|
876
878
|
|
877
879
|
#. module: rma
|
878
880
|
#: model_terms:ir.ui.view,arch_db:rma.rma_redelivery_wizard_view_form
|
@@ -902,7 +904,7 @@ msgstr "Consegna"
|
|
902
904
|
#. module: rma
|
903
905
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__action_create_delivery
|
904
906
|
msgid "Delivery Action"
|
905
|
-
msgstr ""
|
907
|
+
msgstr "Azione consegna"
|
906
908
|
|
907
909
|
#. module: rma
|
908
910
|
#: model:ir.model.fields,field_description:rma.field_rma__delivery_picking_count
|
@@ -925,7 +927,7 @@ msgstr "Descrizione"
|
|
925
927
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__different_return_product
|
926
928
|
#: model:ir.model.fields,field_description:rma.field_stock_return_picking_line__different_return_product
|
927
929
|
msgid "Different Return Product"
|
928
|
-
msgstr ""
|
930
|
+
msgstr "Prodotto reso diverso"
|
929
931
|
|
930
932
|
#. module: rma
|
931
933
|
#: model:ir.model.fields,field_description:rma.field_rma__display_name
|
@@ -1012,6 +1014,8 @@ msgid ""
|
|
1012
1014
|
"Enable this option to automatically confirm the reception when the RMA is "
|
1013
1015
|
"confirmed."
|
1014
1016
|
msgstr ""
|
1017
|
+
"Abilitare questa opzione per confermare automaticamente le ricezione quando "
|
1018
|
+
"l'RMA è confermato."
|
1015
1019
|
|
1016
1020
|
#. module: rma
|
1017
1021
|
#. odoo-python
|
@@ -1144,6 +1148,8 @@ msgid ""
|
|
1144
1148
|
"If checked, allows the return of a product different from the one originally "
|
1145
1149
|
"ordered. Used if the delivery is created automatically"
|
1146
1150
|
msgstr ""
|
1151
|
+
"Se selezionata, consente il reso di un prodotto diverso da quello originale "
|
1152
|
+
"ordinato. Utilizzato se la consegna è creata automaticamente"
|
1147
1153
|
|
1148
1154
|
#. module: rma
|
1149
1155
|
#: model:ir.model.fields,help:rma.field_rma__message_needaction
|
@@ -1306,14 +1312,14 @@ msgstr "Responsabile"
|
|
1306
1312
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_delivery__manual_after_receipt
|
1307
1313
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_refund__manual_after_receipt
|
1308
1314
|
msgid "Manually After Receipt"
|
1309
|
-
msgstr ""
|
1315
|
+
msgstr "Manuale dopo la ricevuta"
|
1310
1316
|
|
1311
1317
|
#. module: rma
|
1312
1318
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_delivery__manual_on_confirm
|
1313
1319
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_receipt__manual_on_confirm
|
1314
1320
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_refund__manual_on_confirm
|
1315
1321
|
msgid "Manually on Confirm"
|
1316
|
-
msgstr ""
|
1322
|
+
msgstr "Manualmente alla conferma"
|
1317
1323
|
|
1318
1324
|
#. module: rma
|
1319
1325
|
#: model:ir.model.fields,field_description:rma.field_rma__message_has_error
|
@@ -1352,7 +1358,7 @@ msgstr "Nuovo"
|
|
1352
1358
|
#. module: rma
|
1353
1359
|
#: model:ir.actions.act_window,name:rma.action_rma_form
|
1354
1360
|
msgid "New RMA"
|
1355
|
-
msgstr ""
|
1361
|
+
msgstr "Nuovo RMA"
|
1356
1362
|
|
1357
1363
|
#. module: rma
|
1358
1364
|
#: model:ir.model.fields,field_description:rma.field_rma__activity_date_deadline
|
@@ -1421,7 +1427,7 @@ msgstr "Operazione"
|
|
1421
1427
|
#: model:ir.actions.act_window,name:rma.rma_operation_act_window
|
1422
1428
|
#: model:ir.ui.menu,name:rma.rma_operation_menu
|
1423
1429
|
msgid "Operations"
|
1424
|
-
msgstr ""
|
1430
|
+
msgstr "Operazioni"
|
1425
1431
|
|
1426
1432
|
#. module: rma
|
1427
1433
|
#: model:ir.model.fields,help:rma.field_rma_team__alias_force_thread_id
|
@@ -1462,7 +1468,7 @@ msgstr "Altre informazioni"
|
|
1462
1468
|
#. module: rma
|
1463
1469
|
#: model:ir.ui.menu,name:rma.rma_dashboard_menu
|
1464
1470
|
msgid "Overview"
|
1465
|
-
msgstr ""
|
1471
|
+
msgstr "Panoramica"
|
1466
1472
|
|
1467
1473
|
#. module: rma
|
1468
1474
|
#: model:ir.model.fields,field_description:rma.field_rma_team__alias_user_id
|
@@ -1556,6 +1562,7 @@ msgstr "Q.tà prodotto"
|
|
1556
1562
|
msgid ""
|
1557
1563
|
"Product to be returned if it's different from the originally delivered item."
|
1558
1564
|
msgstr ""
|
1565
|
+
"Prodotto da rendere se è diverso dall'oggetto consegnato originariamente."
|
1559
1566
|
|
1560
1567
|
#. module: rma
|
1561
1568
|
#: model:ir.model.fields,field_description:rma.field_rma_tag__is_public
|
@@ -1722,7 +1729,7 @@ msgstr "Tipo RMA in uscita"
|
|
1722
1729
|
#. module: rma
|
1723
1730
|
#: model:ir.actions.act_window,name:rma.rma_dashboard_action
|
1724
1731
|
msgid "RMA Overview"
|
1725
|
-
msgstr ""
|
1732
|
+
msgstr "Panoramica RMA"
|
1726
1733
|
|
1727
1734
|
#. module: rma
|
1728
1735
|
#: model_terms:ir.ui.view,arch_db:rma.res_config_settings_view_form
|
@@ -1909,7 +1916,7 @@ msgstr "Rimborso"
|
|
1909
1916
|
#. module: rma
|
1910
1917
|
#: model:ir.model.fields,field_description:rma.field_rma_operation__action_create_refund
|
1911
1918
|
msgid "Refund Action"
|
1912
|
-
msgstr ""
|
1919
|
+
msgstr "Azione rimborso"
|
1913
1920
|
|
1914
1921
|
#. module: rma
|
1915
1922
|
#: model:ir.model.fields,field_description:rma.field_rma__refund_line_id
|
@@ -2042,7 +2049,7 @@ msgstr "Riga prelievo di reso"
|
|
2042
2049
|
#: model:ir.model.fields,field_description:rma.field_rma__return_product_id
|
2043
2050
|
#: model:ir.model.fields,field_description:rma.field_stock_return_picking_line__return_product_id
|
2044
2051
|
msgid "Return Product"
|
2045
|
-
msgstr ""
|
2052
|
+
msgstr "Prodotto reso"
|
2046
2053
|
|
2047
2054
|
#. module: rma
|
2048
2055
|
#: model:ir.actions.act_window,name:rma.rma_delivery_wizard_action
|
@@ -2197,22 +2204,22 @@ msgstr "Indirizzo di spedizione per questo RMA."
|
|
2197
2204
|
#. module: rma
|
2198
2205
|
#: model:ir.model.fields,field_description:rma.field_rma__show_create_receipt
|
2199
2206
|
msgid "Show Create Receipt Button"
|
2200
|
-
msgstr ""
|
2207
|
+
msgstr "Visualizza pulsante crea ricevuta"
|
2201
2208
|
|
2202
2209
|
#. module: rma
|
2203
2210
|
#: model:ir.model.fields,field_description:rma.field_rma__show_create_return
|
2204
2211
|
msgid "Show Create Return Button"
|
2205
|
-
msgstr ""
|
2212
|
+
msgstr "Visualizza pulsante crea reso"
|
2206
2213
|
|
2207
2214
|
#. module: rma
|
2208
2215
|
#: model:ir.model.fields,field_description:rma.field_rma__show_create_refund
|
2209
2216
|
msgid "Show Create refund Button"
|
2210
|
-
msgstr ""
|
2217
|
+
msgstr "Visualizza pulsante crea rimborso"
|
2211
2218
|
|
2212
2219
|
#. module: rma
|
2213
2220
|
#: model:ir.model.fields,field_description:rma.field_rma__show_create_replace
|
2214
2221
|
msgid "Show Create replace Button"
|
2215
|
-
msgstr ""
|
2222
|
+
msgstr "Visualizza pulsante crea sostituzione"
|
2216
2223
|
|
2217
2224
|
#. module: rma
|
2218
2225
|
#: model:ir.model.fields,field_description:rma.field_rma__origin
|
@@ -2320,6 +2327,9 @@ msgid ""
|
|
2320
2327
|
"The RMA operation system allows you to configure each return operation\n"
|
2321
2328
|
" with specific settings that will adjust its behavior."
|
2322
2329
|
msgstr ""
|
2330
|
+
"Il sistema operazione RMA consente di configurare ogni operazione di reso\n"
|
2331
|
+
" con impostazioni specifiche che correggeranno il suo "
|
2332
|
+
"funzionamento."
|
2323
2333
|
|
2324
2334
|
#. module: rma
|
2325
2335
|
#: model:ir.model.fields,help:rma.field_rma_tag__active
|
@@ -2387,6 +2397,8 @@ msgid ""
|
|
2387
2397
|
"The selected operation requires a return product different from the "
|
2388
2398
|
"originally delivered item. Please select the product to return."
|
2389
2399
|
msgstr ""
|
2400
|
+
"L'operazione selezionata richiede un prodotto reso diverso dall'oggetto "
|
2401
|
+
"consegnato. Selezionare il prodotto da rendere."
|
2390
2402
|
|
2391
2403
|
#. module: rma
|
2392
2404
|
#: model:ir.model.fields,help:rma.field_rma_tag__is_public
|
@@ -2480,7 +2492,7 @@ msgstr "UdM"
|
|
2480
2492
|
#. module: rma
|
2481
2493
|
#: model:ir.model.fields.selection,name:rma.selection__rma_operation__action_create_refund__update_quantity
|
2482
2494
|
msgid "Update Quantities"
|
2483
|
-
msgstr ""
|
2495
|
+
msgstr "Aggiorna quantità"
|
2484
2496
|
|
2485
2497
|
#. module: rma
|
2486
2498
|
#: model:ir.model.fields.selection,name:rma.selection__rma__priority__1
|
odoo/addons/rma/models/rma.py
CHANGED
@@ -852,6 +852,10 @@ class Rma(models.Model):
|
|
852
852
|
self = self.filtered(lambda rma: rma.state == "draft")
|
853
853
|
if not self:
|
854
854
|
return
|
855
|
+
if not self.procurement_group_id:
|
856
|
+
self.procurement_group_id = self.env["procurement.group"].create(
|
857
|
+
self._prepare_procurement_group_vals()
|
858
|
+
)
|
855
859
|
self.write({"state": "confirmed"})
|
856
860
|
for rma in self:
|
857
861
|
rma._add_message_subscribe_partner()
|
@@ -1242,11 +1246,7 @@ class Rma(models.Model):
|
|
1242
1246
|
key=lambda rma: [rma._delivery_group_key()],
|
1243
1247
|
)
|
1244
1248
|
for _group, rmas in grouped_rmas:
|
1245
|
-
rmas = (
|
1246
|
-
self.browse()
|
1247
|
-
.concat(*list(rmas))
|
1248
|
-
.filtered(lambda rma: not rma.procurement_group_id)
|
1249
|
-
)
|
1249
|
+
rmas = self.browse().concat(*list(rmas))
|
1250
1250
|
if not rmas:
|
1251
1251
|
continue
|
1252
1252
|
proc_group = self.env["procurement.group"].create(
|
@@ -104,7 +104,10 @@ class StockMove(models.Model):
|
|
104
104
|
"""The main use is that launched delivery RMAs doesn't merge
|
105
105
|
two moves if they are linked to a different RMAs.
|
106
106
|
"""
|
107
|
-
return super()._prepare_merge_moves_distinct_fields() + [
|
107
|
+
return super()._prepare_merge_moves_distinct_fields() + [
|
108
|
+
"rma_id",
|
109
|
+
"rma_receiver_ids",
|
110
|
+
]
|
108
111
|
|
109
112
|
def _prepare_move_split_vals(self, qty):
|
110
113
|
"""Intended to the backport of picking linked to RMAs propagates the
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
5
|
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
6
|
-
<title>
|
6
|
+
<title>README.rst</title>
|
7
7
|
<style type="text/css">
|
8
8
|
|
9
9
|
/*
|
@@ -360,16 +360,21 @@ ul.auto-toc {
|
|
360
360
|
</style>
|
361
361
|
</head>
|
362
362
|
<body>
|
363
|
-
<div class="document"
|
364
|
-
<h1 class="title">Return Merchandise Authorization Management</h1>
|
363
|
+
<div class="document">
|
365
364
|
|
365
|
+
|
366
|
+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
|
367
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
|
368
|
+
</a>
|
369
|
+
<div class="section" id="return-merchandise-authorization-management">
|
370
|
+
<h1>Return Merchandise Authorization Management</h1>
|
366
371
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
367
372
|
!! This file is generated by oca-gen-addon-readme !!
|
368
373
|
!! changes will be overwritten. !!
|
369
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
370
|
-
!! source digest: sha256:
|
375
|
+
!! source digest: sha256:cac6b4039e044713ee69c313f5779dbc5bb1d78ebec22a50b0f5bf74b7da491a
|
371
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
372
|
-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/
|
377
|
+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/rma/tree/16.0/rma"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-rma"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
373
378
|
<p>This module allows you to manage <a class="reference external" href="https://en.wikipedia.org/wiki/Return_merchandise_authorization">Return Merchandise Authorization (RMA)</a>.
|
374
379
|
RMA documents can be created from scratch, from a delivery order or from
|
375
380
|
an incoming email. Product receptions and returning delivery operations
|
@@ -393,7 +398,7 @@ Besides, you have full integration of the RMA documents in the customer portal.<
|
|
393
398
|
</ul>
|
394
399
|
</div>
|
395
400
|
<div class="section" id="configuration">
|
396
|
-
<
|
401
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
|
397
402
|
<p>If you want RMAs to be created from incoming emails, you need to:</p>
|
398
403
|
<ol class="arabic simple">
|
399
404
|
<li>Go to <em>Settings > General Settings</em>.</li>
|
@@ -417,7 +422,7 @@ If you want to avoid this grouping you can:</p>
|
|
417
422
|
<p>The users will still be able to group those pickings from the wizard.</p>
|
418
423
|
</div>
|
419
424
|
<div class="section" id="usage">
|
420
|
-
<
|
425
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
|
421
426
|
<p>To use this module, you need to:</p>
|
422
427
|
<ol class="arabic simple">
|
423
428
|
<li>Go to <em>RMA > Orders</em> and create a new RMA.</li>
|
@@ -484,7 +489,7 @@ will be the default one if no team is set.</li>
|
|
484
489
|
</blockquote>
|
485
490
|
</div>
|
486
491
|
<div class="section" id="known-issues-roadmap">
|
487
|
-
<
|
492
|
+
<h2><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h2>
|
488
493
|
<ul class="simple">
|
489
494
|
<li>As soon as the picking is selected, the user should select the move,
|
490
495
|
but perhaps stock.move _rec_name could be improved to better show what
|
@@ -495,7 +500,7 @@ warehouse definition.</li>
|
|
495
500
|
</ul>
|
496
501
|
</div>
|
497
502
|
<div class="section" id="bug-tracker">
|
498
|
-
<
|
503
|
+
<h2><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h2>
|
499
504
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rma/issues">GitHub Issues</a>.
|
500
505
|
In case of trouble, please check there if your issue has already been reported.
|
501
506
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
@@ -503,15 +508,15 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
503
508
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
504
509
|
</div>
|
505
510
|
<div class="section" id="credits">
|
506
|
-
<
|
511
|
+
<h2><a class="toc-backref" href="#toc-entry-5">Credits</a></h2>
|
507
512
|
<div class="section" id="authors">
|
508
|
-
<
|
513
|
+
<h3><a class="toc-backref" href="#toc-entry-6">Authors</a></h3>
|
509
514
|
<ul class="simple">
|
510
515
|
<li>Tecnativa</li>
|
511
516
|
</ul>
|
512
517
|
</div>
|
513
518
|
<div class="section" id="contributors">
|
514
|
-
<
|
519
|
+
<h3><a class="toc-backref" href="#toc-entry-7">Contributors</a></h3>
|
515
520
|
<ul class="simple">
|
516
521
|
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
|
517
522
|
<li>Ernesto Tejeda</li>
|
@@ -528,7 +533,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
528
533
|
</ul>
|
529
534
|
</div>
|
530
535
|
<div class="section" id="maintainers">
|
531
|
-
<
|
536
|
+
<h3><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h3>
|
532
537
|
<p>This module is maintained by the OCA.</p>
|
533
538
|
<a class="reference external image-reference" href="https://odoo-community.org">
|
534
539
|
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
@@ -543,5 +548,6 @@ promote its widespread use.</p>
|
|
543
548
|
</div>
|
544
549
|
</div>
|
545
550
|
</div>
|
551
|
+
</div>
|
546
552
|
</body>
|
547
553
|
</html>
|
@@ -40,6 +40,9 @@ class TestRma(BaseCommon):
|
|
40
40
|
cls.product = cls.product_product.create(
|
41
41
|
{"name": "Product test 1", "type": "product"}
|
42
42
|
)
|
43
|
+
cls.product_2 = cls.product_product.create(
|
44
|
+
{"name": "Product test 2", "type": "product"}
|
45
|
+
)
|
43
46
|
cls.account_receiv = cls.env["account.account"].create(
|
44
47
|
{
|
45
48
|
"name": "Receivable",
|
@@ -915,3 +918,11 @@ class TestRmaCase(TestRma):
|
|
915
918
|
rma = self._receive_and_replace(self.partner, self.product, 2, self.rma_loc)
|
916
919
|
self.assertEqual(rma.reception_move_id.picking_type_id, rma_in_type)
|
917
920
|
self.assertEqual(rma.delivery_move_ids.picking_type_id, rma_out_type)
|
921
|
+
|
922
|
+
def test_grouping_reception_enabled(self):
|
923
|
+
rma_1 = self._create_rma(self.partner, self.product, 10, self.rma_loc)
|
924
|
+
rma_2 = self._create_rma(self.partner, self.product_2, 10, self.rma_loc)
|
925
|
+
(rma_1 | rma_2).action_confirm()
|
926
|
+
self.assertEqual(
|
927
|
+
rma_1.reception_move_id.picking_id, rma_2.reception_move_id.picking_id
|
928
|
+
)
|
@@ -108,10 +108,6 @@ class ReturnPicking(models.TransientModel):
|
|
108
108
|
def _prepare_rma_vals(self):
|
109
109
|
partner, partner_invoice, partner_shipping = self._prepare_rma_partner_values()
|
110
110
|
origin = self.picking_id.name
|
111
|
-
vals = self.env["rma"]._prepare_procurement_group_vals()
|
112
|
-
vals["partner_id"] = partner_shipping.id
|
113
|
-
vals["name"] = origin
|
114
|
-
group = self.env["procurement.group"].create(vals)
|
115
111
|
return {
|
116
112
|
"user_id": self.env.user.id,
|
117
113
|
"partner_id": partner.id,
|
@@ -120,7 +116,6 @@ class ReturnPicking(models.TransientModel):
|
|
120
116
|
"origin": origin,
|
121
117
|
"picking_id": self.picking_id.id,
|
122
118
|
"company_id": self.company_id.id,
|
123
|
-
"procurement_group_id": group.id,
|
124
119
|
}
|
125
120
|
|
126
121
|
def _prepare_rma_vals_list(self):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-rma
|
3
|
-
Version: 16.0.5.0.
|
3
|
+
Version: 16.0.5.0.1
|
4
4
|
Summary: Return Merchandise Authorization (RMA)
|
5
5
|
Home-page: https://github.com/OCA/rma
|
6
6
|
Author: Tecnativa, Odoo Community Association (OCA)
|
@@ -14,6 +14,10 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Requires-Python: >=3.10
|
15
15
|
Requires-Dist: odoo<16.1dev,>=16.0a
|
16
16
|
|
17
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
18
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
19
|
+
:alt: Odoo Community Association
|
20
|
+
|
17
21
|
===========================================
|
18
22
|
Return Merchandise Authorization Management
|
19
23
|
===========================================
|
@@ -23,13 +27,13 @@ Return Merchandise Authorization Management
|
|
23
27
|
!! This file is generated by oca-gen-addon-readme !!
|
24
28
|
!! changes will be overwritten. !!
|
25
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
26
|
-
!! source digest: sha256:
|
30
|
+
!! source digest: sha256:cac6b4039e044713ee69c313f5779dbc5bb1d78ebec22a50b0f5bf74b7da491a
|
27
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
28
32
|
|
29
33
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
30
34
|
:target: https://odoo-community.org/page/development-status
|
31
35
|
:alt: Production/Stable
|
32
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
36
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
33
37
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
34
38
|
:alt: License: AGPL-3
|
35
39
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github
|
@@ -1,6 +1,6 @@
|
|
1
|
-
odoo/addons/rma/README.rst,sha256=
|
1
|
+
odoo/addons/rma/README.rst,sha256=KoArkLSpfB9wFbjL3qyBhCLty_kM6db7-1A--FmvH5I,8402
|
2
2
|
odoo/addons/rma/__init__.py,sha256=KD8ElbTlUwRgGDQzvMIqp-WeEXGTuHqQT352BCbK2I0,168
|
3
|
-
odoo/addons/rma/__manifest__.py,sha256=
|
3
|
+
odoo/addons/rma/__manifest__.py,sha256=KqYDmVHkPRYyj_NXThxY72CQmfXZglNk0uEQHbyJ5Fo,1593
|
4
4
|
odoo/addons/rma/hooks.py,sha256=Zd5KcqVj_ONKV-GyrZiXOAmdRGBRRczJGdhrgUrzY_s,3320
|
5
5
|
odoo/addons/rma/controllers/__init__.py,sha256=ZAYSY9pxyJjumL2QVLuxqtBzjLwKPiQsVXMBAWvNGGY,85
|
6
6
|
odoo/addons/rma/controllers/main.py,sha256=lmi25T49fDnCoUSqqr8eibwVXa6lMANwbkFuHhUxgZg,5426
|
@@ -11,7 +11,7 @@ odoo/addons/rma/i18n/de.po,sha256=HF9AR-xktsdivw85fi7nZTOeal3lcPPcbB-0b_NWcm4,94
|
|
11
11
|
odoo/addons/rma/i18n/de_AT.po,sha256=H-EM0l7zvjEkHd7SOIiEQvXO3sERFbG6LyF9TSmxJmI,72145
|
12
12
|
odoo/addons/rma/i18n/es.po,sha256=ExRywJQ3v_u9q4QBSrnMg5f6Ss2myRYLaCffnFPLHig,98179
|
13
13
|
odoo/addons/rma/i18n/fr.po,sha256=fLEQuzsctj8WL-B6LwmbEIL6ub5vy0OQg-Sq-PgXOwM,88167
|
14
|
-
odoo/addons/rma/i18n/it.po,sha256=
|
14
|
+
odoo/addons/rma/i18n/it.po,sha256=ZiUtrdYsELWubgvhtrRgYUI1A4yPz_4dzaMQbSFsgBc,98858
|
15
15
|
odoo/addons/rma/i18n/nl.po,sha256=eVPCTYxViQmgJoQVrFjZDvQh__b79h_FnY-5cl_Q3BY,72142
|
16
16
|
odoo/addons/rma/i18n/pt.po,sha256=1ETSyUkIgmNmcC0fPwEfx0gcS216xYJlJQuiD4PplPY,84045
|
17
17
|
odoo/addons/rma/i18n/pt_BR.po,sha256=6RRKzwoMnypnkSMsy-hayld0dX3pCD_V0V-0wOV3S6Y,83298
|
@@ -25,12 +25,12 @@ odoo/addons/rma/models/res_company.py,sha256=46aercxmY3p3t0JoIzlSSP_pjkvjaQb1pHR
|
|
25
25
|
odoo/addons/rma/models/res_config_settings.py,sha256=-X3NWCfEG1LJ2iE2dYl3Ut-suDskrHMkp0D597EFhIw,1493
|
26
26
|
odoo/addons/rma/models/res_partner.py,sha256=hwa0H6OIniUcTp5xjsRGmtkDHb1rMbZXRo7IsRqL-4U,1217
|
27
27
|
odoo/addons/rma/models/res_users.py,sha256=43A5IHYXEXe9M4G0cONf1l7EZ1AWl5mhWJ24EdtAfhI,351
|
28
|
-
odoo/addons/rma/models/rma.py,sha256=
|
28
|
+
odoo/addons/rma/models/rma.py,sha256=ULRer9G_bY-ZTeR3YNvpc3ijZMO2VwraCFOVrGQB19U,58295
|
29
29
|
odoo/addons/rma/models/rma_finalization.py,sha256=kgJ6EFWBXJKGCwKy7bbWRUynExsCMQyjqcflDpvwtaE,681
|
30
30
|
odoo/addons/rma/models/rma_operation.py,sha256=9fmCVOgeUzbxcVViqjgKIMfoH-JO7YZqjO_iZ_CKD7U,5858
|
31
31
|
odoo/addons/rma/models/rma_tag.py,sha256=RVFLyo8XmgjK_ftrRHWiEtzUQGs4b-OMhg0hwr-5Rzw,833
|
32
32
|
odoo/addons/rma/models/rma_team.py,sha256=5gyghbFOE4RR6dR5TQ1lRC4kK88i6G51V3dlY9gN6EY,1935
|
33
|
-
odoo/addons/rma/models/stock_move.py,sha256=
|
33
|
+
odoo/addons/rma/models/stock_move.py,sha256=hQiKdKD66Oxyd5aa5uicQFOPkX_vR1bmjafMOmCdbo0,4989
|
34
34
|
odoo/addons/rma/models/stock_picking.py,sha256=z9FcgyEjzQDk4Cptk_b6A4LjY-4J3E7JHF8jFeFnWvw,1413
|
35
35
|
odoo/addons/rma/models/stock_warehouse.py,sha256=DbmWYLe3cFS9wuf8Rzz0k5m75EXruMpXTp87OhP4Mrs,8216
|
36
36
|
odoo/addons/rma/readme/CONFIGURE.rst,sha256=18sDF1e6lSdLnaWb6R1MVCgqT1-5QTaazG9HQKySdlg,796
|
@@ -42,9 +42,9 @@ odoo/addons/rma/report/report.xml,sha256=rMg9_lccL-dJClHvMCmRI1Feh499gnExeskIylc
|
|
42
42
|
odoo/addons/rma/security/ir.model.access.csv,sha256=zACDkLgOfICGiJGb4A9RNKbtlpBcFIC4rDZxESyBzbQ,1724
|
43
43
|
odoo/addons/rma/security/rma_security.xml,sha256=_tz_MXqW8bWfzGhgQ3pDI7xdx6tX321DrkIaRAd2W6E,5374
|
44
44
|
odoo/addons/rma/static/description/icon.png,sha256=0VH8J6xmJMYW0dBaW-Ts-Gm5oRvbf9mOglT4vqUKxdU,7450
|
45
|
-
odoo/addons/rma/static/description/index.html,sha256=
|
45
|
+
odoo/addons/rma/static/description/index.html,sha256=4RspGqE3B_l5e6muupzchxia_436NOOKVwiC3J1LjzM,19399
|
46
46
|
odoo/addons/rma/tests/__init__.py,sha256=X6dddCmdfZT9glqjpjtcAoIigt-OBX6hth6bDVYrvy4,155
|
47
|
-
odoo/addons/rma/tests/test_rma.py,sha256=
|
47
|
+
odoo/addons/rma/tests/test_rma.py,sha256=mbjlSG5s9eeooFfWEMF-XE0VvzWaBxE39LX5cS7wUUg,41420
|
48
48
|
odoo/addons/rma/tests/test_rma_dashboard.py,sha256=HZS8QswRx34it3RQalIiNwvsXRlNpYwIa9RvxVLZHEM,3238
|
49
49
|
odoo/addons/rma/tests/test_rma_operation.py,sha256=wVCkP6ZQbnxCGDSdJ0GuieoI4g2fs9H31uXyDpF1i0w,14229
|
50
50
|
odoo/addons/rma/views/dashboard.xml,sha256=sf8IbRXeHeWRzeWQeJH8SdacXiPJJhJ2e1rnDLAJJrE,9541
|
@@ -67,9 +67,9 @@ odoo/addons/rma/wizard/rma_finalization_wizard.py,sha256=nT5Gb_Itl4289pIsN7h7vNa
|
|
67
67
|
odoo/addons/rma/wizard/rma_finalization_wizard_views.xml,sha256=q0rKm6iQum0P73muhWo_CxisVv5rExesPbR_FExV8fg,1346
|
68
68
|
odoo/addons/rma/wizard/rma_split.py,sha256=PZuVAGCXzRkycxJQIgfbPY__EPRXGPAkiKaGXLsnPbM,2099
|
69
69
|
odoo/addons/rma/wizard/rma_split_views.xml,sha256=jtrUmgS9rsUfbgx6y77cUXPnmd1ObY7lmQ_8XZDxxuo,1581
|
70
|
-
odoo/addons/rma/wizard/stock_picking_return.py,sha256=
|
70
|
+
odoo/addons/rma/wizard/stock_picking_return.py,sha256=poQsNCMZOBYGuODACKaF9QH0mj6LHd3jMkKkVrYdxXU,7221
|
71
71
|
odoo/addons/rma/wizard/stock_picking_return_views.xml,sha256=mvVA1z7Z4NoUnq5gnRx-eFYyEe9zrAoTQ1gnCbyLVeE,2060
|
72
|
-
odoo_addon_rma-16.0.5.0.
|
73
|
-
odoo_addon_rma-16.0.5.0.
|
74
|
-
odoo_addon_rma-16.0.5.0.
|
75
|
-
odoo_addon_rma-16.0.5.0.
|
72
|
+
odoo_addon_rma-16.0.5.0.1.dist-info/METADATA,sha256=lxdM5lKf0Gkvg3l0bNCO1gUvTeEt8n7LkCWfxHTNYOE,8964
|
73
|
+
odoo_addon_rma-16.0.5.0.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
74
|
+
odoo_addon_rma-16.0.5.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
75
|
+
odoo_addon_rma-16.0.5.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|