上传修改后的主题
This commit is contained in:
15
spiffy_theme_backend/models/pwa_shortcuts.py
Normal file
15
spiffy_theme_backend/models/pwa_shortcuts.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# See LICENSE file for full copyright and licensing details.
|
||||
# Developed by Bizople Solutions Pvt. Ltd.
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
|
||||
class PWAshortcuts(models.Model):
|
||||
_name = 'pwa.shortcuts'
|
||||
_description = "PWA Shortcuts"
|
||||
|
||||
name = fields.Char("Name", required=True)
|
||||
short_name = fields.Char("Short Name", required=True)
|
||||
url = fields.Char("URL", required=True, default='/')
|
||||
description = fields.Char("Description", required=True)
|
||||
image_192_shortcut = fields.Binary('Image 192px', readonly=False)
|
||||
Reference in New Issue
Block a user