[MIG] : Migration to 15.0

This commit is contained in:
SilvioC2C
2022-05-14 14:58:18 +02:00
committed by Antoni Marroig Campomar
parent 269d5bfa18
commit 72b042fd16
7 changed files with 13 additions and 25 deletions

View File

@@ -14,13 +14,13 @@ Product Warranty
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github
:target: https://github.com/OCA/rma/tree/14.0/product_warranty :target: https://github.com/OCA/rma/tree/15.0/product_warranty
:alt: OCA/rma :alt: OCA/rma
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-product_warranty :target: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-product_warranty
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/145/14.0 :target: https://runbot.odoo-community.org/runbot/145/15.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@@ -51,7 +51,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/rma/issues>`_. 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. 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 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:%2014.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:%2015.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. Do not contact contributors directly about support or help with technical issues.
@@ -117,6 +117,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-osi-scampbell| |maintainer-max3903| |maintainer-osi-scampbell| |maintainer-max3903|
This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/14.0/product_warranty>`_ project on GitHub. This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/15.0/product_warranty>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -3,7 +3,7 @@
{ {
"name": "Product Warranty", "name": "Product Warranty",
"version": "14.0.1.0.0", "version": "15.0.1.0.1",
"category": "Generic Modules/Product", "category": "Generic Modules/Product",
"author": "Akretion, Vauxoo, Odoo Community Association (OCA)", "author": "Akretion, Vauxoo, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/rma", "website": "https://github.com/OCA/rma",

View File

@@ -4,7 +4,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 14.0\n" "Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -56,17 +56,11 @@ msgid ""
msgstr "" msgstr ""
#. module: product_warranty #. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo__display_name
#: model:ir.model.fields,field_description:product_warranty.field_product_template__display_name
#: model:ir.model.fields,field_description:product_warranty.field_res_company__display_name
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__display_name #: model:ir.model.fields,field_description:product_warranty.field_return_instruction__display_name
msgid "Display Name" msgid "Display Name"
msgstr "" msgstr ""
#. module: product_warranty #. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo__id
#: model:ir.model.fields,field_description:product_warranty.field_product_template__id
#: model:ir.model.fields,field_description:product_warranty.field_res_company__id
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__id #: model:ir.model.fields,field_description:product_warranty.field_return_instruction__id
msgid "ID" msgid "ID"
msgstr "" msgstr ""
@@ -98,7 +92,7 @@ msgstr ""
#. module: product_warranty #. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__is_default #: model:ir.model.fields,field_description:product_warranty.field_return_instruction__is_default
msgid "Is default" msgid "Is Default"
msgstr "" msgstr ""
#. module: product_warranty #. module: product_warranty
@@ -107,9 +101,6 @@ msgid "Is this supplier still active, only for information."
msgstr "" msgstr ""
#. module: product_warranty #. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo____last_update
#: model:ir.model.fields,field_description:product_warranty.field_product_template____last_update
#: model:ir.model.fields,field_description:product_warranty.field_res_company____last_update
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction____last_update #: model:ir.model.fields,field_description:product_warranty.field_return_instruction____last_update
msgid "Last Modified on" msgid "Last Modified on"
msgstr "" msgstr ""
@@ -158,7 +149,6 @@ msgstr ""
#. module: product_warranty #. module: product_warranty
#: model_terms:ir.ui.view,arch_db:product_warranty.product_return_instructions_form_view #: model_terms:ir.ui.view,arch_db:product_warranty.product_return_instructions_form_view
#: model_terms:ir.ui.view,arch_db:product_warranty.product_return_instructions_tree_view
msgid "Return instructions" msgid "Return instructions"
msgstr "" msgstr ""

View File

@@ -15,7 +15,6 @@ class ProductTemplate(models.Model):
("month", "Month(s)"), ("month", "Month(s)"),
("year", "Year(s)"), ("year", "Year(s)"),
], ],
string="Warranty Type",
required=True, required=True,
default="day", default="day",
) )

View File

@@ -11,9 +11,8 @@ class ReturnInstruction(models.Model):
_description = "Instructions for product return" _description = "Instructions for product return"
name = fields.Char("Title", required=True) name = fields.Char("Title", required=True)
instructions = fields.Text("Instructions", help="Instructions for product return.") instructions = fields.Text(help="Instructions for product return.")
is_default = fields.Boolean( is_default = fields.Boolean(
"Is default",
help="If is default, will be use " help="If is default, will be use "
"to set the default value in " "to set the default value in "
"supplier info's. Be careful to " "supplier info's. Be careful to "

View File

@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! 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/14.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-14-0/rma-14-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/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <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/15.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-15-0/rma-15-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/15.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 <p>This module extends the functionality of Sales Management to allows you
to set product warranty details on products and product-supplier relation.</p> to set product warranty details on products and product-supplier relation.</p>
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
@@ -401,7 +401,7 @@ edit supplier information lines an set the warranty information for each one.</l
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rma/issues">GitHub Issues</a>. <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. 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 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:%2014.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:%2015.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> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@@ -452,7 +452,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</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><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/14.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/15.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> <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>
</div> </div>

View File

@@ -5,7 +5,7 @@
<field name="name">product.return.instructions.tree</field> <field name="name">product.return.instructions.tree</field>
<field name="model">return.instruction</field> <field name="model">return.instruction</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree string="Return instructions"> <tree>
<field name="name" /> <field name="name" />
<field name="instructions" /> <field name="instructions" />
<field name="is_default" /> <field name="is_default" />