summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/cost_centre.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-08-31 11:51:50 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-08-31 11:51:50 +0700
commitb7dba2d8eed3c2af22dca53a916f12e9b842c2aa (patch)
tree3ca984df1c729378f463cedef6f6e7c95ec591da /indoteknik_custom/models/cost_centre.py
parent403b86d1a3cc168680069b0d8fc499048583da8f (diff)
coa cost centre
Diffstat (limited to 'indoteknik_custom/models/cost_centre.py')
-rw-r--r--indoteknik_custom/models/cost_centre.py11
1 files changed, 11 insertions, 0 deletions
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")