-
-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
36 changed files
with
3,675 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:e2a2dd1d73c3c13ce90b5583f8c54c1a820658328338ddbf933ee5dc52dff6bc | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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/17.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-17-0/rma-17-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=17.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:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* 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/17.0/product_warranty>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "17.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"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.