diff --git a/rma/models/rma_tag.py b/rma/models/rma_tag.py index 9f96059e..db7d337b 100644 --- a/rma/models/rma_tag.py +++ b/rma/models/rma_tag.py @@ -13,6 +13,9 @@ class RmaTag(models.Model): help="The active field allows you to hide the category without " "removing it.", ) name = fields.Char(string="Tag Name", required=True, translate=True, copy=False,) + is_public = fields.Boolean( + string="Public Tag", help="The tag is visible in the portal view", + ) color = fields.Integer(string="Color Index") rma_ids = fields.Many2many(comodel_name="rma") diff --git a/rma/views/rma_portal_templates.xml b/rma/views/rma_portal_templates.xml index 002a5c80..a102f80d 100644 --- a/rma/views/rma_portal_templates.xml +++ b/rma/views/rma_portal_templates.xml @@ -115,6 +115,18 @@ + + + + + + + @@ -51,6 +52,7 @@ +