# -*- coding: utf-8 -*-

# from odoo import models, fields, api


# class cor_custom(models.Model):
#     _name = 'cor_custom.cor_custom'
#     _description = 'cor_custom.cor_custom'

#     name = fields.Char()
#     value = fields.Integer()
#     value2 = fields.Float(compute="_value_pc", store=True)
#     description = fields.Text()
#
#     @api.depends('value')
#     def _value_pc(self):
#         for record in self:
#             record.value2 = float(record.value) / 100
