mirror of
https://github.com/NaN-tic/trytond-jasper_reports_options.git
synced 2023-12-14 02:42:53 +01:00
Add RGPD company field
This commit is contained in:
parent
65ea574236
commit
737ba8e158
2 changed files with 11 additions and 1 deletions
|
@ -5,10 +5,10 @@ from trytond.model import fields
|
|||
from trytond.pool import PoolMeta
|
||||
|
||||
__all__ = ['Company']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
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')
|
||||
|
@ -17,3 +17,7 @@ class Company:
|
|||
invoice_header = fields.Char('Invoice Header', translate=True)
|
||||
invoice_footer = fields.Char('Invoice Footer', translate=True)
|
||||
invoice_background = fields.Char('Invoice Background', translate=True)
|
||||
show_uom = fields.Boolean('Show UoM', help='Show the UoM')
|
||||
show_origins = fields.Boolean('Show Origins', help='Show the origins')
|
||||
rgpd = fields.Char('RGPD', translate=True,
|
||||
help='Reglamento General de Proteccion de Datos (RGPD)')
|
||||
|
|
|
@ -20,6 +20,12 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
|
|||
<field name="purchase_qty"/>
|
||||
<label name="shipment_qty"/>
|
||||
<field name="shipment_qty"/>
|
||||
<label name="show_uom"/>
|
||||
<field name="show_uom"/>
|
||||
<label name="show_origins"/>
|
||||
<field name="show_origins"/>
|
||||
<label name="rgpd"/>
|
||||
<field name="rgpd"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
|
|
Loading…
Reference in a new issue