mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[MIG] : Migration to 15.0
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -15,7 +15,6 @@ class ProductTemplate(models.Model):
|
||||
("month", "Month(s)"),
|
||||
("year", "Year(s)"),
|
||||
],
|
||||
string="Warranty Type",
|
||||
required=True,
|
||||
default="day",
|
||||
)
|
||||
|
||||
@@ -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 "
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user