[FIX] base: force label of ir.actions.server field crud_model_name

Avoid warning due to duplicated field labels.
This commit is contained in:
Christophe Simonis
2019-01-16 14:06:37 +01:00
parent 952f784454
commit ff2efcd1a9
+1 -1
View File
@@ -388,7 +388,7 @@ class IrActionsServer(models.Model):
# Create
crud_model_id = fields.Many2one('ir.model', string='Create/Write Target Model',
oldname='srcmodel_id', help="Model for record creation / update. Set this field only to specify a different model than the base model.")
crud_model_name = fields.Char(related='crud_model_id.model', readonly=True)
crud_model_name = fields.Char(related='crud_model_id.model', string='Target Model', readonly=True)
link_field_id = fields.Many2one('ir.model.fields', string='Link using field',
help="Provide the field used to link the newly created record "
"on the record on used by the server action.")