OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
581 B

  1. from openerp.osv import fields, osv
  2. class report_xml(osv.Model):
  3. ''' Inherit from ir.actions.report.xml to allow customizing the template
  4. file. The user cam chose a template from a list.
  5. The list is configurable in the configuration tab, see py3o_template.py
  6. '''
  7. _inherit = 'ir.actions.report.xml'
  8. _columns = {
  9. 'py3o_fusion_filetype': fields.many2one(
  10. 'py3o.fusion.filetype',
  11. u"Output Format",
  12. ),
  13. 'py3o_template_id': fields.many2one(
  14. 'py3o.template',
  15. u"Template",
  16. ),
  17. }