~unifield-team/unifield-wm/us-860-qt-fixes

« back to all changes in this revision

Viewing changes to sale_override/res_partner.py

  • Committer: jf
  • Date: 2016-01-22 14:41:23 UTC
  • mfrom: (2703.16.1 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20160122144123-m1z1gqooep470knm
US-398 [IMP] Allow FO of type "donation before expiry" to an external partner
lp:~unifield-team/unifield-wm/us-398

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