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

# from odoo import models, fields, api


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

#     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

