From b7dba2d8eed3c2af22dca53a916f12e9b842c2aa Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 31 Aug 2023 11:51:50 +0700 Subject: coa cost centre --- indoteknik_custom/models/cost_centre.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 indoteknik_custom/models/cost_centre.py (limited to 'indoteknik_custom/models/cost_centre.py') diff --git a/indoteknik_custom/models/cost_centre.py b/indoteknik_custom/models/cost_centre.py new file mode 100644 index 00000000..eaf518d5 --- /dev/null +++ b/indoteknik_custom/models/cost_centre.py @@ -0,0 +1,11 @@ +from odoo import fields, models, api +from datetime import datetime, timedelta +import logging + +_logger = logging.getLogger(__name__) + + +class CostCentre(models.Model): + _name = 'cost.centre' + name = fields.Char(string="Name") + description = fields.Text(string="Description") -- cgit v1.2.3