Guest User

Untitled

a guest
Dec 15th, 2016
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class CreatePurchase(Wizard):
  2.     'Create Purchase'
  3.     __name__ = 'purchase.request.create_purchase'
  4.     start = StateTransition()
  5.     ask_party = StateView('purchase.request.create_purchase.ask_party',
  6.         'purchase_request.purchase_request_create_purchase_ask_party', [
  7.             Button('Cancel', 'end', 'tryton-cancel'),
  8.             Button('Continue', 'start', 'tryton-go-next', default=True),
  9.             ])
  10.  
  11.     def transition_start(self):
RAW Paste Data