[MIG] : Migration to 15.0

This commit is contained in:
SilvioC2C
2022-05-14 14:58:18 +02:00
parent b8112891e9
commit e53f343331
4 changed files with 3 additions and 5 deletions

View File

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

View File

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

View File

@@ -11,9 +11,8 @@ class ReturnInstruction(models.Model):
_description = "Instructions for product return"
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",
help="If is default, will be use "
"to set the default value in "
"supplier info's. Be careful to "

View File

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