Show invoice amounts as currency
This commit is contained in:
parent
0b71e20f74
commit
bc96879fe3
|
@ -147,8 +147,10 @@ class ExportableInvoiceView(MasterView):
|
|||
g.set_sort_defaults('invoice_date', 'desc')
|
||||
g.set_link('invoice_date')
|
||||
|
||||
# invoice_total
|
||||
# currency fields
|
||||
g.set_type('invoice_total', 'currency')
|
||||
g.set_type('shipping_amount', 'currency')
|
||||
g.set_type('supplies_amount', 'currency')
|
||||
|
||||
# status_code
|
||||
g.set_enum('status_code', model.QuickbooksExportableInvoice.STATUS)
|
||||
|
@ -212,8 +214,10 @@ class ExportableInvoiceView(MasterView):
|
|||
# vendor
|
||||
f.set_renderer('vendor', self.render_vendor)
|
||||
|
||||
# invoice_total
|
||||
# currency fields
|
||||
f.set_type('invoice_total', 'currency')
|
||||
f.set_type('shipping_amount', 'currency')
|
||||
f.set_type('supplies_amount', 'currency')
|
||||
|
||||
# status
|
||||
f.set_enum('status_code', model.QuickbooksExportableInvoice.STATUS)
|
||||
|
|
Loading…
Reference in a new issue