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
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
154
If option "Requirements by Order" is set, the system will create a PO
155
that merge lines coming from the same FO/IR.'''),
144
158
_defaults = {'zone': 'national',