@@ -2,6 +2,7 @@ openerp.gdocs = function(instance) {
|
||||
|
||||
instance.web.form.SidebarAttachments = instance.web.form.SidebarAttachments.extend({
|
||||
on_attachments_loaded: function(attachments) {
|
||||
alert('gdocs.js.on_attachments_loaded()');
|
||||
this._super(attachments);
|
||||
var self = this;
|
||||
var $gdocbtn = self.$element.find('button.gdocs');
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-extend="FormView.sidebar.attachments">
|
||||
<t t-jquery="div.oe-binary-file-set" t-operation="append">
|
||||
<button class="oe_button" type="button">
|
||||
<button class="oe-button" type="button">
|
||||
<img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/>
|
||||
<span>Add GDoc</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user