Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
2f574c8
[INIT] crm_claim_rma & product_warranty
Oct 12, 2011
543c2ff
Added security rights for product_warranty
Dec 15, 2011
b4d3206
[UPDATE]
Jan 3, 2012
ff3da97
[IMP] product_warranty: add waranty_return_address on the product_sup…
bguillot Sep 12, 2012
db32d41
[FIX] product_waranty : fix syntax error
sebastienbeau Sep 12, 2012
cef0a6b
[UPDATE] website
Sep 14, 2012
597981d
[ADD] Spanish translation for crm_claim_rma and product_warranty
Jan 17, 2013
aeb2177
[FIX] fix security rule syntax in crm_claim_rma and product warranty
bealdav Feb 11, 2013
c3c5d4b
[IMP] 7.0 initial version
Feb 22, 2013
385f7f2
[UPD] Remove references to res.partner.address
Aug 6, 2013
1389e07
[IMP] Clean the product waranty module (PEP8) + remove use of brand a…
jgrandguillaume Nov 14, 2013
1041a49
[FIX] crm_claim.date is a datetime, error when a product has no suppl…
Dec 3, 2013
4a158f2
Launchpad automatic translations update.
Jan 23, 2014
ac55315
Clean a bit of PEP8 things
jgrandguillaume Jul 16, 2014
bf608db
[PRT] Move modules to __unported__ for 8.0 branch creation
Feb 2, 2015
5481e34
[IMP] Port product_warranty
mistotebe Apr 23, 2015
c3f0e7e
[IMP] product_warranty module is migrated to API 8.0 and odoo 8.0
Aug 3, 2015
75ebbc5
[FIX] typo on comment being refered to an unexistent field.
nhomar Aug 5, 2015
f44da44
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
50a0714
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
e846f18
product_warranty: migration V9
Apr 21, 2016
d831bca
[FIX] file naming of view files
May 16, 2016
3d8ed1a
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
a0441d1
Migrate to v10.0
bimajatiwijaya May 24, 2017
c903208
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
0cc98aa
[MIG] Migrate product_warranty to 11.0
osi-scampbell Jan 4, 2019
87f943e
[MIG][12.0] product_warranty
murtuzasaleh Apr 23, 2019
36b7d1a
[FIX] product_warranty: Avoid error in .po
pedrobaeza Jun 22, 2020
6918086
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jul 22, 2020
54edce1
Translated using Weblate (Portuguese (Brazil))
fcolus Jul 22, 2020
18fed2a
Translated using Weblate (Spanish)
pedrobaeza Aug 22, 2020
131e635
[IMP] product_warranty: black, isort, prettier
Nov 2, 2020
1460ab1
[MIG] product_warranty: Migration to 13.0
Nov 2, 2020
6e59b72
Added translation using Weblate (Romanian)
dhongu Dec 11, 2020
6cd5957
Translated using Weblate (Romanian)
dhongu Dec 11, 2020
349252f
Added translation using Weblate (Dutch)
bosd Dec 13, 2020
9a3246a
Translated using Weblate (Dutch)
bosd Dec 13, 2020
27ab8af
Translated using Weblate (Romanian)
dhongu Dec 19, 2020
dc01e50
Translated using Weblate (Romanian)
dhongu Dec 20, 2020
416685e
[IMP] product_warranty: black, isort, prettier
Aug 11, 2021
b84b8a2
[MIG] product_warranty: Migration to 14.0
Aug 11, 2021
dac595f
Added translation using Weblate (Italian)
SicurSam Mar 31, 2022
4c2fc7a
Translated using Weblate (Italian)
SicurSam Mar 31, 2022
4651272
[MIG] : Migration to 15.0
SilvioC2C May 14, 2022
fc5b896
[IMP] product_warranty: pre-commit stuff
Nov 29, 2022
c648923
[MIG] product_warranty: Migration to 16.0
Nov 29, 2022
351ff8a
[UPD] Update product_warranty.pot
Jul 17, 2023
d8dd25d
[UPD] README.rst
OCA-git-bot Jul 17, 2023
34e7b34
Update translation files
weblate Jul 17, 2023
cd5b5b4
Translated using Weblate (French)
Aug 15, 2023
6ac2ee9
[UPD] README.rst
OCA-git-bot Sep 3, 2023
276803c
Translated using Weblate (Spanish)
Ivorra78 Aug 25, 2023
ab75ff8
Update translation files
weblate Oct 9, 2023
f9891b8
Translated using Weblate (Italian)
mymage Dec 20, 2023
1bab445
Translated using Weblate (French)
kbentaleb Jan 8, 2024
fd8479f
Translated using Weblate (Portuguese (Brazil))
May 21, 2024
4e62fd1
[IMP] product_warranty: pre-commit auto fixes
May 31, 2024
2a81a7d
[MIG] product_warranty: Migration to 17.0
May 31, 2024
16981d8
[UPD] Update product_warranty.pot
Jun 5, 2024
9142e2c
[BOT] post-merge updates
OCA-git-bot Jun 5, 2024
f63d764
Update translation files
weblate Jun 5, 2024
98ad1d3
[MIG] product_warranty: Migration to 18.0
Nov 12, 2024
ca0196b
[UPD] Update product_warranty.pot
Nov 18, 2024
39add9d
[BOT] post-merge updates
OCA-git-bot Nov 18, 2024
99e94aa
Translated using Weblate (Italian)
mymage Sep 8, 2025
396d617
Translated using Weblate (Italian)
mymage Oct 29, 2025
7240627
[MIG] product_warranty: Migration to 19.0
fredericgrall Nov 17, 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
141 changes: 141 additions & 0 deletions product_warranty/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

================
Product Warranty
================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github
:target: https://github.com/OCA/rma/tree/19.0/product_warranty
:alt: OCA/rma
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/rma-19-0/rma-19-0-product_warranty
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of 'Sales Management' to allows
you to set product warranty details on products and product-supplier
relation.

**Table of contents**

.. contents::
:local:

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

To manage the available return instructions, enable debug mode and go to
*Sales -> Configuration -> Product Return Instructions*.

Usage
=====

To use this module, you need to:

1. Go to *Sales > Products > Products (or Product Variants)*
2. Create a new product (or product variant) or edit an existing one and
set 'Warranty Duration' under 'Sales' tab.
3. If 'Purchase' module is installed, got to *Sales > Products >
Products (or Product Variants)*, go to 'Purchase' tab, edit supplier
information lines an set the warranty information for each one.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/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/OCA/rma/issues/new?body=module:%20product_warranty%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
-------

* Akretion
* Vauxoo

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

- Emmanuel Samyn <esamyn@gmail.com>
- Paulius Sladkevičius <paulius@inovera.lt>
- Benoît Guillot <benoit.guillot@akretion.com.br>
- David Beal <david.beal@akretion.com>
- Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
- Joël Grand-Guillaume <joel.grandguillaume@gmail.com>
- Ondřej Kuzník <ondrej.kuznik@credativ.co.uk>
- Yanina Aular <yanina.aular@vauxoo.com>
- Cyril Gaudin <cyril.gaudin@camptocamp.com>
- Bima Jati Wijaya <bimajatiwijaya@gmail.com>
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <amarroig@apsl.net>

- Frederic Grall <fgr@apik.cloud>

Other credits
-------------

This module has been financially supported by:

- Inovera <https://www.inovera.lt>
- Akretion Brazil <https://www.akretion.com.br>
- Akretion <https://www.akretion.com>
- Savoir-faire Linux <https://www.savoirfairelinux.com>
- Credativ <https://www.credativ.co.uk>
- Vauxoo <https://www.vauxoo.com>
- Camp 2 Camp <https://camptocamp.com>
- Open Source Integrators <https://www.opensourceintegrators.com>

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

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-osi-scampbell| image:: https://github.com/osi-scampbell.png?size=40px
:target: https://github.com/osi-scampbell
:alt: osi-scampbell
.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
:target: https://github.com/max3903
:alt: max3903

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-osi-scampbell| |maintainer-max3903|

This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/19.0/product_warranty>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions product_warranty/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
23 changes: 23 additions & 0 deletions product_warranty/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (C) 2009-2011 Akretion, Emmanuel Samyn
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Product Warranty",
"version": "19.0.1.0.0",
"category": "Generic Modules/Product",
"author": "Akretion, Vauxoo, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/rma",
"license": "AGPL-3",
"depends": ["sale_management"],
"data": [
"security/ir.model.access.csv",
"views/res_company_views.xml",
"views/product_supplierinfo_views.xml",
"views/product_template_views.xml",
"views/return_instructions_views.xml",
],
"demo": ["demo/product_warranty.xml", "demo/res_company.xml"],
"images": ["images/product_warranty.png"],
"development_status": "Production/Stable",
"maintainers": ["osi-scampbell", "max3903"],
}
73 changes: 73 additions & 0 deletions product_warranty/demo/product_warranty.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="return_instruction_1" model="return.instruction">
<field name="name">Default Instruction</field>
<field name="instructions">To return a product purchased through our
platform vendor Marketplace access our online Returns Center and
click Return products to begin the application process for the
return.
Select the product you want to return and the reason for the
return. You will need you to provide detailed information to enable
the seller to handle your request. Once the seller has reviewed
your application, it will respond by e-mail within 3 working days.
</field>
<field name="is_default">1</field>
</record>
<record id="return_instruction_2" model="return.instruction">
<field name="name">Provisional Instruction</field>
<field name="instructions">Under the provisions of these Conditions of
Sale, you may return the products received once you have contacted
our customer service department adidas Mexico and the request is
authorized. If you choose to return your order, we will refund: the
full purchase price, as long as we have previously returned the
products you order in perfect condition: (i) new product unused,
(ii) with packaging, original box and tags (iii) be in the period
of 30 calendar days after receiving the product. If you do not
return the products to fulfill the above conditions, we are
entitled to charge the products or the costs of recovery.
</field>
</record>
<!-- Warranty Information of PC Assemble SC234 Product in Supplier Info -->
<record id="product.product_product_3_product_template" model="product.template">
<field name="warranty">5</field>
</record>
<record id="product_supplierinfo_warranty_31" model="product.supplierinfo">
<field name="return_instructions" ref="return_instruction_2" />
<field name="warranty_return_partner">other</field>
<field name="warranty_return_other_address" ref="base.res_partner_address_7" />
<field name="warranty_duration">8</field>
<field
name="product_tmpl_id"
ref="product.product_product_3_product_template"
/>
<field name="partner_id" ref="base.res_partner_4" />
<field name="delay">5</field>
<field name="min_qty">1</field>
</record>
<record id="product_supplierinfo_warranty_32" model="product.supplierinfo">
<field name="return_instructions" ref="return_instruction_1" />
<field name="warranty_return_partner">supplier</field>
<field name="warranty_duration">12</field>
<field
name="product_tmpl_id"
ref="product.product_product_3_product_template"
/>
<field name="partner_id" ref="base.res_partner_3" />
<field name="delay">5</field>
<field name="min_qty">1</field>
</record>
<!-- Warranty Information of iMac Product in Supplier Info -->
<record id="product.product_product_8_product_template" model="product.template">
<field name="warranty">5</field>
</record>
<record id="product.product_supplierinfo_5" model="product.supplierinfo">
<field name="return_instructions" ref="return_instruction_1" />
<field name="warranty_return_partner">supplier</field>
<field name="warranty_duration">10</field>
</record>
<record id="product.product_supplierinfo_6" model="product.supplierinfo">
<field name="return_instructions" ref="return_instruction_2" />
<field name="warranty_return_partner">supplier</field>
<field name="warranty_duration">6</field>
</record>
</odoo>
6 changes: 6 additions & 0 deletions product_warranty/demo/res_company.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="base.main_company" model="res.company">
<field name="crm_return_address_id" ref="base.res_partner_main1" />
</record>
</odoo>
Loading