summaryrefslogtreecommitdiff
path: root/v14_indoteknik/models/manufacture.py
diff options
context:
space:
mode:
Diffstat (limited to 'v14_indoteknik/models/manufacture.py')
-rw-r--r--v14_indoteknik/models/manufacture.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/v14_indoteknik/models/manufacture.py b/v14_indoteknik/models/manufacture.py
new file mode 100644
index 0000000..55ffe6f
--- /dev/null
+++ b/v14_indoteknik/models/manufacture.py
@@ -0,0 +1,26 @@
+# -*- coding: utf-8 -*-
+
+from odoo import api, fields, models, _
+from odoo.exceptions import UserError, RedirectWarning, ValidationError, except_orm, Warning
+from datetime import datetime
+
+
+class XManufacture(models.Model):
+ _name = "x.manufacture"
+
+ x_name = fields.Char('Name')
+ x_negara_asal = fields.Char('Negara Asal')
+ x_short_desc = fields.Text('Short Description')
+ x_manufacture_category = fields.Many2one('x.manufacture.category', string="Manufacture Category")
+ x_manufacture_level = fields.Selection([
+ ('Prioritas','Prioritas'),
+ ('Gold','Gold'),
+ ('Silver','Silver')
+ ], string="Manufacture Level")
+ x_produk_aksesoris_sparepart = fields.Selection([
+ ('Produk','Produk'),
+ ('Aksesoris','Aksesoris'),
+ ('Sparepart','Sparepart')
+ ], string="Jenis Produk")
+ x_description = fields.Text('Description')
+ x_logo_manufacture = fields.Binary('Logo Manufacture') \ No newline at end of file