We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b293a commit a203becCopy full SHA for a203bec
spp_base/models/__init__.py
@@ -2,3 +2,4 @@
2
3
from . import reg_id
4
from . import spp_unique_id
5
+from . import registrant
spp_base/models/registrant.py
@@ -0,0 +1,13 @@
1
+# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
+import logging
+
+from odoo import fields, models
6
+_logger = logging.getLogger(__name__)
7
8
9
+class OpenSPPResPartner(models.Model):
10
+ _inherit = "res.partner"
11
12
+ tags_ids = fields.Many2many("g2p.registrant.tags", string="Registrant Tags")
13
+ kind_as_str = fields.Char(related="kind.name", string="String Kind")
0 commit comments