Esempio n. 1
0
def set_status(status):
    # print('IN set_status1')
    purchase2set_status = get_object()
    # print(purchase2set_status)
    # status = 1
    purchase = Purchase()
    purchase.set_status(purchase2set_status, status)
Esempio n. 2
0
def set_status0():
    print('IN set_status0')
    purchase2set_status = get_object()
    print(purchase2set_status)
    status = 0
    purchase = Purchase()
    purchase.set_status(purchase2set_status, status)
def set_status(status):
    # print('IN set_status1')
    purchase2set_status = get_object_name()
    # print(purchase2set_status)
    # status = 1
    purchase = Purchase()
    purchase.set_status(purchase2set_status, status)
    get_all_positions()