1234567891011121314151617 |
- # -*- coding: utf-8 -*-
- from odoo import models, fields, api
- class ReportStyleIndicationDetail(models.Model):
- _name = 'jc_bi.report_style_indication_detail'
- _description = u'报表样式设置二维表明细'
- _module = 'jc_bi'
- report_style_id = fields.Many2one('jc_bi.report_style', string=u'样式引用',
- required=True, ondelete='cascade', index=True, copy=False)
- indicator_field = fields.Char(u'指标ID') # 以field作为ID
- indicator_name = fields.Char(string=u'指标')
- indicator_show_name = fields.Char(string=u'指标显示名')
|