wizard: PurchaseWizard
GtkDialog(toplevel): title='New Order', hidden
  GtkVBox(PluggableWizard-vbox):
    GtkVBox(vbox1, expand=True, fill=True):
      ProxyLabel(header_lbl, fill=True): hidden
      GtkEventBox(slave_area, expand=True, fill=True): slave ReceivingInvoiceStep is attached
        GtkVBox(step.toplevel):
          GtkEventBox(step.place_holder, expand=True, fill=True): slave ReceivingInvoiceSlave is attached
            GtkVBox(toplevel):
              GtkTable(table, fill=True):
                GtkLabel(label10): 'Branch:'
                ProxyLabel(branch): '<span >Moda Stoq</span>'
                ProxyLabel(kiwilabel4): 'Products Total ($CURRENCY):'
                ProxyLabel(products_total): '<span >$125.00</span>'
                ProxyLabel(purchase_supplier_label): 'Supplier:'
                ProxyLabel(supplier_label): '<span >Cia de Roupas S\xc3\xa3o Carlos</span>'
                ProxyLabel(kiwilabel54): 'Freight ($CURRENCY):'
                ProxyEntry(freight): '0.00'
                GtkLabel(purchase_number_label): 'Order Number:'
                GtkLabel(identifier): '12345'
                ProxyLabel(kiwilabel6): 'IPI ($CURRENCY):'
                ProxyEntry(ipi): '0.00'
                GtkLabel(label8): 'Invoice Number:'
                GtkHBox(invoice_hbox):
                  ProxyEntry(invoice_number, fill=True): '67890'
                  GtkLabel(label1, expand=True, fill=True):
                ProxyLabel(kiwilabel200): 'ICMS Total ($CURRENCY):'
                ProxyEntry(icms_total): '0.00'
                GtkLabel(label9): 'C.F.O.P.:'
                ProxyComboEntry(cfop):
                  item: '1.102 Compra para Comercializacao', selected
                ProxyLabel(discount_label): 'Discount ($CURRENCY):'
                ProxyEntry(discount_value): '0.00'
                GtkLabel(label2): 'Transporter:'
                ProxyComboEntry(transporter):
                  item: 'Jos\xc3\xa9 Carlos de Carvalho'
                ProxyLabel(kiwilabel2): 'Secure ($CURRENCY):'
                ProxyEntry(secure_value): '0.00'
                GtkLabel(label4): 'Responsible:'
                ProxyLabel(responsible_name): '<span >Administrator</span>'
                ProxyLabel(kiwilabel3): 'Others Expenditures ($CURRENCY):'
                ProxyEntry(expense_value): '0.00'
                GtkLabel(label3): 'Freight:'
                ProxyComboBox(freight_combo):
                  item: 'FOB - Freight value on a new payment'
                  item: 'FOB - Freight value on installments', selected
                  item: 'CIF - Freight value is unknown'
                  item: 'CIF - Freight value highlighted on invoice'
                ProxyLabel(kiwilabel11): 'Invoice Total ($CURRENCY):'
                ProxyLabel(total): '<span weight="bold">$125.00</span>'
                GtkHButtonBox(notes_box):
                  GtkButton(observations_button): 'Observations...'
      ProxyLabel(notification_lbl, fill=True): hidden
      GtkHBox(hbox1, fill=True, pack-end):
        GtkHButtonBox(buttonbox, expand=True, fill=True, pack-end):
          GtkButton(cancel_button): 'gtk-cancel'
          GtkButton(previous_button): 'gtk-go-back', insensitive
          GtkButton(next_button): '_Finish'
          GtkButton(ok_button): 'gtk-ok', hidden
          GtkButton(help_button): 'gtk-help'
    GtkHButtonBox(dialog-action_area1, fill=True, pack-end):

model: PurchaseOrder<1>
  confirm_date: datetime.today()
  consigned: False
  discount_value: <currency $ 0>
  expected_freight: <currency $ 0>
  expected_pay_date: datetime.today()
  expected_receival_date: datetime.datetime(2010, 1, 4, 0, 0)
  freight_type: u'fob'
  group_id: PaymentGroup<4>
  notes: u''
  open_date: datetime.datetime(2010, 1, 3, 0, 0)
  quote_deadline: None
  receival_date: None
  salesperson_name: u''
  status: u'closed'
  surcharge_value: <currency $ 0>

model: PurchaseItem<2>
  base_cost: <currency $125>
  cost: <currency $125>
  expected_receival_date: datetime.datetime(2010, 1, 4, 0, 0)
  order_id: PurchaseOrder<1>
  quantity: Decimal('1.000')
  quantity_received: Decimal('1.000')
  quantity_returned: Decimal('0.000')
  quantity_sold: Decimal('0.000')

model: Payment<3>
  base_value: <currency $125>
  bill_received: False
  cancel_date: None
  description: u'1/1 Bill for order 12345'
  discount: <currency $ 0>
  due_date: datetime.today()
  group_id: PaymentGroup<4>
  interest: <currency $ 0>
  open_date: datetime.today()
  paid_date: None
  paid_value: None
  payment_number: None
  payment_type: u'out'
  penalty: <currency $ 0>
  status: u'pending'
  value: <currency $125>

model: PaymentGroup<4>

model: ReceivingOrder<5>
  confirm_date: None
  discount_value: <currency $ 0>
  expense_value: <currency $ 0>
  freight_total: <currency $ 0>
  freight_type: u'fob-installments'
  icms_total: <currency $ 0>
  invoice_number: 67890
  invoice_total: <currency $125>
  ipi_total: <currency $ 0>
  notes: u''
  receival_date: datetime.today()
  secure_value: <currency $ 0>
  status: u'pending'
  surcharge_value: <currency $ 0>

model: ReceivingOrderItem<6>
  cost: <currency $125>
  purchase_item_id: PurchaseItem<2>
  quantity: Decimal('1.000')
  receiving_order_id: ReceivingOrder<5>

model: ProductStockItem<7>
  quantity: Decimal('1.000')
  stock_cost: <currency $125>

