|
|
@ -36,7 +36,8 @@ class TestXLSXImportExport(TestExcelImportExport): |
|
|
|
'active_id': self.sale_order.id, |
|
|
|
'template_domain': [('res_model', '=', 'sale.order'), |
|
|
|
('fname', '=', 'sale_order.xlsx'), |
|
|
|
('gname', '=', False)], } |
|
|
|
('gname', '=', False)], |
|
|
|
'template_context': {'state': 'draft'}, } |
|
|
|
with Form(self.env['import.xlsx.wizard'].with_context(ctx)) as f: |
|
|
|
f.import_file = self.export_file |
|
|
|
import_wizard = f.save() |
|
|
|