editor: PurchaseDetailsDialog
GtkDialog(main_dialog.toplevel): title='Purchase Details', hidden
  GtkVBox(main_dialog._main_vbox):
    GtkVBox(main_dialog.vbox, expand=True, fill=True):
      GtkEventBox(main_dialog.header):
      GtkEventBox(main_dialog.main, expand=True, fill=True, padding=6): slave PurchaseDetailsDialog is attached
        GtkVBox(toplevel):
          GtkTable(table1, fill=True):
            GtkLabel(label1): 'Open Date:'
            ProxyLabel(open_date): '<span >01/01/12</span>'
            GtkLabel(label5): 'Order Number:'
            ProxyLabel(identifier): '<span >00123</span>'
            GtkLabel(label2): 'Supplier:'
            ProxyLabel(supplier): '<span >Supplier</span>'
            GtkLabel(label6): 'Branch:'
            ProxyLabel(branch): '<span >Dummy shop</span>'
            GtkLabel(label9): 'Responsible:'
            ProxyLabel(responsible_name): '<span >Administrator</span>'
            GtkLabel(label3): 'Order Status:'
            ProxyLabel(status): '<span >Quoting</span>'
          GtkNotebook(notebook2, expand=True, fill=True):
            GtkVBox(payments_vbox):
              ObjectList(payments_list, expand=True, fill=True):
                column: title='Payment #'
                column: title='Description', expand
                column: title='Due date'
                column: title='Paid date'
                column: title='Status'
                column: title='Value'
                column: title='Paid value'
                row: 999, u'1/1 Money for order 00123', datetime.datetime(2012, 1, 1, 0, 0), None, u'Preview', <currency $1000>, None
              GtkTable(table4, fill=True):
                GtkLabel(label8): 'Discount:'
                ProxyLabel(total_discount): '<span >$ 0.00</span>'
                GtkLabel(label4): 'Penalty:'
                ProxyLabel(total_penalty): '<span >$ 0.00</span>'
                ProxyLabel(kiwilabel16): 'Total Paid:'
                ProxyLabel(total_paid): '<span >$ 0.00</span>'
                GtkLabel(label7): 'Interest:'
                ProxyLabel(total_interest): '<span >$ 0.00</span>'
                GtkLabel(label10): 'Total:'
                ProxyLabel(total_value): '<span >$1000.00</span>'
            GtkHBox(hbox2):
              ObjectList(payments_info_list, expand=True, fill=True):
                column: title='When'
                column: title='Payment', expand
                column: title='Changed'
                column: title='From'
                column: title='To'
                column: title='Reason'
            GtkVBox(ordered_vbox):
              ObjectList(ordered_items, expand=True, fill=True):
                column: title='Description', expand
                column: title='Qty'
                column: title='Cost'
                column: title='Total'
                row: u'Description', Decimal('8.000'), <currency $125>, Decimal('1000.00000000000')
              GtkHBox(fill=True):
                GtkLabel(expand=True, fill=True, padding=6): '<b>Total</b>'
                GtkLabel(): '<b>$1000.00</b>'
            GtkVBox(received_vbox):
              ObjectList(received_items, expand=True, fill=True):
                column: title='Description', expand
                column: title='Qty Received'
                column: title='Cost'
                column: title='Total'
                column: title='Current Stock'
                row: u'Description', Decimal('0.000'), <currency $125>, Decimal('0E-11'), None
              GtkTable(table2, pack-end):
                ProxyLabel(kiwilabel2): 'Discount:'
                ProxyLabel(total_discounts): '<span >$ 0.00</span>'
                ProxyLabel(kiwilabel6): 'Subtotal:'
                ProxyLabel(receiving_subtotal): '<span >$ 0.00</span>'
                ProxyLabel(kiwilabel4): 'Surcharge:'
                ProxyLabel(total_surcharges): '<span >$ 0.00</span>'
                ProxyLabel(kiwilabel8): 'Total:'
                ProxyLabel(receiving_total): '<span >$ 0.00</span>'
            GtkVBox(additional_info_vbox):
              GtkTable(table3, fill=True):
                ProxyLabel(kiwilabel10): 'Salesperson:'
                ProxyLabel(salesperson_name): '<span ></span>'
                ProxyLabel(kiwilabel5): 'Transporter:'
                ProxyLabel(transporter_name): '<span ></span>'
                ProxyLabel(kiwilabel7): 'Expected Receival Date:'
                ProxyLabel(expected_receival_date): '<span >YYYY-MM-DD</span>'
                GtkHSeparator(hseparator1):
                ProxyLabel(kiwilabel9): 'Agreed Freight Type:'
                ProxyLabel(freight_type): '<span >FOB</span>'
                ProxyLabel(kiwilabel11): 'Expected Freight Value:'
                ProxyLabel(expected_freight): '<span >$ 0.00</span>'
                ProxyLabel(received_freight_type_label): 'Received Freight Type:', hidden
                ProxyLabel(received_freight_type): '<span ></span>', hidden
                ProxyLabel(received_freight_label): 'Received Freight Value:', hidden
                ProxyLabel(received_freight): '<span >$ 0.00</span>', hidden
            GtkVBox(vbox2):
              GtkScrolledWindow(scrolledwindow1, expand=True, fill=True):
                ProxyTextView(notes):
          GtkHButtonBox(hbuttonbox1, fill=True):
            GtkButton(print_labels): 'gtk-print'
            GtkButton(export_csv): 'Export to spreadsheet'
            GtkButton(print_button): 'gtk-print'
      GtkHBox(fill=True):
        GtkEventBox(main_dialog.extra_holder, expand=True, fill=True, padding=6):
        GtkEventBox(main_dialog.print_holder, expand=True, fill=True):
        GtkEventBox(main_dialog.notice, fill=True):
        GtkEventBox(main_dialog.details_holder, padding=6, pack-end):
    GtkHButtonBox(fill=True, pack-end):
      GtkButton(main_dialog.cancel_button, expand=True, fill=True, padding=6): 'gtk-cancel', hidden
      GtkButton(main_dialog.ok_button, expand=True, fill=True, padding=6): 'gtk-ok', hidden
