diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-12-07 11:30:46 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-12-07 11:30:46 +0700 |
| commit | 8d878a892f3eab49d23b161ba8916fbdb8bbb785 (patch) | |
| tree | ab44b6714d38827aa9fa5e46a284e4e163d3c998 | |
| parent | 979a7368d6f3eb550d589dc4b980a3550d209d4e (diff) | |
Vendor URL di product template
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/views/product_template.xml | 3 |
2 files changed, 4 insertions, 0 deletions
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 @@ </group> </page> </page> + <field name="supplier_taxes_id" position="after"> + <field name="supplier_url" widget="url"/> + </field> </field> </record> |
