mirror of
https://github.com/NaN-tic/trytond-jasper_reports_options.git
synced 2023-12-14 02:42:53 +01:00
19 lines
880 B
Python
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)
|