9 lines
164 B
Python
9 lines
164 B
Python
from odoo import models, fields
|
|
|
|
|
|
# 为公司增加字段
|
|
class Company(models.Model):
|
|
_inherit = 'res.company'
|
|
|
|
factory_name = fields.Char('加工工厂')
|