Advertisement
Guest User

Untitled

a guest
Dec 15th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  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):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement