添加功能
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.exceptions import UserError, ValidationError
|
||||
from datetime import datetime
|
||||
import re
|
||||
|
||||
|
||||
class YuthonMedicalManage(models.Model):
|
||||
_name = 'yuthon.medical.manage'
|
||||
_description = '体检费管理'
|
||||
|
||||
employee_id = fields.Many2one('hr.employee', string="员工姓名")
|
||||
current_year_remaining = fields.Float(string="本年剩余")
|
||||
last_year_quota = fields.Float(string="上年额度")
|
||||
last_year_balance = fields.Float(string="上年结余")
|
||||
last_year_used = fields.Float(string="上年使用")
|
||||
last_year_remaining = fields.Float(string="上年剩余")
|
||||
prev_last_year_quota = fields.Float(string="前年额度")
|
||||
prev_last_year_balance = fields.Float(string="前年结余")
|
||||
prev_last_year_used = fields.Float(string="前年使用")
|
||||
prev_last_year_remaining = fields.Float(string="前年剩余")
|
||||
Reference in New Issue
Block a user