forked from Techsystech/web
[IMP] web_timeline: black, isort
parent
7c4bcfaaa2
commit
f424a79c97
|
@ -2,28 +2,22 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
{
|
||||
'name': "Web timeline",
|
||||
'summary': "Interactive visualization chart to show events in time",
|
||||
"name": "Web timeline",
|
||||
"summary": "Interactive visualization chart to show events in time",
|
||||
"version": "12.0.1.0.5",
|
||||
"development_status": "Production/Stable",
|
||||
'author': 'ACSONE SA/NV, '
|
||||
'Tecnativa, '
|
||||
'Monk Software, '
|
||||
'Onestein, '
|
||||
'Odoo Community Association (OCA)',
|
||||
"author": "ACSONE SA/NV, "
|
||||
"Tecnativa, "
|
||||
"Monk Software, "
|
||||
"Onestein, "
|
||||
"Odoo Community Association (OCA)",
|
||||
"category": "web",
|
||||
"license": "AGPL-3",
|
||||
"application": False,
|
||||
"installable": True,
|
||||
"website": "https://github.com/OCA/web",
|
||||
'depends': [
|
||||
'web',
|
||||
],
|
||||
'qweb': [
|
||||
'static/src/xml/web_timeline.xml',
|
||||
],
|
||||
'data': [
|
||||
'views/web_timeline.xml',
|
||||
],
|
||||
"depends": ["web"],
|
||||
"qweb": ["static/src/xml/web_timeline.xml"],
|
||||
"data": ["views/web_timeline.xml"],
|
||||
"maintainers": ["tarteo"],
|
||||
}
|
||||
|
|
|
@ -3,11 +3,10 @@
|
|||
|
||||
from openerp import fields, models
|
||||
|
||||
|
||||
TIMELINE_VIEW = ('timeline', 'Timeline')
|
||||
TIMELINE_VIEW = ("timeline", "Timeline")
|
||||
|
||||
|
||||
class IrUIView(models.Model):
|
||||
_inherit = 'ir.ui.view'
|
||||
_inherit = "ir.ui.view"
|
||||
|
||||
type = fields.Selection(selection_add=[TIMELINE_VIEW])
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="oe_timeline_view">
|
||||
<div class="oe_timeline_buttons">
|
||||
<button class="btn btn-default btn-sm oe_timeline_button_today">Today</button>
|
||||
|
||||
|
||||
<div class="btn-group btn-sm">
|
||||
<button class="btn btn-default oe_timeline_button_scale_day">Day</button>
|
||||
<button class="btn btn-default oe_timeline_button_scale_week">Week</button>
|
||||
|
|
Loading…
Reference in New Issue