12 lines
227 B
Python
12 lines
227 B
Python
from odoo import fields, models, api
|
|
|
|
|
|
class IrModelFields(models.Model):
|
|
_inherit = 'ir.model.fields'
|
|
|
|
@api.model
|
|
def _is_manual_name(self, name):
|
|
return name.startswith('x_') or name.endswith('_pinyin')
|
|
|
|
|