/usr/lib/python2.7/dist-packages/trytond/ir/export.py is in tryton-server 3.4.0-3+deb8u3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
"Exports"
from ..model import ModelView, ModelSQL, fields
__all__ = [
'Export', 'ExportLine',
]
class Export(ModelSQL, ModelView):
"Export"
__name__ = "ir.export"
name = fields.Char('Name')
resource = fields.Char('Resource')
export_fields = fields.One2Many('ir.export.line', 'export',
'Fields')
class ExportLine(ModelSQL, ModelView):
"Export line"
__name__ = 'ir.export.line'
name = fields.Char('Name')
export = fields.Many2One('ir.export', 'Export',
select=True)
|