You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
402 B

# -*- coding: utf-8 -*-
from openerp import models, fields, api
# class mail_arhives(models.Model):
# _name = 'mail_arhives.mail_arhives'
# name = fields.Char()
# value = fields.Integer()
# value2 = fields.Float(compute="_value_pc", store=True)
# description = fields.Text()
#
# @api.depends('value')
# def _value_pc(self):
# self.value2 = float(self.value) / 100