+
-
-
+
+
-
-
+
-
-
+
+
@@ -120,12 +133,12 @@
-
-
-
+
diff --git a/quality_control_oca/views/qc_trigger_view.xml b/quality_control_oca/views/qc_trigger_view.xml
index 19b604220..41f17d5d6 100644
--- a/quality_control_oca/views/qc_trigger_view.xml
+++ b/quality_control_oca/views/qc_trigger_view.xml
@@ -1,4 +1,4 @@
-
+
-
qc.trigger.form
qc.trigger
-
qc.trigger.tree
qc.trigger
-
+
-
-
diff --git a/quality_control_oca/wizard/qc_test_wizard.py b/quality_control_oca/wizard/qc_test_wizard.py
index 2332e9e40..3b60b37e6 100644
--- a/quality_control_oca/wizard/qc_test_wizard.py
+++ b/quality_control_oca/wizard/qc_test_wizard.py
@@ -14,17 +14,16 @@ class QcInspectionSetTest(models.TransientModel):
also fill in all lines of the inspection with the corresponding lines of
the template.
"""
- _name = 'qc.inspection.set.test'
- _description = 'Set test for inspection'
- test = fields.Many2one(comodel_name='qc.test', string='Test')
+ _name = "qc.inspection.set.test"
+ _description = "Set test for inspection"
+
+ test = fields.Many2one(comodel_name="qc.test", string="Test")
@api.multi
def action_create_test(self):
- inspection = self.env['qc.inspection'].browse(
- self.env.context['active_id'])
+ inspection = self.env["qc.inspection"].browse(self.env.context["active_id"])
inspection.test = self.test
inspection.inspection_lines.unlink()
- inspection.inspection_lines = inspection._prepare_inspection_lines(
- self.test)
+ inspection.inspection_lines = inspection._prepare_inspection_lines(self.test)
return True
diff --git a/quality_control_oca/wizard/qc_test_wizard_view.xml b/quality_control_oca/wizard/qc_test_wizard_view.xml
index a88467011..52d495858 100644
--- a/quality_control_oca/wizard/qc_test_wizard_view.xml
+++ b/quality_control_oca/wizard/qc_test_wizard_view.xml
@@ -1,4 +1,4 @@
-
+
-
qc.inspection.set.test.form
qc.inspection.set.test
@@ -16,19 +15,18 @@
-
Select test
ir.actions.act_window
@@ -37,5 +35,4 @@
form
new
-