trytond-jasper_reports_options/company.py
2016-03-29 12:00:26 +02:00

19 lines
880 B
Python

# This file is part jasper_reports_options module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['Company']
class Company:
__metaclass__ = PoolMeta
__name__ = 'company.company'
invoice_qty = fields.Boolean('Invoice Qty', help='Show qty without decimals')
sale_qty = fields.Boolean('Sale Qty', help='Show qty without decimals')
purchase_qty = fields.Boolean('Purchase Qty', help='Show qty without decimals')
shipment_qty = fields.Boolean('Shipment Qty', help='Show qty without decimals')
invoice_header = fields.Char('Invoice Header', translate=True)
invoice_footer = fields.Char('Invoice Footer', translate=True)
invoice_background = fields.Char('Invoice Background', translate=True)