Hello,
The state field is read only and you will not see it in the available fields in import screen:
state = fields.Selection([
('draft', 'Quotation'),
('sent', 'Quotation Sent'),
('sale', 'Sales Order'),
('done', 'Locked'),
('cancel', 'Cancelled'),
], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='draft')
My suggestion is to create a new module and override create method to confirm each quotation as below and after install the module, try to import your quotations. (I didn't test and I believe it will work and it's worth to give it a try in Test Environment and let us know the results)
@api.model
def create(self, vals):
result = super(SaleOrder, self).create(vals)
result.action_confirm()
return result
But you already imported them and you want to confirm them all to sale, you can create a module to override write method as below and after install the module, try to import your quotations. (I didn't test and I believe it will work and it's worth to give it a try in Test Environment and let us know the results)
@api.multi
def write(self, values):
result = super(SaleOrder, self).write(values)
result.action_confirm()
return result