37
37
fields = ['comment', 'confirmed_delivery_date', 'date_planned', 'default_code',
38
38
'default_name', 'name', 'nomen_manda_0', 'nomen_manda_1', 'nomen_manda_2',
39
39
'nomen_manda_3', 'notes', 'price_unit', 'product_qty', 'product_uom',
42
42
fields_ids = self.pool.get('ir.model.fields').search(cr, uid, [('model', '=' ,'purchase.order.line'), ('name', 'in', fields)], context=context)
43
43
field_name = self.pool.get('ir.model.fields').search(cr, uid, [('model', '=', 'purchase.order.line'), ('name', '=', 'line_number')], context=context)