summaryrefslogtreecommitdiff
path: root/addons/l10n_sg/models/res_company.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/l10n_sg/models/res_company.py')
-rw-r--r--addons/l10n_sg/models/res_company.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/l10n_sg/models/res_company.py b/addons/l10n_sg/models/res_company.py
new file mode 100644
index 00000000..e63b6621
--- /dev/null
+++ b/addons/l10n_sg/models/res_company.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+
+from odoo import fields, models
+
+class ResCompany(models.Model):
+ _name = 'res.company'
+ _description = 'Companies'
+ _inherit = 'res.company'
+
+ l10n_sg_unique_entity_number = fields.Char(string='UEN', related="partner_id.l10n_sg_unique_entity_number", readonly=False)