diff --git a/product_warranty/__manifest__.py b/product_warranty/__manifest__.py index 8eab86cb..1f69c670 100644 --- a/product_warranty/__manifest__.py +++ b/product_warranty/__manifest__.py @@ -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", diff --git a/product_warranty/models/product_template.py b/product_warranty/models/product_template.py index d671734c..fad6949f 100644 --- a/product_warranty/models/product_template.py +++ b/product_warranty/models/product_template.py @@ -15,7 +15,6 @@ class ProductTemplate(models.Model): ("month", "Month(s)"), ("year", "Year(s)"), ], - string="Warranty Type", required=True, default="day", ) diff --git a/product_warranty/models/return_instruction.py b/product_warranty/models/return_instruction.py index bd5e74e8..642026be 100644 --- a/product_warranty/models/return_instruction.py +++ b/product_warranty/models/return_instruction.py @@ -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 " diff --git a/product_warranty/views/product_warranty.xml b/product_warranty/views/product_warranty.xml index 3c2db686..888bfc3b 100644 --- a/product_warranty/views/product_warranty.xml +++ b/product_warranty/views/product_warranty.xml @@ -5,7 +5,7 @@ product.return.instructions.tree return.instruction - +