~julie-w/unifield-wm/UTP-925

« back to all changes in this revision

Viewing changes to sale_override/res_partner.py

  • Committer: Quentin THEURET
  • Date: 2016-01-11 14:49:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2727.
  • Revision ID: qt@tempo-consulting.fr-20160111144928-gnm275ibvp3azf3i
US-398 [IMP] Remove checks on donation before expiry FO for external partner

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
                p_list = []
59
59
                if order_type in ['regular']:
60
60
                    p_list = ['internal', 'intermission', 'external'] # UTP-953: Cannot create an FO regular for Intersection due to the Push Flow sync
61
 
                elif order_type in ['donation_st', 'loan']:
 
61
                elif order_type in ['donation_st', 'loan', 'donation_exp']:
62
62
                    p_list = ['internal', 'intermission', 'section', 'external']
63
63
                elif order_type in ['direct', 'in_kind']:
64
64
                    p_list = ['internal', 'intermission', 'section', 'esc', 'external']
65
 
                elif order_type in ['donation_exp']:
66
 
                    p_list = ['internal', 'intermission', 'section']
67
65
                # show all supplier for non taken cases
68
66
                else:
69
67
                    pass