diff --git a/base_delivery_carrier_files_document/__manifest__.py b/base_delivery_carrier_files_document/__manifest__.py index a248d2e584..d90bae9247 100644 --- a/base_delivery_carrier_files_document/__manifest__.py +++ b/base_delivery_carrier_files_document/__manifest__.py @@ -23,7 +23,7 @@ 'name': 'Base module for picking carrier files creation for document', 'version': '10.0.1.0.0', 'category': 'Generic Modules/Warehouse', - 'description': """ + 'summary': """ Allow to store the carrier files in a Document directory. Auto-install when the module Document and Base Delivery Carrier Files are installed. diff --git a/delivery_carrier_file_tnt/__manifest__.py b/delivery_carrier_file_tnt/__manifest__.py index 58196652eb..1c5a2ceb1b 100644 --- a/delivery_carrier_file_tnt/__manifest__.py +++ b/delivery_carrier_file_tnt/__manifest__.py @@ -23,7 +23,7 @@ 'name': 'Delivery Carrier File: TNT', 'version': '10.0.1.0.0', 'category': 'Generic Modules/Warehouse', - 'description': """ + 'summary': """ Sub-module for Base Delivery Carrier Files. Definition of the delivery carrier file for "TNT Express Shipper". diff --git a/delivery_carrier_file_tnt/carrier_file.py b/delivery_carrier_file_tnt/carrier_file.py index 7a9cdcbc92..befaa5b943 100644 --- a/delivery_carrier_file_tnt/carrier_file.py +++ b/delivery_carrier_file_tnt/carrier_file.py @@ -22,12 +22,12 @@ from odoo import api, fields, models -class carrier_file(models.Model): +class CarrierFile(models.Model): _inherit = 'delivery.carrier.file' @api.model def get_type_selection(self): - result = super(carrier_file, self + result = super(CarrierFile, self ).get_type_selection() if 'tnt_express_shipper' not in result: result.append(('tnt_express_shipper', 'TNT Express Shipper')) @@ -36,4 +36,4 @@ def get_type_selection(self): type = fields.Selection(get_type_selection, 'Type', required=True) tnt_account = fields.Char('TNT Account', size=9) -carrier_file() +CarrierFile()