[IMP] update dotfiles
parent
acd677a07c
commit
95b76b5405
|
@ -11,7 +11,7 @@ class TestXLSXImportExport(TestExcelImportExport):
|
|||
super(TestExcelImportExport, cls).setUpClass()
|
||||
|
||||
def test_xlsx_export_import(self):
|
||||
""" Test Export Excel from Sales Order """
|
||||
"""Test Export Excel from Sales Order"""
|
||||
# Create Sales Order
|
||||
self.setUpSaleOrder()
|
||||
# ----------- EXPORT ---------------
|
||||
|
@ -62,7 +62,7 @@ class TestXLSXImportExport(TestExcelImportExport):
|
|||
import_wizard.action_import()
|
||||
|
||||
def test_add_remove_export_import_action(self):
|
||||
""" On the template itself, test add / remove action """
|
||||
"""On the template itself, test add / remove action"""
|
||||
template = self.env.ref("excel_import_export_demo.sale_order_xlsx_template")
|
||||
self.assertTrue(template.import_action_id)
|
||||
self.assertTrue(template.export_action_id)
|
||||
|
|
|
@ -11,7 +11,7 @@ class TestXLSXReport(TestExcelImportExport):
|
|||
super(TestXLSXReport, cls).setUpClass()
|
||||
|
||||
def test_xlsx_report(self):
|
||||
""" Test Report from Sales Order """
|
||||
"""Test Report from Sales Order"""
|
||||
# Create Many Sales Orders
|
||||
self.setUpManySaleOrder()
|
||||
ctx = {
|
||||
|
|
|
@ -14,7 +14,7 @@ class TestXLSXTemplate(TestExcelImportExport):
|
|||
super(TestExcelImportExport, cls).setUpClass()
|
||||
|
||||
def test_xlsx_template(self):
|
||||
""" Test XLSX Template input and output instruction """
|
||||
"""Test XLSX Template input and output instruction"""
|
||||
self.setUpXLSXTemplate()
|
||||
instruction_dict = literal_eval(self.sample_template.instruction)
|
||||
self.assertDictEqual(
|
||||
|
@ -63,7 +63,7 @@ class TestXLSXTemplate(TestExcelImportExport):
|
|||
self.assertTrue(self.sample_template.datas) # Loaded successfully
|
||||
|
||||
def test_xlsx_template_easy_reporting(self):
|
||||
""" Test XLSX template using easy reporting option """
|
||||
"""Test XLSX template using easy reporting option"""
|
||||
sale_model = self.env["ir.model"].search([("model", "=", "sale.order")])
|
||||
# Create the template
|
||||
with Form(self.env["xlsx.template"]) as f:
|
||||
|
|
Loading…
Reference in New Issue