report_style_indication_detail.py 608 B

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