From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/l10n_sg/models/res_company.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 addons/l10n_sg/models/res_company.py (limited to 'addons/l10n_sg/models/res_company.py') 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) -- cgit v1.2.3