diff options
Diffstat (limited to 'addons/product/models/product_template.py')
| -rw-r--r-- | addons/product/models/product_template.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/product/models/product_template.py b/addons/product/models/product_template.py index 9629a1f111e..9d13d1ba228 100644 --- a/addons/product/models/product_template.py +++ b/addons/product/models/product_template.py @@ -483,3 +483,10 @@ class ProductTemplate(models.Model): empty_list_help_document_name=_("product"), ) return super(ProductTemplate, self).get_empty_list_help(help) + + @api.model + def get_import_templates(self): + return [{ + 'label': _('Import Template for Products'), + 'template': '/product/static/xls/product_template.xls' + }] |
