# -*- coding: utf-8 -*-
# 项目: jdg-hd-node-farm
# Copyright 2018 JDG <www.yunside.com>
# Created by LLH <lianghua.liu@yunside.com> at 2019/1/26

from odoo import api, fields, models


class IrModuleModule(models.Model):
    _inherit = "ir.module.module"
    _rec_name = 'summary'

    # @api.multi
    # @api.depends('name', 'summary')
    # def name_get(self):
    #     """
    #     名称显示格式：YYY[ZZZ]
    #     """
    #     result = []
    #     for record in self:
    #         name = '%s' % (record.summary, record.summary)
    #         result.append((record.id, name))
    #     return result
