15 lines
447 B
Python
15 lines
447 B
Python
from odoo import models, fields, api
|
|
|
|
|
|
class YuthonTradeBorrowing(models.Model):
|
|
_name = 'yuthon.trade.borrowing'
|
|
_description = '借支流程'
|
|
_inherit = ['soong.workflow.mixin']
|
|
|
|
name = fields.Char(string='名称', required=True)
|
|
code = fields.Char(string="编号",
|
|
default=lambda self: self.env['ir.sequence'].next_by_code(
|
|
'property_personal_condolences_code_sequence'))
|
|
|
|
|