[MIG] product_warranty: Migration to 13.0

This commit is contained in:
Ernesto Tejeda
2020-11-02 16:07:03 -05:00
committed by Antoni Marroig Campomar
parent ba94e45836
commit f2f2677d92
18 changed files with 151 additions and 120 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

@@ -37,7 +37,7 @@ msgid "Companies"
msgstr "Compañías"
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__company
msgid "Company"
msgstr "Compañía"
@@ -52,7 +52,7 @@ msgid "Created on"
msgstr "Creado el"
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__day
msgid "Day(s)"
msgstr ""
@@ -133,12 +133,12 @@ msgid "Last Updated on"
msgstr "Última actualización el"
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__month
msgid "Month(s)"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__other
msgid "Other"
msgstr ""
@@ -182,7 +182,7 @@ msgid "Return type"
msgstr "Tipo de devolución"
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__supplier
#, fuzzy
msgid "Supplier"
msgstr "Proveedor activo"
@@ -233,7 +233,7 @@ msgid "Warranty informations"
msgstr "Información de garantía"
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__week
msgid "Week(s)"
msgstr ""
@@ -272,7 +272,7 @@ msgstr ""
"se puede devolver a la empresa y estar bajo la garantía de la marca)"
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year
msgid "Year(s)"
msgstr ""

View File

@@ -32,7 +32,7 @@ msgid "Companies"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__company
msgid "Company"
msgstr ""
@@ -47,7 +47,7 @@ msgid "Created on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__day
msgid "Day(s)"
msgstr ""
@@ -119,12 +119,12 @@ msgid "Last Updated on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__month
msgid "Month(s)"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__other
msgid "Other"
msgstr ""
@@ -167,7 +167,7 @@ msgid "Return type"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__supplier
msgid "Supplier"
msgstr ""
@@ -212,7 +212,7 @@ msgid "Warranty informations"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__week
msgid "Week(s)"
msgstr ""
@@ -240,6 +240,6 @@ msgid ""
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year
msgid "Year(s)"
msgstr ""

View File

@@ -32,7 +32,7 @@ msgid "Companies"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__company
msgid "Company"
msgstr ""
@@ -47,7 +47,7 @@ msgid "Created on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__day
msgid "Day(s)"
msgstr ""
@@ -119,12 +119,12 @@ msgid "Last Updated on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__month
msgid "Month(s)"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__other
msgid "Other"
msgstr ""
@@ -167,7 +167,7 @@ msgid "Return type"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__supplier
msgid "Supplier"
msgstr ""
@@ -212,7 +212,7 @@ msgid "Warranty informations"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__week
msgid "Week(s)"
msgstr ""
@@ -240,6 +240,6 @@ msgid ""
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year
msgid "Year(s)"
msgstr ""

View File

@@ -32,7 +32,7 @@ msgid "Companies"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__company
msgid "Company"
msgstr ""
@@ -47,7 +47,7 @@ msgid "Created on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__day
msgid "Day(s)"
msgstr ""
@@ -119,12 +119,12 @@ msgid "Last Updated on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__month
msgid "Month(s)"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__other
msgid "Other"
msgstr ""
@@ -167,7 +167,7 @@ msgid "Return type"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__supplier
msgid "Supplier"
msgstr ""
@@ -212,7 +212,7 @@ msgid "Warranty informations"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__week
msgid "Week(s)"
msgstr ""
@@ -240,6 +240,6 @@ msgid ""
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year
msgid "Year(s)"
msgstr ""

View File

@@ -35,7 +35,7 @@ msgid "Companies"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__company
msgid "Company"
msgstr ""
@@ -50,7 +50,7 @@ msgid "Created on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__day
msgid "Day(s)"
msgstr ""
@@ -122,12 +122,12 @@ msgid "Last Updated on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__month
msgid "Month(s)"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__other
msgid "Other"
msgstr ""
@@ -170,7 +170,7 @@ msgid "Return type"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__supplier
#, fuzzy
msgid "Supplier"
msgstr "Fournisseur actif"
@@ -221,7 +221,7 @@ msgid "Warranty informations"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__week
msgid "Week(s)"
msgstr ""
@@ -255,7 +255,7 @@ msgstr ""
"celui qui gère le retour."
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year
msgid "Year(s)"
msgstr ""

View File

@@ -1,12 +1,12 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_warranty
# * product_warranty
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -29,7 +29,7 @@ msgid "Companies"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__company
msgid "Company"
msgstr ""
@@ -44,13 +44,15 @@ msgid "Created on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__day
msgid "Day(s)"
msgstr ""
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_res_company__crm_return_address_id
msgid "Default address where the customers has to send back the returned product. If empty, the address is the company address."
msgid ""
"Default address where the customers has to send back the returned product. "
"If empty, the address is the company address."
msgstr ""
#. module: product_warranty
@@ -65,7 +67,9 @@ msgstr ""
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_return_instruction__is_default
msgid "If is default, will be use to set the default value in supplier info's. Be careful to have only one default."
msgid ""
"If is default, will be use to set the default value in supplier info's. Be "
"careful to have only one default."
msgstr ""
#. module: product_warranty
@@ -112,12 +116,12 @@ msgid "Last Updated on"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__month
msgid "Month(s)"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__other
msgid "Other"
msgstr ""
@@ -160,7 +164,7 @@ msgid "Return type"
msgstr ""
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__supplier
msgid "Supplier"
msgstr ""
@@ -193,7 +197,10 @@ msgstr ""
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_duration
msgid "Warranty in month for this product/supplier relation. Only for company/supplier relation (purchase order) ; the customer/company relation (sale order) always use the product main warranty field."
msgid ""
"Warranty in month for this product/supplier relation. Only for "
"company/supplier relation (purchase order) ; the customer/company relation "
"(sale order) always use the product main warranty field."
msgstr ""
#. module: product_warranty
@@ -202,27 +209,34 @@ msgid "Warranty informations"
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__week
msgid "Week(s)"
msgstr ""
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_other_address
msgid "Where the customer has to send back the product(s) if warranty return is set to 'other'."
msgid ""
"Where the customer has to send back the product(s) if warranty return is set"
" to 'other'."
msgstr ""
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_address
msgid "Where the goods should be returned (computed field based on other infos.)"
msgid ""
"Where the goods should be returned (computed field based on other infos.)"
msgstr ""
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_partner
msgid "Who is in charge of the warranty return treatment toward the end customer. Company will use the current company delivery or default address and so on for supplier and brand manufacturer. Doesn't necessarily mean that the warranty to be applied is the one of the return partner (ie: can be returned to the company and be under the brand warranty)."
msgid ""
"Who is in charge of the warranty return treatment toward the end customer. "
"Company will use the current company delivery or default address and so on "
"for supplier and brand manufacturer. Doesn't necessarily mean that the "
"warranty to be applied is the one of the return partner (ie: can be returned"
" to the company and be under the brand warranty)."
msgstr ""
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year
msgid "Year(s)"
msgstr ""

View File

@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_warranty
# * product_warranty
#
msgid ""
msgstr ""
@@ -32,7 +32,7 @@ msgid "Companies"
msgstr "Empresas"
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__company
msgid "Company"
msgstr "Empresa"
@@ -47,13 +47,15 @@ msgid "Created on"
msgstr "Criado em"
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__day
msgid "Day(s)"
msgstr "Dia(s)"
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_res_company__crm_return_address_id
msgid "Default address where the customers has to send back the returned product. If empty, the address is the company address."
msgid ""
"Default address where the customers has to send back the returned product. "
"If empty, the address is the company address."
msgstr ""
"Endereço padrão em que os clientes devem entregar o produto a ser devolvido. "
"Se o campo estiver vazio, o endereço será o da empresa."
@@ -70,7 +72,9 @@ msgstr "ID"
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_return_instruction__is_default
msgid "If is default, will be use to set the default value in supplier info's. Be careful to have only one default."
msgid ""
"If is default, will be use to set the default value in supplier info's. Be "
"careful to have only one default."
msgstr ""
"Se for o padrão, será usado para definir o valor padrão nas informações do "
"fornecedor. Cuidado para ter apenas um padrão."
@@ -119,12 +123,12 @@ msgid "Last Updated on"
msgstr "Última Atualização Feita em"
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__month
msgid "Month(s)"
msgstr "Mês(es)"
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__other
msgid "Other"
msgstr "Outro(a)"
@@ -167,7 +171,7 @@ msgid "Return type"
msgstr "Tipo de Devolução"
#. module: product_warranty
#: selection:product.supplierinfo,warranty_return_partner:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_supplierinfo__warranty_return_partner__supplier
msgid "Supplier"
msgstr "Fornecedor"
@@ -200,11 +204,14 @@ msgstr "Tipo de Garantia"
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_duration
msgid "Warranty in month for this product/supplier relation. Only for company/supplier relation (purchase order) ; the customer/company relation (sale order) always use the product main warranty field."
msgid ""
"Warranty in month for this product/supplier relation. Only for company/"
"supplier relation (purchase order) ; the customer/company relation (sale "
"order) always use the product main warranty field."
msgstr ""
"Garantia em meses para a este produto deste fornecedor. Somente para esta "
"relação de empresa e fornecedor (pedido); a relação do cliente e empresa ("
"pedido de venda) sempre usa o campo principal de garantia do produto."
"relação de empresa e fornecedor (pedido); a relação do cliente e empresa "
"(pedido de venda) sempre usa o campo principal de garantia do produto."
#. module: product_warranty
#: model_terms:ir.ui.view,arch_db:product_warranty.product_supplierinfo_warranty_form_view
@@ -212,27 +219,35 @@ msgid "Warranty informations"
msgstr "Informações da Garantia"
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__week
msgid "Week(s)"
msgstr "Semana(s)"
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_other_address
msgid "Where the customer has to send back the product(s) if warranty return is set to 'other'."
msgid ""
"Where the customer has to send back the product(s) if warranty return is set "
"to 'other'."
msgstr ""
"Onde o cliente deve devolver o(s) produto(s) se a devolução em garantia "
"estiver definida como 'outro'."
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_address
msgid "Where the goods should be returned (computed field based on other infos.)"
msgid ""
"Where the goods should be returned (computed field based on other infos.)"
msgstr ""
"Onde as mercadorias devem ser devolvidas (campo calculado com base em outras "
"informações)."
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_partner
msgid "Who is in charge of the warranty return treatment toward the end customer. Company will use the current company delivery or default address and so on for supplier and brand manufacturer. Doesn't necessarily mean that the warranty to be applied is the one of the return partner (ie: can be returned to the company and be under the brand warranty)."
msgid ""
"Who is in charge of the warranty return treatment toward the end customer. "
"Company will use the current company delivery or default address and so on "
"for supplier and brand manufacturer. Doesn't necessarily mean that the "
"warranty to be applied is the one of the return partner (ie: can be returned "
"to the company and be under the brand warranty)."
msgstr ""
"Quem é responsável pelo tratamento da devolução em garantia para o cliente "
"final. A empresa usará a entrega atual da empresa ou o endereço padrão e "
@@ -242,6 +257,6 @@ msgstr ""
"marca)."
#. module: product_warranty
#: selection:product.template,warranty_type:0
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year
msgid "Year(s)"
msgstr "Ano(s)"

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>