Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[18.0][MIG] product_warranty: Migration to 18.0 #436

Open
wants to merge 62 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
e47dd39
[INIT] crm_claim_rma & product_warranty
Oct 12, 2011
6d1d0b8
Added security rights for product_warranty
Dec 15, 2011
1e0a3b0
[UPDATE]
Jan 3, 2012
4148ee6
[IMP] product_warranty: add waranty_return_address on the product_sup…
bguillot Sep 12, 2012
a243db3
[FIX] product_waranty : fix syntax error
sebastienbeau Sep 12, 2012
46ba5e0
[UPDATE] website
Sep 14, 2012
9dacc0b
[ADD] Spanish translation for crm_claim_rma and product_warranty
Jan 17, 2013
fd9fc07
[FIX] fix security rule syntax in crm_claim_rma and product warranty
bealdav Feb 11, 2013
d4ae547
[IMP] 7.0 initial version
Feb 22, 2013
8d71621
[UPD] Remove references to res.partner.address
Aug 6, 2013
d045b21
[IMP] Clean the product waranty module (PEP8) + remove use of brand a…
jgrandguillaume Nov 14, 2013
20ecc41
[FIX] crm_claim.date is a datetime, error when a product has no suppl…
guewen Dec 3, 2013
7aaf351
Launchpad automatic translations update.
Jan 23, 2014
56d7bb0
Clean a bit of PEP8 things
jgrandguillaume Jul 16, 2014
e7f2cd2
[PRT] Move modules to __unported__ for 8.0 branch creation
Feb 2, 2015
a9993ca
[IMP] Port product_warranty
mistotebe Apr 23, 2015
f33748d
[IMP] product_warranty module is migrated to API 8.0 and odoo 8.0
Aug 3, 2015
59eab5b
[FIX] typo on comment being refered to an unexistent field.
nhomar Aug 5, 2015
6200c91
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
e7d039e
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
435314e
product_warranty: migration V9
Apr 21, 2016
d01f19c
[FIX] file naming of view files
May 16, 2016
3b1e1e9
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
b01c7b0
Migrate to v10.0
bimajatiwijaya May 24, 2017
161afad
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
e2ea688
[MIG] Migrate product_warranty to 11.0
osi-scampbell Jan 4, 2019
b77e46a
[MIG][12.0] product_warranty
murtuzasaleh Apr 23, 2019
263d61d
[FIX] product_warranty: Avoid error in .po
pedrobaeza Jun 22, 2020
516e781
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jul 22, 2020
99cfa0e
Translated using Weblate (Portuguese (Brazil))
fcolus Jul 22, 2020
0345166
Translated using Weblate (Spanish)
pedrobaeza Aug 22, 2020
2c62158
[IMP] product_warranty: black, isort, prettier
Nov 2, 2020
5183be9
[MIG] product_warranty: Migration to 13.0
Nov 2, 2020
5e79d98
Added translation using Weblate (Romanian)
dhongu Dec 11, 2020
521c855
Translated using Weblate (Romanian)
dhongu Dec 11, 2020
50d0ca1
Added translation using Weblate (Dutch)
bosd Dec 13, 2020
b7ab5fa
Translated using Weblate (Dutch)
bosd Dec 13, 2020
948f273
Translated using Weblate (Romanian)
dhongu Dec 19, 2020
08cbb04
Translated using Weblate (Romanian)
dhongu Dec 20, 2020
975bb9f
[IMP] product_warranty: black, isort, prettier
Aug 11, 2021
7508184
[MIG] product_warranty: Migration to 14.0
Aug 11, 2021
decf33c
Added translation using Weblate (Italian)
SicurSam Mar 31, 2022
28d4310
Translated using Weblate (Italian)
SicurSam Mar 31, 2022
b407c18
[MIG] : Migration to 15.0
SilvioC2C May 14, 2022
a4084d8
[IMP] product_warranty: pre-commit stuff
Nov 29, 2022
6bcf4cb
[MIG] product_warranty: Migration to 16.0
Nov 29, 2022
e65aca8
[UPD] Update product_warranty.pot
Jul 17, 2023
1d5f5a0
[UPD] README.rst
OCA-git-bot Jul 17, 2023
0adb077
Update translation files
weblate Jul 17, 2023
2f5a168
Translated using Weblate (French)
Aug 15, 2023
2078962
[UPD] README.rst
OCA-git-bot Sep 3, 2023
99ec11a
Translated using Weblate (Spanish)
Ivorra78 Aug 25, 2023
52ffbd6
Update translation files
weblate Oct 9, 2023
9c8b4ad
Translated using Weblate (Italian)
mymage Dec 20, 2023
6258466
Translated using Weblate (French)
kbentaleb Jan 8, 2024
6df754e
Translated using Weblate (Portuguese (Brazil))
May 21, 2024
f41601d
[IMP] product_warranty: pre-commit auto fixes
peluko00 May 31, 2024
aca2dbd
[MIG] product_warranty: Migration to 17.0
peluko00 May 31, 2024
5822d49
[UPD] Update product_warranty.pot
Jun 5, 2024
df0fc04
[BOT] post-merge updates
OCA-git-bot Jun 5, 2024
c44559d
Update translation files
weblate Jun 5, 2024
1fb9b8b
[MIG] product_warranty: Migration to 18.0
peluko00 Nov 12, 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
135 changes: 135 additions & 0 deletions product_warranty/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
================
Product Warranty
================

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

.. |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/licence-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/18.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-18-0/rma-18-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=18.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:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Akretion
* Vauxoo

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

- Emmanuel Samyn <[email protected]>
- Paulius Sladkevičius <[email protected]>
- Benoît Guillot <[email protected]>
- David Beal <[email protected]>
- Maxime Chambreuil <[email protected]>
- Joël Grand-Guillaume <[email protected]>
- Ondřej Kuzník <[email protected]>
- Yanina Aular <[email protected]>
- Cyril Gaudin <[email protected]>
- Bima Jati Wijaya <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <[email protected]>

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/18.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": "18.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
Loading