14 lines
432 B
Python
14 lines
432 B
Python
from odoo import models, fields, api
|
|
|
|
|
|
class YuthonTradeSupportive(models.Model):
|
|
_name = 'yuthon.trade.supportive'
|
|
_description = '互助申请表'
|
|
_inherit = ['soong.workflow.mixin']
|
|
|
|
name = fields.Char(string='名称')
|
|
code = fields.Char(string="编号",
|
|
default=lambda self: self.env['ir.sequence'].next_by_code(
|
|
'property_work_condolences_code_sequence'))
|
|
|