Set procedure name field as translatable
This commit is contained in:
parent
3f95040f82
commit
2ba6117c29
|
@ -54,7 +54,7 @@ class YieldAllocationProcedure(ModelSQL, ModelView):
|
|||
"""Labor Yield Allocation Procedure"""
|
||||
__name__ = 'labor.yield.allocation.procedure'
|
||||
|
||||
name = fields.Char('Name', required=True, select=True)
|
||||
name = fields.Char('Name', required=True, select=True, translate=True)
|
||||
work = fields.Many2One('timesheet.work', 'Work',
|
||||
select=True, ondelete='RESTRICT',
|
||||
domain=[('yield_available', '=', True)])
|
||||
|
|
|
@ -82,6 +82,14 @@ msgctxt "model:labor.yield.allocation.procedure,name:"
|
|||
msgid "Labor Yield Allocation Procedure"
|
||||
msgstr "Procedimiento de asignación de productividad"
|
||||
|
||||
msgctxt "view:labor.yield.allocate.procedure:"
|
||||
msgid "Labor Yield Allocate"
|
||||
msgstr "Asignar Productividad"
|
||||
|
||||
msgctxt "view:labor.yield.allocation.procedure:"
|
||||
msgid "Labor Yield Allocation Procedure"
|
||||
msgstr "Procedimiento Asignación Productividad"
|
||||
|
||||
msgctxt "wizard_button:labor.yield.allocate,procedure,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
@ -89,11 +97,3 @@ msgstr "Cancelar"
|
|||
msgctxt "wizard_button:labor.yield.allocate,procedure,go_params:"
|
||||
msgid "OK"
|
||||
msgstr "Aceptar"
|
||||
|
||||
msgctxt "view:labor.yield.allocate.procedure:"
|
||||
msgid "Labor Yield Allocate"
|
||||
msgstr "Asignar Productividad"
|
||||
|
||||
msgctxt "view:labor.yield.allocation.procedure:"
|
||||
msgid "Labor Yield Allocation Procedure"
|
||||
msgstr "Procedimiento Asignación Productividad"
|
Loading…
Reference in New Issue