summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/brand_vendor.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/brand_vendor.py')
-rw-r--r--indoteknik_custom/models/brand_vendor.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/indoteknik_custom/models/brand_vendor.py b/indoteknik_custom/models/brand_vendor.py
new file mode 100644
index 00000000..0fd122ca
--- /dev/null
+++ b/indoteknik_custom/models/brand_vendor.py
@@ -0,0 +1,13 @@
+from odoo import models, fields
+import logging
+
+_logger = logging.getLogger(__name__)
+
+
+class BrandVendor(models.Model):
+ _name = 'brand.vendor'
+ _order = 'id asc'
+
+ x_manufacture_id = fields.Many2one('x_manufactures', string='Manufacture')
+ partner_id = fields.Many2one('res.partner', string='Vendor')
+ priority = fields.Integer(string='Priority', default=0)