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'
|
2018-01-10 10:53:40 +01:00
|
|
|
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')
|
2018-01-10 10:53:40 +01:00
|
|
|
purchase_qty = fields.Boolean(
|
|
|
|
'Purchase Qty', help='Show qty without decimals')
|
|
|
|
shipment_qty = fields.Boolean(
|
|
|
|
'Shipment Qty', help='Show qty without decimals')
|
2016-02-11 08:46:15 +01:00
|
|
|
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')
|
2017-10-07 16:56:02 +02:00
|
|
|
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)')
|