From 8d878a892f3eab49d23b161ba8916fbdb8bbb785 Mon Sep 17 00:00:00 2001 From: IT Fixcomart Date: Wed, 7 Dec 2022 11:30:46 +0700 Subject: Vendor URL di product template --- indoteknik_custom/models/product_template.py | 1 + indoteknik_custom/views/product_template.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 1e23477b..9ddaf91c 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -35,6 +35,7 @@ class ProductTemplate(models.Model): solr_flag = fields.Integer(string='Solr Flag', default=0) search_rank = fields.Integer(string='Search Rank', default=0) search_rank_weekly = fields.Integer(string='Search Rank Weekly', default=0) + supplier_url = fields.Char(string='Vendor URL') # def write(self, vals): # if 'solr_flag' not in vals and self.solr_flag == 1: diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml index 0e774012..b9b6ba0b 100755 --- a/indoteknik_custom/views/product_template.xml +++ b/indoteknik_custom/views/product_template.xml @@ -24,6 +24,9 @@ + + + -- cgit v1.2.3