diff --git a/quality_control/i18n/es.po b/quality_control/i18n/es.po index 70f48e7d4..9363bdb2a 100644 --- a/quality_control/i18n/es.po +++ b/quality_control/i18n/es.po @@ -91,7 +91,7 @@ msgstr "Confirmar" #. module: quality_control #: field:qc.posible.value,ok:0 msgid "Correct answer" -msgstr "Correct answer" +msgstr "Respuesta correcta" #. module: quality_control #: field:qc.posible.value,create_uid:0 @@ -623,14 +623,8 @@ msgstr "Esperando aprobación del supervisor" #. module: quality_control #: help:qc.posible.value,ok:0 -msgid "" -"When this field is True, the answer\n" -" is correct, When is False the answer\n" -" is not correct." -msgstr "" -"Cuando este campo es verdadera, la respuesta\n" -" es correcta, cuando es falso la respuesta\n" -" es incorrecta." +msgid "When this field is marked, the answer is considered correct." +msgstr "Cuando este campo está marcado, la respuesta se considera correcta." #. module: quality_control #: view:qc.test.template.line:quality_control.qc_test_template_line_form_view diff --git a/quality_control/i18n/quality_control.pot b/quality_control/i18n/quality_control.pot index 75c5f2bfa..9b800fdcf 100644 --- a/quality_control/i18n/quality_control.pot +++ b/quality_control/i18n/quality_control.pot @@ -623,9 +623,7 @@ msgstr "" #. module: quality_control #: help:qc.posible.value,ok:0 -msgid "When this field is True, the answer\n" -" is correct, When is False the answer\n" -" is not correct." +msgid "When this field is marked, the answer is considered correct." msgstr "" #. module: quality_control diff --git a/quality_control/models/quality_control.py b/quality_control/models/quality_control.py index acfac8d53..859f8914a 100644 --- a/quality_control/models/quality_control.py +++ b/quality_control/models/quality_control.py @@ -44,7 +44,7 @@ class QcProofMethod(orm.Model): _columns = { 'name': fields.char('Name', size=100, required=True, select="1", translate=True), - 'active': fields.boolean('Active', select="1"), + 'active': fields.boolean('Active'), } _defaults = { @@ -61,11 +61,10 @@ class QcPosibleValue(orm.Model): _columns = { 'name': fields.char('Name', size=200, required=True, select="1", translate=True), - 'active': fields.boolean('Active', select="1"), + 'active': fields.boolean('Active'), 'ok': fields.boolean('Correct answer', - help="When this field is True, the answer\n" - " is correct, When is False the answer\n" - " is not correct."), + help="When this field is marked, the answer " + "is considered correct."), } _defaults = { @@ -114,7 +113,7 @@ class QcProof(orm.Model): 'name': fields.char('Name', size=200, required=True, select="1", translate=True), 'ref': fields.char('Code', size=30, select="1"), - 'active': fields.boolean('Active', select="1"), + 'active': fields.boolean('Active'), 'synonym_ids': fields.one2many('qc.proof.synonym', 'proof_id', 'Synonyms'), 'type': fields.selection([('qualitative', 'Qualitative'), @@ -128,7 +127,7 @@ class QcProof(orm.Model): } _defaults = { - 'active': lambda *a: True, + 'active': True, } _sql_constraints = [