[MIG] product_warranty: Migration to 13.0

This commit is contained in:
Ernesto Tejeda
2020-11-02 16:07:03 -05:00
committed by SilvioC2C
parent a3c5540505
commit 12601745fc
11 changed files with 54 additions and 52 deletions

View File

@@ -14,23 +14,19 @@ Product Warranty
: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/12.0/product_warranty
:target: https://github.com/OCA/rma/tree/13.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-12-0/rma-12-0-product_warranty
:target: https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/145/12.0
:target: https://runbot.odoo-community.org/runbot/145/13.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
Extends the product warranty management with warranty details on product /
supplier relation:
* Supplier warranty duration
* Set default return address for company (if different from standard one)
* Whether to return product to company, supplier, other
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**
@@ -40,9 +36,14 @@ supplier relation:
Usage
=====
The new information is not explicitly used by the system until you install
another module that makes use of it, e.g. RMA Claim (Product Return
Management).
To use this module, you need to:
#. Go to *Sales > Products > Products (or Product Variants)*
#. Create a new product (or product variant) or edit an existing one
and set 'Warranty Duration' under 'Sales' tab.
#. 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
===========
@@ -50,7 +51,7 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/rma/issues/new?body=module:%20product_warranty%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/rma/issues/new?body=module:%20product_warranty%0Aversion:%2013.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.
@@ -116,6 +117,6 @@ 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/12.0/product_warranty>`_ project on GitHub.
This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/13.0/product_warranty>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -3,20 +3,20 @@
{
"name": "Product Warranty",
"version": "12.0.1.0.0",
"version": "13.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",],
"depends": ["sale_management"],
"data": [
"security/ir.model.access.csv",
"views/res_company.xml",
"views/product_warranty.xml",
"views/product_template.xml",
],
"demo": ["demo/product_warranty.xml", "demo/res_company.xml",],
"demo": ["demo/product_warranty.xml", "demo/res_company.xml"],
"images": ["images/product_warranty.png"],
"development_status": "Production/Stable",
"maintainers": ["osi-scampbell", "max3903",],
"maintainers": ["osi-scampbell", "max3903"],
}

View File

@@ -1,6 +1,6 @@
# © 2016 Cyril Gaudin (Camptocamp)
# © 2015 Vauxoo
# © 2009-2011 Akretion, Emmanuel Samyn, Benoît Guillot
# Copyright 2016 Cyril Gaudin (Camptocamp)
# Copyright 2015 Vauxoo
# Copyright 2009-2011 Akretion, Emmanuel Samyn, Benoît Guillot
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright 2018 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models

View File

@@ -1,5 +1,5 @@
# © 2016 Joel Grand-Guillaume, Cyril Gaudin (Camptocamp)
# © 2009-2013 Akretion, Emmanuel Samyn, Raphaël Valyi, Sébastien Beau
# Copyright 2016 Joel Grand-Guillaume, Cyril Gaudin (Camptocamp)
# Copyright 2009-2013 Akretion, Emmanuel Samyn, Raphaël Valyi, Sébastien Beau
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models

View File

@@ -1,6 +1,6 @@
# © 2016 Cyril Gaudin (Camptocamp)
# © 2015 Vauxoo
# © 2009-2011 Akretion, Emmanuel Samyn, Benoît Guillot
# Copyright 2016 Cyril Gaudin (Camptocamp)
# Copyright 2015 Vauxoo
# Copyright 2009-2011 Akretion, Emmanuel Samyn, Benoît Guillot
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models

View File

@@ -1,6 +1,2 @@
Extends the product warranty management with warranty details on product /
supplier relation:
* Supplier warranty duration
* Set default return address for company (if different from standard one)
* Whether to return product to company, supplier, other
This module extends the functionality of 'Sales Management' to allows you
to set product warranty details on products and product-supplier relation.

View File

@@ -1,3 +1,8 @@
The new information is not explicitly used by the system until you install
another module that makes use of it, e.g. RMA Claim (Product Return
Management).
To use this module, you need to:
#. Go to *Sales > Products > Products (or Product Variants)*
#. Create a new product (or product variant) or edit an existing one
and set 'Warranty Duration' under 'Sales' tab.
#. 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.

View File

@@ -367,14 +367,9 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/rma/tree/12.0/product_warranty"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/rma-12-0/rma-12-0-product_warranty"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/145/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>Extends the product warranty management with warranty details on product /
supplier relation:</p>
<ul class="simple">
<li>Supplier warranty duration</li>
<li>Set default return address for company (if different from standard one)</li>
<li>Whether to return product to company, supplier, other</li>
</ul>
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/rma/tree/13.0/product_warranty"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/rma-13-0/rma-13-0-product_warranty"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/145/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of Sales Management to allows you
to set product warranty details on products and product-supplier relation.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@@ -391,16 +386,22 @@ supplier relation:</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
<p>The new information is not explicitly used by the system until you install
another module that makes use of it, e.g. RMA Claim (Product Return
Management).</p>
<p>To use this module, you need to:</p>
<ol class="arabic simple">
<li>Go to <em>Sales &gt; Products &gt; Products (or Product Variants)</em></li>
<li>Create a new product (or product variant) or edit an existing one
and set Warranty Duration under Sales tab.</li>
<li>If Purchase module is installed, got to
<em>Sales &gt; Products &gt; Products (or Product Variants)</em>, go to Purchase tab,
edit supplier information lines an set the warranty information for each one.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rma/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/rma/issues/new?body=module:%20product_warranty%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/rma/issues/new?body=module:%20product_warranty%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@@ -451,7 +452,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
<p><a class="reference external" href="https://github.com/osi-scampbell"><img alt="osi-scampbell" src="https://github.com/osi-scampbell.png?size=40px" /></a> <a class="reference external" href="https://github.com/max3903"><img alt="max3903" src="https://github.com/max3903.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/rma/tree/12.0/product_warranty">OCA/rma</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/rma/tree/13.0/product_warranty">OCA/rma</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>

View File

@@ -1,5 +1,5 @@
# © 2016 Cyril Gaudin (Camptocamp)
# © 2015 Vauxoo, Yanina Aular
# Copyright 2016 Cyril Gaudin (Camptocamp)
# Copyright 2015 Vauxoo, Yanina Aular
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests.common import TransactionCase

View File

@@ -32,7 +32,6 @@
<record id="product_return_instructions_action" model="ir.actions.act_window">
<field name="name">Products Return Instructions</field>
<field name="res_model">return.instruction</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="product_return_instructions_tree_view" />
</record>