From 215411bc6cf4413941f978e4bf4d2f0658f8bd58 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Mon, 3 Nov 2025 12:06:14 +0700 Subject: uom coretax id --- indoteknik_custom/__manifest__.py | 1 + indoteknik_custom/models/__init__.py | 1 + indoteknik_custom/models/uom_uom.py | 6 ++++++ indoteknik_custom/views/uom_uom.xml | 14 ++++++++++++++ 4 files changed, 22 insertions(+) create mode 100644 indoteknik_custom/models/uom_uom.py create mode 100644 indoteknik_custom/views/uom_uom.xml diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py index 7a179ce3..cf4d4ce3 100755 --- a/indoteknik_custom/__manifest__.py +++ b/indoteknik_custom/__manifest__.py @@ -191,6 +191,7 @@ 'views/sj_tele.xml', 'views/close_tempo_mail_template.xml', 'views/domain_apo.xml', + 'views/uom_uom.xml', ], 'demo': [], 'css': [], diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py index 165dae4e..6e1ef2e0 100755 --- a/indoteknik_custom/models/__init__.py +++ b/indoteknik_custom/models/__init__.py @@ -163,3 +163,4 @@ from . import letter_receivable from . import sj_tele from . import partial_delivery from . import domain_apo +from . import uom_uom \ No newline at end of file diff --git a/indoteknik_custom/models/uom_uom.py b/indoteknik_custom/models/uom_uom.py new file mode 100644 index 00000000..32e53d73 --- /dev/null +++ b/indoteknik_custom/models/uom_uom.py @@ -0,0 +1,6 @@ +from odoo import fields, models, api, _ + +class Uom(models.Model): + _inherit = 'uom.uom' + + coretax_id = fields.Char(string='Coretax ID') diff --git a/indoteknik_custom/views/uom_uom.xml b/indoteknik_custom/views/uom_uom.xml new file mode 100644 index 00000000..a7fb55e5 --- /dev/null +++ b/indoteknik_custom/views/uom_uom.xml @@ -0,0 +1,14 @@ + + + + Uom + uom.uom + + + + + + + + + \ No newline at end of file -- cgit v1.2.3