Add show origins in company configuration

This commit is contained in:
Raimon Esteve 2017-10-07 16:56:02 +02:00
parent 6fa566d632
commit daa934fafd
3 changed files with 17 additions and 0 deletions

View file

@ -18,3 +18,4 @@ class Company:
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')

View file

@ -30,6 +30,10 @@ msgctxt "field:company.company,shipment_qty:"
msgid "Shipment Qty"
msgstr "Quantitat Albarà"
msgctxt "field:company.company,show_origins:"
msgid "Show Origins"
msgstr "Mostrar orígenes"
msgctxt "field:company.company,show_uom:"
msgid "Show UoM"
msgstr "Mostra UdM"
@ -50,6 +54,10 @@ msgctxt "help:company.company,shipment_qty:"
msgid "Show qty without decimals"
msgstr "Mostra les quantitats sense decimals"
msgctxt "help:company.company,show_origins:"
msgid "Show the origins"
msgstr "Mostra els orígens"
msgctxt "help:company.company,show_uom:"
msgid "Show the UoM"
msgstr "Mostra la unitat de mesura"

View file

@ -30,6 +30,10 @@ msgctxt "field:company.company,shipment_qty:"
msgid "Shipment Qty"
msgstr "Cantidad Albarán"
msgctxt "field:company.company,show_origins:"
msgid "Show Origins"
msgstr "Mostrar orígenes"
msgctxt "field:company.company,show_uom:"
msgid "Show UoM"
msgstr "Mostrar UdM"
@ -50,6 +54,10 @@ msgctxt "help:company.company,shipment_qty:"
msgid "Show qty without decimals"
msgstr "Muestra las cantidades sin decimales"
msgctxt "help:company.company,show_origins:"
msgid "Show the origins"
msgstr "Mostra els orígens"
msgctxt "help:company.company,show_uom:"
msgid "Show the UoM"
msgstr "Muestra la unidad de medida"