Geselle-wunsch/models/models.py
2017-07-14 15:24:55 +02:00

15 lines
No EOL
405 B
Python

# -*- coding: utf-8 -*-
from odoo import models, fields, api
# class geselle-wunsch(models.Model):
# _name = 'geselle-wunsch.geselle-wunsch'
# 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