mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP][web_timeline] Review
This commit is contained in:
committed by
Tom Blauwendraat
parent
2a5f64c717
commit
b70bcec993
@@ -14,7 +14,7 @@ http://visjs.org/timeline_examples.html
|
||||
Usage
|
||||
=====
|
||||
|
||||
Exemple:
|
||||
Example:
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
@@ -47,14 +47,19 @@ Exemple:
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
|
||||
`here <https://github.com/OCA/web/issues/new?body=module:%20web_timeline%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
Bugs are tracked on `GitHub Issues
|
||||
<https://github.com/OCA/web/issues>`_. In case of trouble, please
|
||||
check there if your issue has already been reported. If you spotted it first,
|
||||
help us smashing it by providing a detailed and welcomed feedback.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Images
|
||||
------
|
||||
|
||||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
|
||||
@@ -323,8 +323,6 @@ openerp.web_timeline = function(instance) {
|
||||
this.timeline.setGroups(groups);
|
||||
this.timeline.setItems(data);
|
||||
this.timeline.setWindow(this.current_window);
|
||||
//this.timeline.moveTo(new Date(), true);
|
||||
//this.timeline.zoom(0.5, new Date());
|
||||
},
|
||||
|
||||
do_show: function() {
|
||||
@@ -403,7 +401,6 @@ openerp.web_timeline = function(instance) {
|
||||
null,
|
||||
{readonly: true, title: title}
|
||||
);
|
||||
//pop.on('closed', self, self.reload);
|
||||
var form_controller = pop.view_form;
|
||||
form_controller.on("load_record", self, function() {
|
||||
var footer = pop.$el.closest(".modal").find(".modal-footer");
|
||||
|
||||
Reference in New Issue
Block a user