diff --git a/rma/models/rma_tag.py b/rma/models/rma_tag.py index 23e1ca53..a56e5c23 100644 --- a/rma/models/rma_tag.py +++ b/rma/models/rma_tag.py @@ -19,6 +19,10 @@ class RmaTag(models.Model): 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 c70e1c37..35fdda12 100644 --- a/rma/views/rma_portal_templates.xml +++ b/rma/views/rma_portal_templates.xml @@ -83,6 +83,12 @@ + + + + + + diff --git a/rma/views/rma_tag_views.xml b/rma/views/rma_tag_views.xml index 203fdf3e..538b6dfb 100644 --- a/rma/views/rma_tag_views.xml +++ b/rma/views/rma_tag_views.xml @@ -22,6 +22,7 @@ + @@ -34,6 +35,7 @@ +