mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] quality_control: Some improvement
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user