15 lines
No EOL
405 B
Python
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 |