Invoice options (header, footer...)

This commit is contained in:
resteve 2015-10-16 12:37:54 +02:00
parent 90e326d538
commit e82d437961
4 changed files with 35 additions and 2 deletions

View file

@ -14,3 +14,6 @@ class Company:
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')
invoice_footer = fields.Char('Invoice Footer')
invoice_background = fields.Char('Invoice Background')

View file

@ -1,7 +1,19 @@
#
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:company.company,invoice_background:"
msgid "Invoice Background"
msgstr "Factura fons de pàgina"
msgctxt "field:company.company,invoice_footer:"
msgid "Invoice Footer"
msgstr "Factura peu de pàgina"
msgctxt "field:company.company,invoice_header:"
msgid "Invoice Header"
msgstr "Factura encapçalat de pàgina"
msgctxt "field:company.company,invoice_qty:"
msgid "Invoice Qty"
msgstr "Quantitat Factura"

View file

@ -1,7 +1,19 @@
#
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:company.company,invoice_background:"
msgid "Invoice Background"
msgstr "Factura fondo de página"
msgctxt "field:company.company,invoice_footer:"
msgid "Invoice Footer"
msgstr "Factura pie de página"
msgctxt "field:company.company,invoice_header:"
msgid "Invoice Header"
msgstr "Factura encabezado de página"
msgctxt "field:company.company,invoice_qty:"
msgid "Invoice Qty"
msgstr "Cantidad Factura"

View file

@ -6,6 +6,12 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
expr="/form/notebook/page[@id='reports']"
position="inside">
<group col="6" colspan="6" id="report_qty">
<label name="invoice_header"/>
<field name="invoice_header"/>
<label name="invoice_footer"/>
<field name="invoice_footer"/>
<label name="invoice_background"/>
<field name="invoice_background"/>
<label name="invoice_qty"/>
<field name="invoice_qty"/>
<label name="sale_qty"/>