trytond-jasper_reports_options/company.py

26 lines
1.1 KiB
Python
Raw Permalink Normal View History

2014-11-07 14:25:36 +01:00
# 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.
2014-01-13 10:46:16 +01:00
from trytond.model import fields
from trytond.pool import PoolMeta
__all__ = ['Company']
2018-08-24 12:19:55 +02:00
class Company(metaclass=PoolMeta):
2014-01-13 10:46:16 +01:00
__name__ = 'company.company'
invoice_qty = fields.Boolean(
'Invoice Qty', help='Show qty without decimals')
2014-01-13 10:46:16 +01:00
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)
2017-03-08 08:21:24 +01:00
show_uom = fields.Boolean('Show UoM', help='Show the UoM')
show_origins = fields.Boolean('Show Origins', help='Show the origins')
2018-05-15 22:11:50 +02:00
rgpd = fields.Char('RGPD', translate=True,
help='Reglamento General de Proteccion de Datos (RGPD)')