Add RGPD company field

This commit is contained in:
Raimon Esteve 2018-05-15 22:11:50 +02:00
parent b5bcf4d360
commit fb6abfb2f5
2 changed files with 7 additions and 6 deletions

View file

@ -10,15 +10,14 @@ __all__ = ['Company']
class Company:
__metaclass__ = PoolMeta
__name__ = 'company.company'
invoice_qty = fields.Boolean(
'Invoice Qty', help='Show qty without decimals')
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')
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)
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)')

View file

@ -24,6 +24,8 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
<field name="show_uom"/>
<label name="show_origins"/>
<field name="show_origins"/>
<label name="rgpd"/>
<field name="rgpd"/>
</group>
</xpath>
</data>