~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to partner_modification/partner_modification.py

  • Committer: jf
  • Date: 2014-09-05 08:53:44 UTC
  • mfrom: (2206.3.39 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20140905085344-n3iz6igxpmo0yfht
Tags: pilot3.1b7
Pilot 3.1b7

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
                'transport_2_lt': fields.integer('3rd Transport Lead Time'),
134
134
                'transport_2': fields.selection(selection=TRANSPORT_TYPE, string='3nd Mode of Transport'),
135
135
                'default_delay': fields.function(_calc_dellay, method=True, type='integer', string='Supplier Lead Time (computed)', multi="seller_delay"),
136
 
                'po_by_project': fields.selection([('all', 'All requirements'), ('project', 'Requirements by Project')], string='Order creation mode',
137
 
                                          help='''When option “all requirements” is set for 
138
 
                                        a given supplier, the system will create a PO that merge all requirements
139
 
                                        for this supplier. If option “requirements by project” is set, the POs will
140
 
                                        be created by original requestor (customer of the SO origin), meaning
141
 
                                        system creates one PO by project for this supplier.'''),
 
136
                'po_by_project': fields.selection([
 
137
                                            ('all', 'All requirements'), 
 
138
                                            ('project', 'Requirements by Project'),
 
139
                                            ('category', 'Requirements by Category'),
 
140
                                            ('category_project', 'Requirements by Category and Project'),
 
141
                                            ('isolated', 'Requirements by Order')], 
 
142
                                            string='Order creation mode',
 
143
                                              help='''When option “All requirements” is set for 
 
144
                                            a given supplier, the system will create a PO that merge all requirements
 
145
                                            for this supplier. 
 
146
                                            If option “Requirements by Project” is set, the POs will
 
147
                                            be created by original requestor (customer of the SO origin), meaning
 
148
                                            system creates one PO by project for this supplier.
 
149
                                            If option "Requirements by Category" is set, the system will create a PO
 
150
                                            that merge all requirements by category for this supplier.
 
151
                                            If option "Requirements by Category and Project" is set, the system
 
152
                                            will create a PO that merge only the requirements of one customer
 
153
                                            and one category.
 
154
                                            If option "Requirements by Order" is set, the system will create a PO
 
155
                                            that merge lines coming from the same FO/IR.'''),
142
156
                }
143
157
    
144
158
    _defaults = {'zone': 'national',